@@ -596,7 +596,7 @@ export class SubscriberClient {
596596 options . otherArgs . headers = options . otherArgs . headers || { } ;
597597 options . otherArgs . headers [ 'x-goog-request-params' ] =
598598 this . _gaxModule . routingHeader . fromParams ( {
599- name : request . name || '' ,
599+ name : request . name ?? '' ,
600600 } ) ;
601601 this . initialize ( ) ;
602602 return this . innerApiCalls . createSubscription ( request , options , callback ) ;
@@ -678,7 +678,7 @@ export class SubscriberClient {
678678 options . otherArgs . headers = options . otherArgs . headers || { } ;
679679 options . otherArgs . headers [ 'x-goog-request-params' ] =
680680 this . _gaxModule . routingHeader . fromParams ( {
681- subscription : request . subscription || '' ,
681+ subscription : request . subscription ?? '' ,
682682 } ) ;
683683 this . initialize ( ) ;
684684 return this . innerApiCalls . getSubscription ( request , options , callback ) ;
@@ -763,7 +763,7 @@ export class SubscriberClient {
763763 options . otherArgs . headers = options . otherArgs . headers || { } ;
764764 options . otherArgs . headers [ 'x-goog-request-params' ] =
765765 this . _gaxModule . routingHeader . fromParams ( {
766- 'subscription.name' : request . subscription ! . name || '' ,
766+ 'subscription.name' : request . subscription ! . name ?? '' ,
767767 } ) ;
768768 this . initialize ( ) ;
769769 return this . innerApiCalls . updateSubscription ( request , options , callback ) ;
@@ -849,7 +849,7 @@ export class SubscriberClient {
849849 options . otherArgs . headers = options . otherArgs . headers || { } ;
850850 options . otherArgs . headers [ 'x-goog-request-params' ] =
851851 this . _gaxModule . routingHeader . fromParams ( {
852- subscription : request . subscription || '' ,
852+ subscription : request . subscription ?? '' ,
853853 } ) ;
854854 this . initialize ( ) ;
855855 return this . innerApiCalls . deleteSubscription ( request , options , callback ) ;
@@ -946,7 +946,7 @@ export class SubscriberClient {
946946 options . otherArgs . headers = options . otherArgs . headers || { } ;
947947 options . otherArgs . headers [ 'x-goog-request-params' ] =
948948 this . _gaxModule . routingHeader . fromParams ( {
949- subscription : request . subscription || '' ,
949+ subscription : request . subscription ?? '' ,
950950 } ) ;
951951 this . initialize ( ) ;
952952 return this . innerApiCalls . modifyAckDeadline ( request , options , callback ) ;
@@ -1038,7 +1038,7 @@ export class SubscriberClient {
10381038 options . otherArgs . headers = options . otherArgs . headers || { } ;
10391039 options . otherArgs . headers [ 'x-goog-request-params' ] =
10401040 this . _gaxModule . routingHeader . fromParams ( {
1041- subscription : request . subscription || '' ,
1041+ subscription : request . subscription ?? '' ,
10421042 } ) ;
10431043 this . initialize ( ) ;
10441044 return this . innerApiCalls . acknowledge ( request , options , callback ) ;
@@ -1134,7 +1134,7 @@ export class SubscriberClient {
11341134 options . otherArgs . headers = options . otherArgs . headers || { } ;
11351135 options . otherArgs . headers [ 'x-goog-request-params' ] =
11361136 this . _gaxModule . routingHeader . fromParams ( {
1137- subscription : request . subscription || '' ,
1137+ subscription : request . subscription ?? '' ,
11381138 } ) ;
11391139 this . initialize ( ) ;
11401140 return this . innerApiCalls . pull ( request , options , callback ) ;
@@ -1228,7 +1228,7 @@ export class SubscriberClient {
12281228 options . otherArgs . headers = options . otherArgs . headers || { } ;
12291229 options . otherArgs . headers [ 'x-goog-request-params' ] =
12301230 this . _gaxModule . routingHeader . fromParams ( {
1231- subscription : request . subscription || '' ,
1231+ subscription : request . subscription ?? '' ,
12321232 } ) ;
12331233 this . initialize ( ) ;
12341234 return this . innerApiCalls . modifyPushConfig ( request , options , callback ) ;
@@ -1314,7 +1314,7 @@ export class SubscriberClient {
13141314 options . otherArgs . headers = options . otherArgs . headers || { } ;
13151315 options . otherArgs . headers [ 'x-goog-request-params' ] =
13161316 this . _gaxModule . routingHeader . fromParams ( {
1317- snapshot : request . snapshot || '' ,
1317+ snapshot : request . snapshot ?? '' ,
13181318 } ) ;
13191319 this . initialize ( ) ;
13201320 return this . innerApiCalls . getSnapshot ( request , options , callback ) ;
@@ -1428,7 +1428,7 @@ export class SubscriberClient {
14281428 options . otherArgs . headers = options . otherArgs . headers || { } ;
14291429 options . otherArgs . headers [ 'x-goog-request-params' ] =
14301430 this . _gaxModule . routingHeader . fromParams ( {
1431- name : request . name || '' ,
1431+ name : request . name ?? '' ,
14321432 } ) ;
14331433 this . initialize ( ) ;
14341434 return this . innerApiCalls . createSnapshot ( request , options , callback ) ;
@@ -1517,7 +1517,7 @@ export class SubscriberClient {
15171517 options . otherArgs . headers = options . otherArgs . headers || { } ;
15181518 options . otherArgs . headers [ 'x-goog-request-params' ] =
15191519 this . _gaxModule . routingHeader . fromParams ( {
1520- 'snapshot.name' : request . snapshot ! . name || '' ,
1520+ 'snapshot.name' : request . snapshot ! . name ?? '' ,
15211521 } ) ;
15221522 this . initialize ( ) ;
15231523 return this . innerApiCalls . updateSnapshot ( request , options , callback ) ;
@@ -1607,7 +1607,7 @@ export class SubscriberClient {
16071607 options . otherArgs . headers = options . otherArgs . headers || { } ;
16081608 options . otherArgs . headers [ 'x-goog-request-params' ] =
16091609 this . _gaxModule . routingHeader . fromParams ( {
1610- snapshot : request . snapshot || '' ,
1610+ snapshot : request . snapshot ?? '' ,
16111611 } ) ;
16121612 this . initialize ( ) ;
16131613 return this . innerApiCalls . deleteSnapshot ( request , options , callback ) ;
@@ -1710,7 +1710,7 @@ export class SubscriberClient {
17101710 options . otherArgs . headers = options . otherArgs . headers || { } ;
17111711 options . otherArgs . headers [ 'x-goog-request-params' ] =
17121712 this . _gaxModule . routingHeader . fromParams ( {
1713- subscription : request . subscription || '' ,
1713+ subscription : request . subscription ?? '' ,
17141714 } ) ;
17151715 this . initialize ( ) ;
17161716 return this . innerApiCalls . seek ( request , options , callback ) ;
@@ -1828,7 +1828,7 @@ export class SubscriberClient {
18281828 options . otherArgs . headers = options . otherArgs . headers || { } ;
18291829 options . otherArgs . headers [ 'x-goog-request-params' ] =
18301830 this . _gaxModule . routingHeader . fromParams ( {
1831- project : request . project || '' ,
1831+ project : request . project ?? '' ,
18321832 } ) ;
18331833 this . initialize ( ) ;
18341834 return this . innerApiCalls . listSubscriptions ( request , options , callback ) ;
@@ -1869,7 +1869,7 @@ export class SubscriberClient {
18691869 options . otherArgs . headers = options . otherArgs . headers || { } ;
18701870 options . otherArgs . headers [ 'x-goog-request-params' ] =
18711871 this . _gaxModule . routingHeader . fromParams ( {
1872- project : request . project || '' ,
1872+ project : request . project ?? '' ,
18731873 } ) ;
18741874 const defaultCallSettings = this . _defaults [ 'listSubscriptions' ] ;
18751875 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1917,7 +1917,7 @@ export class SubscriberClient {
19171917 options . otherArgs . headers = options . otherArgs . headers || { } ;
19181918 options . otherArgs . headers [ 'x-goog-request-params' ] =
19191919 this . _gaxModule . routingHeader . fromParams ( {
1920- project : request . project || '' ,
1920+ project : request . project ?? '' ,
19211921 } ) ;
19221922 const defaultCallSettings = this . _defaults [ 'listSubscriptions' ] ;
19231923 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2020,7 +2020,7 @@ export class SubscriberClient {
20202020 options . otherArgs . headers = options . otherArgs . headers || { } ;
20212021 options . otherArgs . headers [ 'x-goog-request-params' ] =
20222022 this . _gaxModule . routingHeader . fromParams ( {
2023- project : request . project || '' ,
2023+ project : request . project ?? '' ,
20242024 } ) ;
20252025 this . initialize ( ) ;
20262026 return this . innerApiCalls . listSnapshots ( request , options , callback ) ;
@@ -2061,7 +2061,7 @@ export class SubscriberClient {
20612061 options . otherArgs . headers = options . otherArgs . headers || { } ;
20622062 options . otherArgs . headers [ 'x-goog-request-params' ] =
20632063 this . _gaxModule . routingHeader . fromParams ( {
2064- project : request . project || '' ,
2064+ project : request . project ?? '' ,
20652065 } ) ;
20662066 const defaultCallSettings = this . _defaults [ 'listSnapshots' ] ;
20672067 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2109,7 +2109,7 @@ export class SubscriberClient {
21092109 options . otherArgs . headers = options . otherArgs . headers || { } ;
21102110 options . otherArgs . headers [ 'x-goog-request-params' ] =
21112111 this . _gaxModule . routingHeader . fromParams ( {
2112- project : request . project || '' ,
2112+ project : request . project ?? '' ,
21132113 } ) ;
21142114 const defaultCallSettings = this . _defaults [ 'listSnapshots' ] ;
21152115 const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments