@@ -595,7 +595,7 @@ export class DatabaseAdminClient {
595
595
options . otherArgs . headers = options . otherArgs . headers || { } ;
596
596
options . otherArgs . headers [ 'x-goog-request-params' ] =
597
597
this . _gaxModule . routingHeader . fromParams ( {
598
- name : request . name || '' ,
598
+ name : request . name ?? '' ,
599
599
} ) ;
600
600
this . initialize ( ) ;
601
601
return this . innerApiCalls . getDatabase ( request , options , callback ) ;
@@ -690,7 +690,7 @@ export class DatabaseAdminClient {
690
690
options . otherArgs . headers = options . otherArgs . headers || { } ;
691
691
options . otherArgs . headers [ 'x-goog-request-params' ] =
692
692
this . _gaxModule . routingHeader . fromParams ( {
693
- database : request . database || '' ,
693
+ database : request . database ?? '' ,
694
694
} ) ;
695
695
this . initialize ( ) ;
696
696
return this . innerApiCalls . dropDatabase ( request , options , callback ) ;
@@ -791,7 +791,7 @@ export class DatabaseAdminClient {
791
791
options . otherArgs . headers = options . otherArgs . headers || { } ;
792
792
options . otherArgs . headers [ 'x-goog-request-params' ] =
793
793
this . _gaxModule . routingHeader . fromParams ( {
794
- database : request . database || '' ,
794
+ database : request . database ?? '' ,
795
795
} ) ;
796
796
this . initialize ( ) ;
797
797
return this . innerApiCalls . getDatabaseDdl ( request , options , callback ) ;
@@ -892,7 +892,7 @@ export class DatabaseAdminClient {
892
892
options . otherArgs . headers = options . otherArgs . headers || { } ;
893
893
options . otherArgs . headers [ 'x-goog-request-params' ] =
894
894
this . _gaxModule . routingHeader . fromParams ( {
895
- resource : request . resource || '' ,
895
+ resource : request . resource ?? '' ,
896
896
} ) ;
897
897
this . initialize ( ) ;
898
898
return this . innerApiCalls . setIamPolicy ( request , options , callback ) ;
@@ -986,7 +986,7 @@ export class DatabaseAdminClient {
986
986
options . otherArgs . headers = options . otherArgs . headers || { } ;
987
987
options . otherArgs . headers [ 'x-goog-request-params' ] =
988
988
this . _gaxModule . routingHeader . fromParams ( {
989
- resource : request . resource || '' ,
989
+ resource : request . resource ?? '' ,
990
990
} ) ;
991
991
this . initialize ( ) ;
992
992
return this . innerApiCalls . getIamPolicy ( request , options , callback ) ;
@@ -1084,7 +1084,7 @@ export class DatabaseAdminClient {
1084
1084
options . otherArgs . headers = options . otherArgs . headers || { } ;
1085
1085
options . otherArgs . headers [ 'x-goog-request-params' ] =
1086
1086
this . _gaxModule . routingHeader . fromParams ( {
1087
- resource : request . resource || '' ,
1087
+ resource : request . resource ?? '' ,
1088
1088
} ) ;
1089
1089
this . initialize ( ) ;
1090
1090
return this . innerApiCalls . testIamPermissions ( request , options , callback ) ;
@@ -1177,7 +1177,7 @@ export class DatabaseAdminClient {
1177
1177
options . otherArgs . headers = options . otherArgs . headers || { } ;
1178
1178
options . otherArgs . headers [ 'x-goog-request-params' ] =
1179
1179
this . _gaxModule . routingHeader . fromParams ( {
1180
- name : request . name || '' ,
1180
+ name : request . name ?? '' ,
1181
1181
} ) ;
1182
1182
this . initialize ( ) ;
1183
1183
return this . innerApiCalls . getBackup ( request , options , callback ) ;
@@ -1277,7 +1277,7 @@ export class DatabaseAdminClient {
1277
1277
options . otherArgs . headers = options . otherArgs . headers || { } ;
1278
1278
options . otherArgs . headers [ 'x-goog-request-params' ] =
1279
1279
this . _gaxModule . routingHeader . fromParams ( {
1280
- 'backup.name' : request . backup ! . name || '' ,
1280
+ 'backup.name' : request . backup ! . name ?? '' ,
1281
1281
} ) ;
1282
1282
this . initialize ( ) ;
1283
1283
return this . innerApiCalls . updateBackup ( request , options , callback ) ;
@@ -1370,7 +1370,7 @@ export class DatabaseAdminClient {
1370
1370
options . otherArgs . headers = options . otherArgs . headers || { } ;
1371
1371
options . otherArgs . headers [ 'x-goog-request-params' ] =
1372
1372
this . _gaxModule . routingHeader . fromParams ( {
1373
- name : request . name || '' ,
1373
+ name : request . name ?? '' ,
1374
1374
} ) ;
1375
1375
this . initialize ( ) ;
1376
1376
return this . innerApiCalls . deleteBackup ( request , options , callback ) ;
@@ -1499,7 +1499,7 @@ export class DatabaseAdminClient {
1499
1499
options . otherArgs . headers = options . otherArgs . headers || { } ;
1500
1500
options . otherArgs . headers [ 'x-goog-request-params' ] =
1501
1501
this . _gaxModule . routingHeader . fromParams ( {
1502
- parent : request . parent || '' ,
1502
+ parent : request . parent ?? '' ,
1503
1503
} ) ;
1504
1504
this . initialize ( ) ;
1505
1505
return this . innerApiCalls . createDatabase ( request , options , callback ) ;
@@ -1665,7 +1665,7 @@ export class DatabaseAdminClient {
1665
1665
options . otherArgs . headers = options . otherArgs . headers || { } ;
1666
1666
options . otherArgs . headers [ 'x-goog-request-params' ] =
1667
1667
this . _gaxModule . routingHeader . fromParams ( {
1668
- database : request . database || '' ,
1668
+ database : request . database ?? '' ,
1669
1669
} ) ;
1670
1670
this . initialize ( ) ;
1671
1671
return this . innerApiCalls . updateDatabaseDdl ( request , options , callback ) ;
@@ -1831,7 +1831,7 @@ export class DatabaseAdminClient {
1831
1831
options . otherArgs . headers = options . otherArgs . headers || { } ;
1832
1832
options . otherArgs . headers [ 'x-goog-request-params' ] =
1833
1833
this . _gaxModule . routingHeader . fromParams ( {
1834
- parent : request . parent || '' ,
1834
+ parent : request . parent ?? '' ,
1835
1835
} ) ;
1836
1836
this . initialize ( ) ;
1837
1837
return this . innerApiCalls . createBackup ( request , options , callback ) ;
@@ -2004,7 +2004,7 @@ export class DatabaseAdminClient {
2004
2004
options . otherArgs . headers = options . otherArgs . headers || { } ;
2005
2005
options . otherArgs . headers [ 'x-goog-request-params' ] =
2006
2006
this . _gaxModule . routingHeader . fromParams ( {
2007
- parent : request . parent || '' ,
2007
+ parent : request . parent ?? '' ,
2008
2008
} ) ;
2009
2009
this . initialize ( ) ;
2010
2010
return this . innerApiCalls . copyBackup ( request , options , callback ) ;
@@ -2177,7 +2177,7 @@ export class DatabaseAdminClient {
2177
2177
options . otherArgs . headers = options . otherArgs . headers || { } ;
2178
2178
options . otherArgs . headers [ 'x-goog-request-params' ] =
2179
2179
this . _gaxModule . routingHeader . fromParams ( {
2180
- parent : request . parent || '' ,
2180
+ parent : request . parent ?? '' ,
2181
2181
} ) ;
2182
2182
this . initialize ( ) ;
2183
2183
return this . innerApiCalls . restoreDatabase ( request , options , callback ) ;
@@ -2314,7 +2314,7 @@ export class DatabaseAdminClient {
2314
2314
options . otherArgs . headers = options . otherArgs . headers || { } ;
2315
2315
options . otherArgs . headers [ 'x-goog-request-params' ] =
2316
2316
this . _gaxModule . routingHeader . fromParams ( {
2317
- parent : request . parent || '' ,
2317
+ parent : request . parent ?? '' ,
2318
2318
} ) ;
2319
2319
this . initialize ( ) ;
2320
2320
return this . innerApiCalls . listDatabases ( request , options , callback ) ;
@@ -2356,7 +2356,7 @@ export class DatabaseAdminClient {
2356
2356
options . otherArgs . headers = options . otherArgs . headers || { } ;
2357
2357
options . otherArgs . headers [ 'x-goog-request-params' ] =
2358
2358
this . _gaxModule . routingHeader . fromParams ( {
2359
- parent : request . parent || '' ,
2359
+ parent : request . parent ?? '' ,
2360
2360
} ) ;
2361
2361
const defaultCallSettings = this . _defaults [ 'listDatabases' ] ;
2362
2362
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2407,7 +2407,7 @@ export class DatabaseAdminClient {
2407
2407
options . otherArgs . headers = options . otherArgs . headers || { } ;
2408
2408
options . otherArgs . headers [ 'x-goog-request-params' ] =
2409
2409
this . _gaxModule . routingHeader . fromParams ( {
2410
- parent : request . parent || '' ,
2410
+ parent : request . parent ?? '' ,
2411
2411
} ) ;
2412
2412
const defaultCallSettings = this . _defaults [ 'listDatabases' ] ;
2413
2413
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2554,7 +2554,7 @@ export class DatabaseAdminClient {
2554
2554
options . otherArgs . headers = options . otherArgs . headers || { } ;
2555
2555
options . otherArgs . headers [ 'x-goog-request-params' ] =
2556
2556
this . _gaxModule . routingHeader . fromParams ( {
2557
- parent : request . parent || '' ,
2557
+ parent : request . parent ?? '' ,
2558
2558
} ) ;
2559
2559
this . initialize ( ) ;
2560
2560
return this . innerApiCalls . listBackups ( request , options , callback ) ;
@@ -2633,7 +2633,7 @@ export class DatabaseAdminClient {
2633
2633
options . otherArgs . headers = options . otherArgs . headers || { } ;
2634
2634
options . otherArgs . headers [ 'x-goog-request-params' ] =
2635
2635
this . _gaxModule . routingHeader . fromParams ( {
2636
- parent : request . parent || '' ,
2636
+ parent : request . parent ?? '' ,
2637
2637
} ) ;
2638
2638
const defaultCallSettings = this . _defaults [ 'listBackups' ] ;
2639
2639
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2721,7 +2721,7 @@ export class DatabaseAdminClient {
2721
2721
options . otherArgs . headers = options . otherArgs . headers || { } ;
2722
2722
options . otherArgs . headers [ 'x-goog-request-params' ] =
2723
2723
this . _gaxModule . routingHeader . fromParams ( {
2724
- parent : request . parent || '' ,
2724
+ parent : request . parent ?? '' ,
2725
2725
} ) ;
2726
2726
const defaultCallSettings = this . _defaults [ 'listBackups' ] ;
2727
2727
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2880,7 +2880,7 @@ export class DatabaseAdminClient {
2880
2880
options . otherArgs . headers = options . otherArgs . headers || { } ;
2881
2881
options . otherArgs . headers [ 'x-goog-request-params' ] =
2882
2882
this . _gaxModule . routingHeader . fromParams ( {
2883
- parent : request . parent || '' ,
2883
+ parent : request . parent ?? '' ,
2884
2884
} ) ;
2885
2885
this . initialize ( ) ;
2886
2886
return this . innerApiCalls . listDatabaseOperations (
@@ -2970,7 +2970,7 @@ export class DatabaseAdminClient {
2970
2970
options . otherArgs . headers = options . otherArgs . headers || { } ;
2971
2971
options . otherArgs . headers [ 'x-goog-request-params' ] =
2972
2972
this . _gaxModule . routingHeader . fromParams ( {
2973
- parent : request . parent || '' ,
2973
+ parent : request . parent ?? '' ,
2974
2974
} ) ;
2975
2975
const defaultCallSettings = this . _defaults [ 'listDatabaseOperations' ] ;
2976
2976
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -3065,7 +3065,7 @@ export class DatabaseAdminClient {
3065
3065
options . otherArgs . headers = options . otherArgs . headers || { } ;
3066
3066
options . otherArgs . headers [ 'x-goog-request-params' ] =
3067
3067
this . _gaxModule . routingHeader . fromParams ( {
3068
- parent : request . parent || '' ,
3068
+ parent : request . parent ?? '' ,
3069
3069
} ) ;
3070
3070
const defaultCallSettings = this . _defaults [ 'listDatabaseOperations' ] ;
3071
3071
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -3250,7 +3250,7 @@ export class DatabaseAdminClient {
3250
3250
options . otherArgs . headers = options . otherArgs . headers || { } ;
3251
3251
options . otherArgs . headers [ 'x-goog-request-params' ] =
3252
3252
this . _gaxModule . routingHeader . fromParams ( {
3253
- parent : request . parent || '' ,
3253
+ parent : request . parent ?? '' ,
3254
3254
} ) ;
3255
3255
this . initialize ( ) ;
3256
3256
return this . innerApiCalls . listBackupOperations ( request , options , callback ) ;
@@ -3360,7 +3360,7 @@ export class DatabaseAdminClient {
3360
3360
options . otherArgs . headers = options . otherArgs . headers || { } ;
3361
3361
options . otherArgs . headers [ 'x-goog-request-params' ] =
3362
3362
this . _gaxModule . routingHeader . fromParams ( {
3363
- parent : request . parent || '' ,
3363
+ parent : request . parent ?? '' ,
3364
3364
} ) ;
3365
3365
const defaultCallSettings = this . _defaults [ 'listBackupOperations' ] ;
3366
3366
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -3479,7 +3479,7 @@ export class DatabaseAdminClient {
3479
3479
options . otherArgs . headers = options . otherArgs . headers || { } ;
3480
3480
options . otherArgs . headers [ 'x-goog-request-params' ] =
3481
3481
this . _gaxModule . routingHeader . fromParams ( {
3482
- parent : request . parent || '' ,
3482
+ parent : request . parent ?? '' ,
3483
3483
} ) ;
3484
3484
const defaultCallSettings = this . _defaults [ 'listBackupOperations' ] ;
3485
3485
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -3588,7 +3588,7 @@ export class DatabaseAdminClient {
3588
3588
options . otherArgs . headers = options . otherArgs . headers || { } ;
3589
3589
options . otherArgs . headers [ 'x-goog-request-params' ] =
3590
3590
this . _gaxModule . routingHeader . fromParams ( {
3591
- parent : request . parent || '' ,
3591
+ parent : request . parent ?? '' ,
3592
3592
} ) ;
3593
3593
this . initialize ( ) ;
3594
3594
return this . innerApiCalls . listDatabaseRoles ( request , options , callback ) ;
@@ -3631,7 +3631,7 @@ export class DatabaseAdminClient {
3631
3631
options . otherArgs . headers = options . otherArgs . headers || { } ;
3632
3632
options . otherArgs . headers [ 'x-goog-request-params' ] =
3633
3633
this . _gaxModule . routingHeader . fromParams ( {
3634
- parent : request . parent || '' ,
3634
+ parent : request . parent ?? '' ,
3635
3635
} ) ;
3636
3636
const defaultCallSettings = this . _defaults [ 'listDatabaseRoles' ] ;
3637
3637
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -3683,7 +3683,7 @@ export class DatabaseAdminClient {
3683
3683
options . otherArgs . headers = options . otherArgs . headers || { } ;
3684
3684
options . otherArgs . headers [ 'x-goog-request-params' ] =
3685
3685
this . _gaxModule . routingHeader . fromParams ( {
3686
- parent : request . parent || '' ,
3686
+ parent : request . parent ?? '' ,
3687
3687
} ) ;
3688
3688
const defaultCallSettings = this . _defaults [ 'listDatabaseRoles' ] ;
3689
3689
const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments