@@ -826,7 +826,7 @@ export class CertificateAuthorityServiceClient {
826
826
options . otherArgs . headers = options . otherArgs . headers || { } ;
827
827
options . otherArgs . headers [ 'x-goog-request-params' ] =
828
828
this . _gaxModule . routingHeader . fromParams ( {
829
- parent : request . parent || '' ,
829
+ parent : request . parent ?? '' ,
830
830
} ) ;
831
831
this . initialize ( ) ;
832
832
return this . innerApiCalls . createCertificate ( request , options , callback ) ;
@@ -923,7 +923,7 @@ export class CertificateAuthorityServiceClient {
923
923
options . otherArgs . headers = options . otherArgs . headers || { } ;
924
924
options . otherArgs . headers [ 'x-goog-request-params' ] =
925
925
this . _gaxModule . routingHeader . fromParams ( {
926
- name : request . name || '' ,
926
+ name : request . name ?? '' ,
927
927
} ) ;
928
928
this . initialize ( ) ;
929
929
return this . innerApiCalls . getCertificate ( request , options , callback ) ;
@@ -1038,7 +1038,7 @@ export class CertificateAuthorityServiceClient {
1038
1038
options . otherArgs . headers = options . otherArgs . headers || { } ;
1039
1039
options . otherArgs . headers [ 'x-goog-request-params' ] =
1040
1040
this . _gaxModule . routingHeader . fromParams ( {
1041
- name : request . name || '' ,
1041
+ name : request . name ?? '' ,
1042
1042
} ) ;
1043
1043
this . initialize ( ) ;
1044
1044
return this . innerApiCalls . revokeCertificate ( request , options , callback ) ;
@@ -1152,7 +1152,7 @@ export class CertificateAuthorityServiceClient {
1152
1152
options . otherArgs . headers = options . otherArgs . headers || { } ;
1153
1153
options . otherArgs . headers [ 'x-goog-request-params' ] =
1154
1154
this . _gaxModule . routingHeader . fromParams ( {
1155
- 'certificate.name' : request . certificate ! . name || '' ,
1155
+ 'certificate.name' : request . certificate ! . name ?? '' ,
1156
1156
} ) ;
1157
1157
this . initialize ( ) ;
1158
1158
return this . innerApiCalls . updateCertificate ( request , options , callback ) ;
@@ -1256,7 +1256,7 @@ export class CertificateAuthorityServiceClient {
1256
1256
options . otherArgs . headers = options . otherArgs . headers || { } ;
1257
1257
options . otherArgs . headers [ 'x-goog-request-params' ] =
1258
1258
this . _gaxModule . routingHeader . fromParams ( {
1259
- name : request . name || '' ,
1259
+ name : request . name ?? '' ,
1260
1260
} ) ;
1261
1261
this . initialize ( ) ;
1262
1262
return this . innerApiCalls . fetchCertificateAuthorityCsr (
@@ -1358,7 +1358,7 @@ export class CertificateAuthorityServiceClient {
1358
1358
options . otherArgs . headers = options . otherArgs . headers || { } ;
1359
1359
options . otherArgs . headers [ 'x-goog-request-params' ] =
1360
1360
this . _gaxModule . routingHeader . fromParams ( {
1361
- name : request . name || '' ,
1361
+ name : request . name ?? '' ,
1362
1362
} ) ;
1363
1363
this . initialize ( ) ;
1364
1364
return this . innerApiCalls . getCertificateAuthority (
@@ -1453,7 +1453,7 @@ export class CertificateAuthorityServiceClient {
1453
1453
options . otherArgs . headers = options . otherArgs . headers || { } ;
1454
1454
options . otherArgs . headers [ 'x-goog-request-params' ] =
1455
1455
this . _gaxModule . routingHeader . fromParams ( {
1456
- name : request . name || '' ,
1456
+ name : request . name ?? '' ,
1457
1457
} ) ;
1458
1458
this . initialize ( ) ;
1459
1459
return this . innerApiCalls . getCaPool ( request , options , callback ) ;
@@ -1567,7 +1567,7 @@ export class CertificateAuthorityServiceClient {
1567
1567
options . otherArgs . headers = options . otherArgs . headers || { } ;
1568
1568
options . otherArgs . headers [ 'x-goog-request-params' ] =
1569
1569
this . _gaxModule . routingHeader . fromParams ( {
1570
- ca_pool : request . caPool || '' ,
1570
+ ca_pool : request . caPool ?? '' ,
1571
1571
} ) ;
1572
1572
this . initialize ( ) ;
1573
1573
return this . innerApiCalls . fetchCaCerts ( request , options , callback ) ;
@@ -1665,7 +1665,7 @@ export class CertificateAuthorityServiceClient {
1665
1665
options . otherArgs . headers = options . otherArgs . headers || { } ;
1666
1666
options . otherArgs . headers [ 'x-goog-request-params' ] =
1667
1667
this . _gaxModule . routingHeader . fromParams ( {
1668
- name : request . name || '' ,
1668
+ name : request . name ?? '' ,
1669
1669
} ) ;
1670
1670
this . initialize ( ) ;
1671
1671
return this . innerApiCalls . getCertificateRevocationList (
@@ -1767,7 +1767,7 @@ export class CertificateAuthorityServiceClient {
1767
1767
options . otherArgs . headers = options . otherArgs . headers || { } ;
1768
1768
options . otherArgs . headers [ 'x-goog-request-params' ] =
1769
1769
this . _gaxModule . routingHeader . fromParams ( {
1770
- name : request . name || '' ,
1770
+ name : request . name ?? '' ,
1771
1771
} ) ;
1772
1772
this . initialize ( ) ;
1773
1773
return this . innerApiCalls . getCertificateTemplate (
@@ -1901,7 +1901,7 @@ export class CertificateAuthorityServiceClient {
1901
1901
options . otherArgs . headers = options . otherArgs . headers || { } ;
1902
1902
options . otherArgs . headers [ 'x-goog-request-params' ] =
1903
1903
this . _gaxModule . routingHeader . fromParams ( {
1904
- name : request . name || '' ,
1904
+ name : request . name ?? '' ,
1905
1905
} ) ;
1906
1906
this . initialize ( ) ;
1907
1907
return this . innerApiCalls . activateCertificateAuthority (
@@ -2064,7 +2064,7 @@ export class CertificateAuthorityServiceClient {
2064
2064
options . otherArgs . headers = options . otherArgs . headers || { } ;
2065
2065
options . otherArgs . headers [ 'x-goog-request-params' ] =
2066
2066
this . _gaxModule . routingHeader . fromParams ( {
2067
- parent : request . parent || '' ,
2067
+ parent : request . parent ?? '' ,
2068
2068
} ) ;
2069
2069
this . initialize ( ) ;
2070
2070
return this . innerApiCalls . createCertificateAuthority (
@@ -2221,7 +2221,7 @@ export class CertificateAuthorityServiceClient {
2221
2221
options . otherArgs . headers = options . otherArgs . headers || { } ;
2222
2222
options . otherArgs . headers [ 'x-goog-request-params' ] =
2223
2223
this . _gaxModule . routingHeader . fromParams ( {
2224
- name : request . name || '' ,
2224
+ name : request . name ?? '' ,
2225
2225
} ) ;
2226
2226
this . initialize ( ) ;
2227
2227
return this . innerApiCalls . disableCertificateAuthority (
@@ -2378,7 +2378,7 @@ export class CertificateAuthorityServiceClient {
2378
2378
options . otherArgs . headers = options . otherArgs . headers || { } ;
2379
2379
options . otherArgs . headers [ 'x-goog-request-params' ] =
2380
2380
this . _gaxModule . routingHeader . fromParams ( {
2381
- name : request . name || '' ,
2381
+ name : request . name ?? '' ,
2382
2382
} ) ;
2383
2383
this . initialize ( ) ;
2384
2384
return this . innerApiCalls . enableCertificateAuthority (
@@ -2535,7 +2535,7 @@ export class CertificateAuthorityServiceClient {
2535
2535
options . otherArgs . headers = options . otherArgs . headers || { } ;
2536
2536
options . otherArgs . headers [ 'x-goog-request-params' ] =
2537
2537
this . _gaxModule . routingHeader . fromParams ( {
2538
- name : request . name || '' ,
2538
+ name : request . name ?? '' ,
2539
2539
} ) ;
2540
2540
this . initialize ( ) ;
2541
2541
return this . innerApiCalls . undeleteCertificateAuthority (
@@ -2699,7 +2699,7 @@ export class CertificateAuthorityServiceClient {
2699
2699
options . otherArgs . headers = options . otherArgs . headers || { } ;
2700
2700
options . otherArgs . headers [ 'x-goog-request-params' ] =
2701
2701
this . _gaxModule . routingHeader . fromParams ( {
2702
- name : request . name || '' ,
2702
+ name : request . name ?? '' ,
2703
2703
} ) ;
2704
2704
this . initialize ( ) ;
2705
2705
return this . innerApiCalls . deleteCertificateAuthority (
@@ -2857,7 +2857,7 @@ export class CertificateAuthorityServiceClient {
2857
2857
options . otherArgs . headers = options . otherArgs . headers || { } ;
2858
2858
options . otherArgs . headers [ 'x-goog-request-params' ] =
2859
2859
this . _gaxModule . routingHeader . fromParams ( {
2860
- 'certificate_authority.name' : request . certificateAuthority ! . name || '' ,
2860
+ 'certificate_authority.name' : request . certificateAuthority ! . name ?? '' ,
2861
2861
} ) ;
2862
2862
this . initialize ( ) ;
2863
2863
return this . innerApiCalls . updateCertificateAuthority (
@@ -3019,7 +3019,7 @@ export class CertificateAuthorityServiceClient {
3019
3019
options . otherArgs . headers = options . otherArgs . headers || { } ;
3020
3020
options . otherArgs . headers [ 'x-goog-request-params' ] =
3021
3021
this . _gaxModule . routingHeader . fromParams ( {
3022
- parent : request . parent || '' ,
3022
+ parent : request . parent ?? '' ,
3023
3023
} ) ;
3024
3024
this . initialize ( ) ;
3025
3025
return this . innerApiCalls . createCaPool ( request , options , callback ) ;
@@ -3173,7 +3173,7 @@ export class CertificateAuthorityServiceClient {
3173
3173
options . otherArgs . headers = options . otherArgs . headers || { } ;
3174
3174
options . otherArgs . headers [ 'x-goog-request-params' ] =
3175
3175
this . _gaxModule . routingHeader . fromParams ( {
3176
- 'ca_pool.name' : request . caPool ! . name || '' ,
3176
+ 'ca_pool.name' : request . caPool ! . name ?? '' ,
3177
3177
} ) ;
3178
3178
this . initialize ( ) ;
3179
3179
return this . innerApiCalls . updateCaPool ( request , options , callback ) ;
@@ -3326,7 +3326,7 @@ export class CertificateAuthorityServiceClient {
3326
3326
options . otherArgs . headers = options . otherArgs . headers || { } ;
3327
3327
options . otherArgs . headers [ 'x-goog-request-params' ] =
3328
3328
this . _gaxModule . routingHeader . fromParams ( {
3329
- name : request . name || '' ,
3329
+ name : request . name ?? '' ,
3330
3330
} ) ;
3331
3331
this . initialize ( ) ;
3332
3332
return this . innerApiCalls . deleteCaPool ( request , options , callback ) ;
@@ -3481,7 +3481,7 @@ export class CertificateAuthorityServiceClient {
3481
3481
options . otherArgs . headers [ 'x-goog-request-params' ] =
3482
3482
this . _gaxModule . routingHeader . fromParams ( {
3483
3483
'certificate_revocation_list.name' :
3484
- request . certificateRevocationList ! . name || '' ,
3484
+ request . certificateRevocationList ! . name ?? '' ,
3485
3485
} ) ;
3486
3486
this . initialize ( ) ;
3487
3487
return this . innerApiCalls . updateCertificateRevocationList (
@@ -3644,7 +3644,7 @@ export class CertificateAuthorityServiceClient {
3644
3644
options . otherArgs . headers = options . otherArgs . headers || { } ;
3645
3645
options . otherArgs . headers [ 'x-goog-request-params' ] =
3646
3646
this . _gaxModule . routingHeader . fromParams ( {
3647
- parent : request . parent || '' ,
3647
+ parent : request . parent ?? '' ,
3648
3648
} ) ;
3649
3649
this . initialize ( ) ;
3650
3650
return this . innerApiCalls . createCertificateTemplate (
@@ -3801,7 +3801,7 @@ export class CertificateAuthorityServiceClient {
3801
3801
options . otherArgs . headers = options . otherArgs . headers || { } ;
3802
3802
options . otherArgs . headers [ 'x-goog-request-params' ] =
3803
3803
this . _gaxModule . routingHeader . fromParams ( {
3804
- name : request . name || '' ,
3804
+ name : request . name ?? '' ,
3805
3805
} ) ;
3806
3806
this . initialize ( ) ;
3807
3807
return this . innerApiCalls . deleteCertificateTemplate (
@@ -3959,7 +3959,7 @@ export class CertificateAuthorityServiceClient {
3959
3959
options . otherArgs . headers = options . otherArgs . headers || { } ;
3960
3960
options . otherArgs . headers [ 'x-goog-request-params' ] =
3961
3961
this . _gaxModule . routingHeader . fromParams ( {
3962
- 'certificate_template.name' : request . certificateTemplate ! . name || '' ,
3962
+ 'certificate_template.name' : request . certificateTemplate ! . name ?? '' ,
3963
3963
} ) ;
3964
3964
this . initialize ( ) ;
3965
3965
return this . innerApiCalls . updateCertificateTemplate (
@@ -4112,7 +4112,7 @@ export class CertificateAuthorityServiceClient {
4112
4112
options . otherArgs . headers = options . otherArgs . headers || { } ;
4113
4113
options . otherArgs . headers [ 'x-goog-request-params' ] =
4114
4114
this . _gaxModule . routingHeader . fromParams ( {
4115
- parent : request . parent || '' ,
4115
+ parent : request . parent ?? '' ,
4116
4116
} ) ;
4117
4117
this . initialize ( ) ;
4118
4118
return this . innerApiCalls . listCertificates ( request , options , callback ) ;
@@ -4166,7 +4166,7 @@ export class CertificateAuthorityServiceClient {
4166
4166
options . otherArgs . headers = options . otherArgs . headers || { } ;
4167
4167
options . otherArgs . headers [ 'x-goog-request-params' ] =
4168
4168
this . _gaxModule . routingHeader . fromParams ( {
4169
- parent : request . parent || '' ,
4169
+ parent : request . parent ?? '' ,
4170
4170
} ) ;
4171
4171
const defaultCallSettings = this . _defaults [ 'listCertificates' ] ;
4172
4172
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -4229,7 +4229,7 @@ export class CertificateAuthorityServiceClient {
4229
4229
options . otherArgs . headers = options . otherArgs . headers || { } ;
4230
4230
options . otherArgs . headers [ 'x-goog-request-params' ] =
4231
4231
this . _gaxModule . routingHeader . fromParams ( {
4232
- parent : request . parent || '' ,
4232
+ parent : request . parent ?? '' ,
4233
4233
} ) ;
4234
4234
const defaultCallSettings = this . _defaults [ 'listCertificates' ] ;
4235
4235
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -4345,7 +4345,7 @@ export class CertificateAuthorityServiceClient {
4345
4345
options . otherArgs . headers = options . otherArgs . headers || { } ;
4346
4346
options . otherArgs . headers [ 'x-goog-request-params' ] =
4347
4347
this . _gaxModule . routingHeader . fromParams ( {
4348
- parent : request . parent || '' ,
4348
+ parent : request . parent ?? '' ,
4349
4349
} ) ;
4350
4350
this . initialize ( ) ;
4351
4351
return this . innerApiCalls . listCertificateAuthorities (
@@ -4399,7 +4399,7 @@ export class CertificateAuthorityServiceClient {
4399
4399
options . otherArgs . headers = options . otherArgs . headers || { } ;
4400
4400
options . otherArgs . headers [ 'x-goog-request-params' ] =
4401
4401
this . _gaxModule . routingHeader . fromParams ( {
4402
- parent : request . parent || '' ,
4402
+ parent : request . parent ?? '' ,
4403
4403
} ) ;
4404
4404
const defaultCallSettings = this . _defaults [ 'listCertificateAuthorities' ] ;
4405
4405
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -4458,7 +4458,7 @@ export class CertificateAuthorityServiceClient {
4458
4458
options . otherArgs . headers = options . otherArgs . headers || { } ;
4459
4459
options . otherArgs . headers [ 'x-goog-request-params' ] =
4460
4460
this . _gaxModule . routingHeader . fromParams ( {
4461
- parent : request . parent || '' ,
4461
+ parent : request . parent ?? '' ,
4462
4462
} ) ;
4463
4463
const defaultCallSettings = this . _defaults [ 'listCertificateAuthorities' ] ;
4464
4464
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -4574,7 +4574,7 @@ export class CertificateAuthorityServiceClient {
4574
4574
options . otherArgs . headers = options . otherArgs . headers || { } ;
4575
4575
options . otherArgs . headers [ 'x-goog-request-params' ] =
4576
4576
this . _gaxModule . routingHeader . fromParams ( {
4577
- parent : request . parent || '' ,
4577
+ parent : request . parent ?? '' ,
4578
4578
} ) ;
4579
4579
this . initialize ( ) ;
4580
4580
return this . innerApiCalls . listCaPools ( request , options , callback ) ;
@@ -4624,7 +4624,7 @@ export class CertificateAuthorityServiceClient {
4624
4624
options . otherArgs . headers = options . otherArgs . headers || { } ;
4625
4625
options . otherArgs . headers [ 'x-goog-request-params' ] =
4626
4626
this . _gaxModule . routingHeader . fromParams ( {
4627
- parent : request . parent || '' ,
4627
+ parent : request . parent ?? '' ,
4628
4628
} ) ;
4629
4629
const defaultCallSettings = this . _defaults [ 'listCaPools' ] ;
4630
4630
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -4683,7 +4683,7 @@ export class CertificateAuthorityServiceClient {
4683
4683
options . otherArgs . headers = options . otherArgs . headers || { } ;
4684
4684
options . otherArgs . headers [ 'x-goog-request-params' ] =
4685
4685
this . _gaxModule . routingHeader . fromParams ( {
4686
- parent : request . parent || '' ,
4686
+ parent : request . parent ?? '' ,
4687
4687
} ) ;
4688
4688
const defaultCallSettings = this . _defaults [ 'listCaPools' ] ;
4689
4689
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -4799,7 +4799,7 @@ export class CertificateAuthorityServiceClient {
4799
4799
options . otherArgs . headers = options . otherArgs . headers || { } ;
4800
4800
options . otherArgs . headers [ 'x-goog-request-params' ] =
4801
4801
this . _gaxModule . routingHeader . fromParams ( {
4802
- parent : request . parent || '' ,
4802
+ parent : request . parent ?? '' ,
4803
4803
} ) ;
4804
4804
this . initialize ( ) ;
4805
4805
return this . innerApiCalls . listCertificateRevocationLists (
@@ -4853,7 +4853,7 @@ export class CertificateAuthorityServiceClient {
4853
4853
options . otherArgs . headers = options . otherArgs . headers || { } ;
4854
4854
options . otherArgs . headers [ 'x-goog-request-params' ] =
4855
4855
this . _gaxModule . routingHeader . fromParams ( {
4856
- parent : request . parent || '' ,
4856
+ parent : request . parent ?? '' ,
4857
4857
} ) ;
4858
4858
const defaultCallSettings =
4859
4859
this . _defaults [ 'listCertificateRevocationLists' ] ;
@@ -4913,7 +4913,7 @@ export class CertificateAuthorityServiceClient {
4913
4913
options . otherArgs . headers = options . otherArgs . headers || { } ;
4914
4914
options . otherArgs . headers [ 'x-goog-request-params' ] =
4915
4915
this . _gaxModule . routingHeader . fromParams ( {
4916
- parent : request . parent || '' ,
4916
+ parent : request . parent ?? '' ,
4917
4917
} ) ;
4918
4918
const defaultCallSettings =
4919
4919
this . _defaults [ 'listCertificateRevocationLists' ] ;
@@ -5030,7 +5030,7 @@ export class CertificateAuthorityServiceClient {
5030
5030
options . otherArgs . headers = options . otherArgs . headers || { } ;
5031
5031
options . otherArgs . headers [ 'x-goog-request-params' ] =
5032
5032
this . _gaxModule . routingHeader . fromParams ( {
5033
- parent : request . parent || '' ,
5033
+ parent : request . parent ?? '' ,
5034
5034
} ) ;
5035
5035
this . initialize ( ) ;
5036
5036
return this . innerApiCalls . listCertificateTemplates (
@@ -5084,7 +5084,7 @@ export class CertificateAuthorityServiceClient {
5084
5084
options . otherArgs . headers = options . otherArgs . headers || { } ;
5085
5085
options . otherArgs . headers [ 'x-goog-request-params' ] =
5086
5086
this . _gaxModule . routingHeader . fromParams ( {
5087
- parent : request . parent || '' ,
5087
+ parent : request . parent ?? '' ,
5088
5088
} ) ;
5089
5089
const defaultCallSettings = this . _defaults [ 'listCertificateTemplates' ] ;
5090
5090
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -5143,7 +5143,7 @@ export class CertificateAuthorityServiceClient {
5143
5143
options . otherArgs . headers = options . otherArgs . headers || { } ;
5144
5144
options . otherArgs . headers [ 'x-goog-request-params' ] =
5145
5145
this . _gaxModule . routingHeader . fromParams ( {
5146
- parent : request . parent || '' ,
5146
+ parent : request . parent ?? '' ,
5147
5147
} ) ;
5148
5148
const defaultCallSettings = this . _defaults [ 'listCertificateTemplates' ] ;
5149
5149
const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments