@@ -436,7 +436,7 @@ export class ConnectionServiceClient {
436
436
options . otherArgs . headers = options . otherArgs . headers || { } ;
437
437
options . otherArgs . headers [ 'x-goog-request-params' ] =
438
438
this . _gaxModule . routingHeader . fromParams ( {
439
- parent : request . parent || '' ,
439
+ parent : request . parent ?? '' ,
440
440
} ) ;
441
441
this . initialize ( ) ;
442
442
return this . innerApiCalls . createConnection ( request , options , callback ) ;
@@ -534,7 +534,7 @@ export class ConnectionServiceClient {
534
534
options . otherArgs . headers = options . otherArgs . headers || { } ;
535
535
options . otherArgs . headers [ 'x-goog-request-params' ] =
536
536
this . _gaxModule . routingHeader . fromParams ( {
537
- name : request . name || '' ,
537
+ name : request . name ?? '' ,
538
538
} ) ;
539
539
this . initialize ( ) ;
540
540
return this . innerApiCalls . getConnection ( request , options , callback ) ;
@@ -637,7 +637,7 @@ export class ConnectionServiceClient {
637
637
options . otherArgs . headers = options . otherArgs . headers || { } ;
638
638
options . otherArgs . headers [ 'x-goog-request-params' ] =
639
639
this . _gaxModule . routingHeader . fromParams ( {
640
- name : request . name || '' ,
640
+ name : request . name ?? '' ,
641
641
} ) ;
642
642
this . initialize ( ) ;
643
643
return this . innerApiCalls . updateConnection ( request , options , callback ) ;
@@ -735,7 +735,7 @@ export class ConnectionServiceClient {
735
735
options . otherArgs . headers = options . otherArgs . headers || { } ;
736
736
options . otherArgs . headers [ 'x-goog-request-params' ] =
737
737
this . _gaxModule . routingHeader . fromParams ( {
738
- name : request . name || '' ,
738
+ name : request . name ?? '' ,
739
739
} ) ;
740
740
this . initialize ( ) ;
741
741
return this . innerApiCalls . deleteConnection ( request , options , callback ) ;
@@ -824,7 +824,7 @@ export class ConnectionServiceClient {
824
824
options . otherArgs . headers = options . otherArgs . headers || { } ;
825
825
options . otherArgs . headers [ 'x-goog-request-params' ] =
826
826
this . _gaxModule . routingHeader . fromParams ( {
827
- resource : request . resource || '' ,
827
+ resource : request . resource ?? '' ,
828
828
} ) ;
829
829
this . initialize ( ) ;
830
830
return this . innerApiCalls . getIamPolicy ( request , options , callback ) ;
@@ -922,7 +922,7 @@ export class ConnectionServiceClient {
922
922
options . otherArgs . headers = options . otherArgs . headers || { } ;
923
923
options . otherArgs . headers [ 'x-goog-request-params' ] =
924
924
this . _gaxModule . routingHeader . fromParams ( {
925
- resource : request . resource || '' ,
925
+ resource : request . resource ?? '' ,
926
926
} ) ;
927
927
this . initialize ( ) ;
928
928
return this . innerApiCalls . setIamPolicy ( request , options , callback ) ;
@@ -1017,7 +1017,7 @@ export class ConnectionServiceClient {
1017
1017
options . otherArgs . headers = options . otherArgs . headers || { } ;
1018
1018
options . otherArgs . headers [ 'x-goog-request-params' ] =
1019
1019
this . _gaxModule . routingHeader . fromParams ( {
1020
- resource : request . resource || '' ,
1020
+ resource : request . resource ?? '' ,
1021
1021
} ) ;
1022
1022
this . initialize ( ) ;
1023
1023
return this . innerApiCalls . testIamPermissions ( request , options , callback ) ;
@@ -1117,7 +1117,7 @@ export class ConnectionServiceClient {
1117
1117
options . otherArgs . headers = options . otherArgs . headers || { } ;
1118
1118
options . otherArgs . headers [ 'x-goog-request-params' ] =
1119
1119
this . _gaxModule . routingHeader . fromParams ( {
1120
- parent : request . parent || '' ,
1120
+ parent : request . parent ?? '' ,
1121
1121
} ) ;
1122
1122
this . initialize ( ) ;
1123
1123
return this . innerApiCalls . listConnections ( request , options , callback ) ;
@@ -1156,7 +1156,7 @@ export class ConnectionServiceClient {
1156
1156
options . otherArgs . headers = options . otherArgs . headers || { } ;
1157
1157
options . otherArgs . headers [ 'x-goog-request-params' ] =
1158
1158
this . _gaxModule . routingHeader . fromParams ( {
1159
- parent : request . parent || '' ,
1159
+ parent : request . parent ?? '' ,
1160
1160
} ) ;
1161
1161
const defaultCallSettings = this . _defaults [ 'listConnections' ] ;
1162
1162
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1204,7 +1204,7 @@ export class ConnectionServiceClient {
1204
1204
options . otherArgs . headers = options . otherArgs . headers || { } ;
1205
1205
options . otherArgs . headers [ 'x-goog-request-params' ] =
1206
1206
this . _gaxModule . routingHeader . fromParams ( {
1207
- parent : request . parent || '' ,
1207
+ parent : request . parent ?? '' ,
1208
1208
} ) ;
1209
1209
const defaultCallSettings = this . _defaults [ 'listConnections' ] ;
1210
1210
const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments