@@ -468,7 +468,7 @@ export class PrivateCatalogClient {
468
468
options . otherArgs . headers = options . otherArgs . headers || { } ;
469
469
options . otherArgs . headers [ 'x-goog-request-params' ] =
470
470
this . _gaxModule . routingHeader . fromParams ( {
471
- resource : request . resource || '' ,
471
+ resource : request . resource ?? '' ,
472
472
} ) ;
473
473
this . initialize ( ) ;
474
474
return this . innerApiCalls . searchCatalogs ( request , options , callback ) ;
@@ -515,7 +515,7 @@ export class PrivateCatalogClient {
515
515
options . otherArgs . headers = options . otherArgs . headers || { } ;
516
516
options . otherArgs . headers [ 'x-goog-request-params' ] =
517
517
this . _gaxModule . routingHeader . fromParams ( {
518
- resource : request . resource || '' ,
518
+ resource : request . resource ?? '' ,
519
519
} ) ;
520
520
const defaultCallSettings = this . _defaults [ 'searchCatalogs' ] ;
521
521
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -571,7 +571,7 @@ export class PrivateCatalogClient {
571
571
options . otherArgs . headers = options . otherArgs . headers || { } ;
572
572
options . otherArgs . headers [ 'x-goog-request-params' ] =
573
573
this . _gaxModule . routingHeader . fromParams ( {
574
- resource : request . resource || '' ,
574
+ resource : request . resource ?? '' ,
575
575
} ) ;
576
576
const defaultCallSettings = this . _defaults [ 'searchCatalogs' ] ;
577
577
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -686,7 +686,7 @@ export class PrivateCatalogClient {
686
686
options . otherArgs . headers = options . otherArgs . headers || { } ;
687
687
options . otherArgs . headers [ 'x-goog-request-params' ] =
688
688
this . _gaxModule . routingHeader . fromParams ( {
689
- resource : request . resource || '' ,
689
+ resource : request . resource ?? '' ,
690
690
} ) ;
691
691
this . initialize ( ) ;
692
692
return this . innerApiCalls . searchProducts ( request , options , callback ) ;
@@ -734,7 +734,7 @@ export class PrivateCatalogClient {
734
734
options . otherArgs . headers = options . otherArgs . headers || { } ;
735
735
options . otherArgs . headers [ 'x-goog-request-params' ] =
736
736
this . _gaxModule . routingHeader . fromParams ( {
737
- resource : request . resource || '' ,
737
+ resource : request . resource ?? '' ,
738
738
} ) ;
739
739
const defaultCallSettings = this . _defaults [ 'searchProducts' ] ;
740
740
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -791,7 +791,7 @@ export class PrivateCatalogClient {
791
791
options . otherArgs . headers = options . otherArgs . headers || { } ;
792
792
options . otherArgs . headers [ 'x-goog-request-params' ] =
793
793
this . _gaxModule . routingHeader . fromParams ( {
794
- resource : request . resource || '' ,
794
+ resource : request . resource ?? '' ,
795
795
} ) ;
796
796
const defaultCallSettings = this . _defaults [ 'searchProducts' ] ;
797
797
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -906,7 +906,7 @@ export class PrivateCatalogClient {
906
906
options . otherArgs . headers = options . otherArgs . headers || { } ;
907
907
options . otherArgs . headers [ 'x-goog-request-params' ] =
908
908
this . _gaxModule . routingHeader . fromParams ( {
909
- resource : request . resource || '' ,
909
+ resource : request . resource ?? '' ,
910
910
} ) ;
911
911
this . initialize ( ) ;
912
912
return this . innerApiCalls . searchVersions ( request , options , callback ) ;
@@ -954,7 +954,7 @@ export class PrivateCatalogClient {
954
954
options . otherArgs . headers = options . otherArgs . headers || { } ;
955
955
options . otherArgs . headers [ 'x-goog-request-params' ] =
956
956
this . _gaxModule . routingHeader . fromParams ( {
957
- resource : request . resource || '' ,
957
+ resource : request . resource ?? '' ,
958
958
} ) ;
959
959
const defaultCallSettings = this . _defaults [ 'searchVersions' ] ;
960
960
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1011,7 +1011,7 @@ export class PrivateCatalogClient {
1011
1011
options . otherArgs . headers = options . otherArgs . headers || { } ;
1012
1012
options . otherArgs . headers [ 'x-goog-request-params' ] =
1013
1013
this . _gaxModule . routingHeader . fromParams ( {
1014
- resource : request . resource || '' ,
1014
+ resource : request . resource ?? '' ,
1015
1015
} ) ;
1016
1016
const defaultCallSettings = this . _defaults [ 'searchVersions' ] ;
1017
1017
const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments