@@ -446,7 +446,7 @@ export class AdaptationClient {
446
446
options . otherArgs . headers = options . otherArgs . headers || { } ;
447
447
options . otherArgs . headers [ 'x-goog-request-params' ] =
448
448
this . _gaxModule . routingHeader . fromParams ( {
449
- parent : request . parent || '' ,
449
+ parent : request . parent ?? '' ,
450
450
} ) ;
451
451
this . initialize ( ) ;
452
452
return this . innerApiCalls . createPhraseSet ( request , options , callback ) ;
@@ -537,7 +537,7 @@ export class AdaptationClient {
537
537
options . otherArgs . headers = options . otherArgs . headers || { } ;
538
538
options . otherArgs . headers [ 'x-goog-request-params' ] =
539
539
this . _gaxModule . routingHeader . fromParams ( {
540
- name : request . name || '' ,
540
+ name : request . name ?? '' ,
541
541
} ) ;
542
542
this . initialize ( ) ;
543
543
return this . innerApiCalls . getPhraseSet ( request , options , callback ) ;
@@ -635,7 +635,7 @@ export class AdaptationClient {
635
635
options . otherArgs . headers = options . otherArgs . headers || { } ;
636
636
options . otherArgs . headers [ 'x-goog-request-params' ] =
637
637
this . _gaxModule . routingHeader . fromParams ( {
638
- 'phrase_set.name' : request . phraseSet ! . name || '' ,
638
+ 'phrase_set.name' : request . phraseSet ! . name ?? '' ,
639
639
} ) ;
640
640
this . initialize ( ) ;
641
641
return this . innerApiCalls . updatePhraseSet ( request , options , callback ) ;
@@ -722,7 +722,7 @@ export class AdaptationClient {
722
722
options . otherArgs . headers = options . otherArgs . headers || { } ;
723
723
options . otherArgs . headers [ 'x-goog-request-params' ] =
724
724
this . _gaxModule . routingHeader . fromParams ( {
725
- name : request . name || '' ,
725
+ name : request . name ?? '' ,
726
726
} ) ;
727
727
this . initialize ( ) ;
728
728
return this . innerApiCalls . deletePhraseSet ( request , options , callback ) ;
@@ -829,7 +829,7 @@ export class AdaptationClient {
829
829
options . otherArgs . headers = options . otherArgs . headers || { } ;
830
830
options . otherArgs . headers [ 'x-goog-request-params' ] =
831
831
this . _gaxModule . routingHeader . fromParams ( {
832
- parent : request . parent || '' ,
832
+ parent : request . parent ?? '' ,
833
833
} ) ;
834
834
this . initialize ( ) ;
835
835
return this . innerApiCalls . createCustomClass ( request , options , callback ) ;
@@ -916,7 +916,7 @@ export class AdaptationClient {
916
916
options . otherArgs . headers = options . otherArgs . headers || { } ;
917
917
options . otherArgs . headers [ 'x-goog-request-params' ] =
918
918
this . _gaxModule . routingHeader . fromParams ( {
919
- name : request . name || '' ,
919
+ name : request . name ?? '' ,
920
920
} ) ;
921
921
this . initialize ( ) ;
922
922
return this . innerApiCalls . getCustomClass ( request , options , callback ) ;
@@ -1020,7 +1020,7 @@ export class AdaptationClient {
1020
1020
options . otherArgs . headers = options . otherArgs . headers || { } ;
1021
1021
options . otherArgs . headers [ 'x-goog-request-params' ] =
1022
1022
this . _gaxModule . routingHeader . fromParams ( {
1023
- 'custom_class.name' : request . customClass ! . name || '' ,
1023
+ 'custom_class.name' : request . customClass ! . name ?? '' ,
1024
1024
} ) ;
1025
1025
this . initialize ( ) ;
1026
1026
return this . innerApiCalls . updateCustomClass ( request , options , callback ) ;
@@ -1119,7 +1119,7 @@ export class AdaptationClient {
1119
1119
options . otherArgs . headers = options . otherArgs . headers || { } ;
1120
1120
options . otherArgs . headers [ 'x-goog-request-params' ] =
1121
1121
this . _gaxModule . routingHeader . fromParams ( {
1122
- name : request . name || '' ,
1122
+ name : request . name ?? '' ,
1123
1123
} ) ;
1124
1124
this . initialize ( ) ;
1125
1125
return this . innerApiCalls . deleteCustomClass ( request , options , callback ) ;
@@ -1227,7 +1227,7 @@ export class AdaptationClient {
1227
1227
options . otherArgs . headers = options . otherArgs . headers || { } ;
1228
1228
options . otherArgs . headers [ 'x-goog-request-params' ] =
1229
1229
this . _gaxModule . routingHeader . fromParams ( {
1230
- parent : request . parent || '' ,
1230
+ parent : request . parent ?? '' ,
1231
1231
} ) ;
1232
1232
this . initialize ( ) ;
1233
1233
return this . innerApiCalls . listPhraseSet ( request , options , callback ) ;
@@ -1280,7 +1280,7 @@ export class AdaptationClient {
1280
1280
options . otherArgs . headers = options . otherArgs . headers || { } ;
1281
1281
options . otherArgs . headers [ 'x-goog-request-params' ] =
1282
1282
this . _gaxModule . routingHeader . fromParams ( {
1283
- parent : request . parent || '' ,
1283
+ parent : request . parent ?? '' ,
1284
1284
} ) ;
1285
1285
const defaultCallSettings = this . _defaults [ 'listPhraseSet' ] ;
1286
1286
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1342,7 +1342,7 @@ export class AdaptationClient {
1342
1342
options . otherArgs . headers = options . otherArgs . headers || { } ;
1343
1343
options . otherArgs . headers [ 'x-goog-request-params' ] =
1344
1344
this . _gaxModule . routingHeader . fromParams ( {
1345
- parent : request . parent || '' ,
1345
+ parent : request . parent ?? '' ,
1346
1346
} ) ;
1347
1347
const defaultCallSettings = this . _defaults [ 'listPhraseSet' ] ;
1348
1348
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1461,7 +1461,7 @@ export class AdaptationClient {
1461
1461
options . otherArgs . headers = options . otherArgs . headers || { } ;
1462
1462
options . otherArgs . headers [ 'x-goog-request-params' ] =
1463
1463
this . _gaxModule . routingHeader . fromParams ( {
1464
- parent : request . parent || '' ,
1464
+ parent : request . parent ?? '' ,
1465
1465
} ) ;
1466
1466
this . initialize ( ) ;
1467
1467
return this . innerApiCalls . listCustomClasses ( request , options , callback ) ;
@@ -1514,7 +1514,7 @@ export class AdaptationClient {
1514
1514
options . otherArgs . headers = options . otherArgs . headers || { } ;
1515
1515
options . otherArgs . headers [ 'x-goog-request-params' ] =
1516
1516
this . _gaxModule . routingHeader . fromParams ( {
1517
- parent : request . parent || '' ,
1517
+ parent : request . parent ?? '' ,
1518
1518
} ) ;
1519
1519
const defaultCallSettings = this . _defaults [ 'listCustomClasses' ] ;
1520
1520
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1576,7 +1576,7 @@ export class AdaptationClient {
1576
1576
options . otherArgs . headers = options . otherArgs . headers || { } ;
1577
1577
options . otherArgs . headers [ 'x-goog-request-params' ] =
1578
1578
this . _gaxModule . routingHeader . fromParams ( {
1579
- parent : request . parent || '' ,
1579
+ parent : request . parent ?? '' ,
1580
1580
} ) ;
1581
1581
const defaultCallSettings = this . _defaults [ 'listCustomClasses' ] ;
1582
1582
const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments