@@ -446,7 +446,7 @@ export class AdaptationClient {
446446 options . otherArgs . headers = options . otherArgs . headers || { } ;
447447 options . otherArgs . headers [ 'x-goog-request-params' ] =
448448 this . _gaxModule . routingHeader . fromParams ( {
449- parent : request . parent || '' ,
449+ parent : request . parent ?? '' ,
450450 } ) ;
451451 this . initialize ( ) ;
452452 return this . innerApiCalls . createPhraseSet ( request , options , callback ) ;
@@ -537,7 +537,7 @@ export class AdaptationClient {
537537 options . otherArgs . headers = options . otherArgs . headers || { } ;
538538 options . otherArgs . headers [ 'x-goog-request-params' ] =
539539 this . _gaxModule . routingHeader . fromParams ( {
540- name : request . name || '' ,
540+ name : request . name ?? '' ,
541541 } ) ;
542542 this . initialize ( ) ;
543543 return this . innerApiCalls . getPhraseSet ( request , options , callback ) ;
@@ -635,7 +635,7 @@ export class AdaptationClient {
635635 options . otherArgs . headers = options . otherArgs . headers || { } ;
636636 options . otherArgs . headers [ 'x-goog-request-params' ] =
637637 this . _gaxModule . routingHeader . fromParams ( {
638- 'phrase_set.name' : request . phraseSet ! . name || '' ,
638+ 'phrase_set.name' : request . phraseSet ! . name ?? '' ,
639639 } ) ;
640640 this . initialize ( ) ;
641641 return this . innerApiCalls . updatePhraseSet ( request , options , callback ) ;
@@ -722,7 +722,7 @@ export class AdaptationClient {
722722 options . otherArgs . headers = options . otherArgs . headers || { } ;
723723 options . otherArgs . headers [ 'x-goog-request-params' ] =
724724 this . _gaxModule . routingHeader . fromParams ( {
725- name : request . name || '' ,
725+ name : request . name ?? '' ,
726726 } ) ;
727727 this . initialize ( ) ;
728728 return this . innerApiCalls . deletePhraseSet ( request , options , callback ) ;
@@ -829,7 +829,7 @@ export class AdaptationClient {
829829 options . otherArgs . headers = options . otherArgs . headers || { } ;
830830 options . otherArgs . headers [ 'x-goog-request-params' ] =
831831 this . _gaxModule . routingHeader . fromParams ( {
832- parent : request . parent || '' ,
832+ parent : request . parent ?? '' ,
833833 } ) ;
834834 this . initialize ( ) ;
835835 return this . innerApiCalls . createCustomClass ( request , options , callback ) ;
@@ -916,7 +916,7 @@ export class AdaptationClient {
916916 options . otherArgs . headers = options . otherArgs . headers || { } ;
917917 options . otherArgs . headers [ 'x-goog-request-params' ] =
918918 this . _gaxModule . routingHeader . fromParams ( {
919- name : request . name || '' ,
919+ name : request . name ?? '' ,
920920 } ) ;
921921 this . initialize ( ) ;
922922 return this . innerApiCalls . getCustomClass ( request , options , callback ) ;
@@ -1020,7 +1020,7 @@ export class AdaptationClient {
10201020 options . otherArgs . headers = options . otherArgs . headers || { } ;
10211021 options . otherArgs . headers [ 'x-goog-request-params' ] =
10221022 this . _gaxModule . routingHeader . fromParams ( {
1023- 'custom_class.name' : request . customClass ! . name || '' ,
1023+ 'custom_class.name' : request . customClass ! . name ?? '' ,
10241024 } ) ;
10251025 this . initialize ( ) ;
10261026 return this . innerApiCalls . updateCustomClass ( request , options , callback ) ;
@@ -1119,7 +1119,7 @@ export class AdaptationClient {
11191119 options . otherArgs . headers = options . otherArgs . headers || { } ;
11201120 options . otherArgs . headers [ 'x-goog-request-params' ] =
11211121 this . _gaxModule . routingHeader . fromParams ( {
1122- name : request . name || '' ,
1122+ name : request . name ?? '' ,
11231123 } ) ;
11241124 this . initialize ( ) ;
11251125 return this . innerApiCalls . deleteCustomClass ( request , options , callback ) ;
@@ -1227,7 +1227,7 @@ export class AdaptationClient {
12271227 options . otherArgs . headers = options . otherArgs . headers || { } ;
12281228 options . otherArgs . headers [ 'x-goog-request-params' ] =
12291229 this . _gaxModule . routingHeader . fromParams ( {
1230- parent : request . parent || '' ,
1230+ parent : request . parent ?? '' ,
12311231 } ) ;
12321232 this . initialize ( ) ;
12331233 return this . innerApiCalls . listPhraseSet ( request , options , callback ) ;
@@ -1280,7 +1280,7 @@ export class AdaptationClient {
12801280 options . otherArgs . headers = options . otherArgs . headers || { } ;
12811281 options . otherArgs . headers [ 'x-goog-request-params' ] =
12821282 this . _gaxModule . routingHeader . fromParams ( {
1283- parent : request . parent || '' ,
1283+ parent : request . parent ?? '' ,
12841284 } ) ;
12851285 const defaultCallSettings = this . _defaults [ 'listPhraseSet' ] ;
12861286 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1342,7 +1342,7 @@ export class AdaptationClient {
13421342 options . otherArgs . headers = options . otherArgs . headers || { } ;
13431343 options . otherArgs . headers [ 'x-goog-request-params' ] =
13441344 this . _gaxModule . routingHeader . fromParams ( {
1345- parent : request . parent || '' ,
1345+ parent : request . parent ?? '' ,
13461346 } ) ;
13471347 const defaultCallSettings = this . _defaults [ 'listPhraseSet' ] ;
13481348 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1461,7 +1461,7 @@ export class AdaptationClient {
14611461 options . otherArgs . headers = options . otherArgs . headers || { } ;
14621462 options . otherArgs . headers [ 'x-goog-request-params' ] =
14631463 this . _gaxModule . routingHeader . fromParams ( {
1464- parent : request . parent || '' ,
1464+ parent : request . parent ?? '' ,
14651465 } ) ;
14661466 this . initialize ( ) ;
14671467 return this . innerApiCalls . listCustomClasses ( request , options , callback ) ;
@@ -1514,7 +1514,7 @@ export class AdaptationClient {
15141514 options . otherArgs . headers = options . otherArgs . headers || { } ;
15151515 options . otherArgs . headers [ 'x-goog-request-params' ] =
15161516 this . _gaxModule . routingHeader . fromParams ( {
1517- parent : request . parent || '' ,
1517+ parent : request . parent ?? '' ,
15181518 } ) ;
15191519 const defaultCallSettings = this . _defaults [ 'listCustomClasses' ] ;
15201520 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1576,7 +1576,7 @@ export class AdaptationClient {
15761576 options . otherArgs . headers = options . otherArgs . headers || { } ;
15771577 options . otherArgs . headers [ 'x-goog-request-params' ] =
15781578 this . _gaxModule . routingHeader . fromParams ( {
1579- parent : request . parent || '' ,
1579+ parent : request . parent ?? '' ,
15801580 } ) ;
15811581 const defaultCallSettings = this . _defaults [ 'listCustomClasses' ] ;
15821582 const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments