@@ -534,7 +534,7 @@ export class ProductSearchClient {
534534 options . otherArgs . headers = options . otherArgs . headers || { } ;
535535 options . otherArgs . headers [ 'x-goog-request-params' ] =
536536 this . _gaxModule . routingHeader . fromParams ( {
537- parent : request . parent || '' ,
537+ parent : request . parent ?? '' ,
538538 } ) ;
539539 this . initialize ( ) ;
540540 return this . innerApiCalls . createProductSet ( request , options , callback ) ;
@@ -626,7 +626,7 @@ export class ProductSearchClient {
626626 options . otherArgs . headers = options . otherArgs . headers || { } ;
627627 options . otherArgs . headers [ 'x-goog-request-params' ] =
628628 this . _gaxModule . routingHeader . fromParams ( {
629- name : request . name || '' ,
629+ name : request . name ?? '' ,
630630 } ) ;
631631 this . initialize ( ) ;
632632 return this . innerApiCalls . getProductSet ( request , options , callback ) ;
@@ -723,7 +723,7 @@ export class ProductSearchClient {
723723 options . otherArgs . headers = options . otherArgs . headers || { } ;
724724 options . otherArgs . headers [ 'x-goog-request-params' ] =
725725 this . _gaxModule . routingHeader . fromParams ( {
726- 'product_set.name' : request . productSet ! . name || '' ,
726+ 'product_set.name' : request . productSet ! . name ?? '' ,
727727 } ) ;
728728 this . initialize ( ) ;
729729 return this . innerApiCalls . updateProductSet ( request , options , callback ) ;
@@ -814,7 +814,7 @@ export class ProductSearchClient {
814814 options . otherArgs . headers = options . otherArgs . headers || { } ;
815815 options . otherArgs . headers [ 'x-goog-request-params' ] =
816816 this . _gaxModule . routingHeader . fromParams ( {
817- name : request . name || '' ,
817+ name : request . name ?? '' ,
818818 } ) ;
819819 this . initialize ( ) ;
820820 return this . innerApiCalls . deleteProductSet ( request , options , callback ) ;
@@ -916,7 +916,7 @@ export class ProductSearchClient {
916916 options . otherArgs . headers = options . otherArgs . headers || { } ;
917917 options . otherArgs . headers [ 'x-goog-request-params' ] =
918918 this . _gaxModule . routingHeader . fromParams ( {
919- parent : request . parent || '' ,
919+ parent : request . parent ?? '' ,
920920 } ) ;
921921 this . initialize ( ) ;
922922 return this . innerApiCalls . createProduct ( request , options , callback ) ;
@@ -1006,7 +1006,7 @@ export class ProductSearchClient {
10061006 options . otherArgs . headers = options . otherArgs . headers || { } ;
10071007 options . otherArgs . headers [ 'x-goog-request-params' ] =
10081008 this . _gaxModule . routingHeader . fromParams ( {
1009- name : request . name || '' ,
1009+ name : request . name ?? '' ,
10101010 } ) ;
10111011 this . initialize ( ) ;
10121012 return this . innerApiCalls . getProduct ( request , options , callback ) ;
@@ -1112,7 +1112,7 @@ export class ProductSearchClient {
11121112 options . otherArgs . headers = options . otherArgs . headers || { } ;
11131113 options . otherArgs . headers [ 'x-goog-request-params' ] =
11141114 this . _gaxModule . routingHeader . fromParams ( {
1115- 'product.name' : request . product ! . name || '' ,
1115+ 'product.name' : request . product ! . name ?? '' ,
11161116 } ) ;
11171117 this . initialize ( ) ;
11181118 return this . innerApiCalls . updateProduct ( request , options , callback ) ;
@@ -1204,7 +1204,7 @@ export class ProductSearchClient {
12041204 options . otherArgs . headers = options . otherArgs . headers || { } ;
12051205 options . otherArgs . headers [ 'x-goog-request-params' ] =
12061206 this . _gaxModule . routingHeader . fromParams ( {
1207- name : request . name || '' ,
1207+ name : request . name ?? '' ,
12081208 } ) ;
12091209 this . initialize ( ) ;
12101210 return this . innerApiCalls . deleteProduct ( request , options , callback ) ;
@@ -1324,7 +1324,7 @@ export class ProductSearchClient {
13241324 options . otherArgs . headers = options . otherArgs . headers || { } ;
13251325 options . otherArgs . headers [ 'x-goog-request-params' ] =
13261326 this . _gaxModule . routingHeader . fromParams ( {
1327- parent : request . parent || '' ,
1327+ parent : request . parent ?? '' ,
13281328 } ) ;
13291329 this . initialize ( ) ;
13301330 return this . innerApiCalls . createReferenceImage ( request , options , callback ) ;
@@ -1424,7 +1424,7 @@ export class ProductSearchClient {
14241424 options . otherArgs . headers = options . otherArgs . headers || { } ;
14251425 options . otherArgs . headers [ 'x-goog-request-params' ] =
14261426 this . _gaxModule . routingHeader . fromParams ( {
1427- name : request . name || '' ,
1427+ name : request . name ?? '' ,
14281428 } ) ;
14291429 this . initialize ( ) ;
14301430 return this . innerApiCalls . deleteReferenceImage ( request , options , callback ) ;
@@ -1522,7 +1522,7 @@ export class ProductSearchClient {
15221522 options . otherArgs . headers = options . otherArgs . headers || { } ;
15231523 options . otherArgs . headers [ 'x-goog-request-params' ] =
15241524 this . _gaxModule . routingHeader . fromParams ( {
1525- name : request . name || '' ,
1525+ name : request . name ?? '' ,
15261526 } ) ;
15271527 this . initialize ( ) ;
15281528 return this . innerApiCalls . getReferenceImage ( request , options , callback ) ;
@@ -1628,7 +1628,7 @@ export class ProductSearchClient {
16281628 options . otherArgs . headers = options . otherArgs . headers || { } ;
16291629 options . otherArgs . headers [ 'x-goog-request-params' ] =
16301630 this . _gaxModule . routingHeader . fromParams ( {
1631- name : request . name || '' ,
1631+ name : request . name ?? '' ,
16321632 } ) ;
16331633 this . initialize ( ) ;
16341634 return this . innerApiCalls . addProductToProductSet (
@@ -1737,7 +1737,7 @@ export class ProductSearchClient {
17371737 options . otherArgs . headers = options . otherArgs . headers || { } ;
17381738 options . otherArgs . headers [ 'x-goog-request-params' ] =
17391739 this . _gaxModule . routingHeader . fromParams ( {
1740- name : request . name || '' ,
1740+ name : request . name ?? '' ,
17411741 } ) ;
17421742 this . initialize ( ) ;
17431743 return this . innerApiCalls . removeProductFromProductSet (
@@ -1859,7 +1859,7 @@ export class ProductSearchClient {
18591859 options . otherArgs . headers = options . otherArgs . headers || { } ;
18601860 options . otherArgs . headers [ 'x-goog-request-params' ] =
18611861 this . _gaxModule . routingHeader . fromParams ( {
1862- parent : request . parent || '' ,
1862+ parent : request . parent ?? '' ,
18631863 } ) ;
18641864 this . initialize ( ) ;
18651865 return this . innerApiCalls . importProductSets ( request , options , callback ) ;
@@ -2030,7 +2030,7 @@ export class ProductSearchClient {
20302030 options . otherArgs . headers = options . otherArgs . headers || { } ;
20312031 options . otherArgs . headers [ 'x-goog-request-params' ] =
20322032 this . _gaxModule . routingHeader . fromParams ( {
2033- parent : request . parent || '' ,
2033+ parent : request . parent ?? '' ,
20342034 } ) ;
20352035 this . initialize ( ) ;
20362036 return this . innerApiCalls . purgeProducts ( request , options , callback ) ;
@@ -2164,7 +2164,7 @@ export class ProductSearchClient {
21642164 options . otherArgs . headers = options . otherArgs . headers || { } ;
21652165 options . otherArgs . headers [ 'x-goog-request-params' ] =
21662166 this . _gaxModule . routingHeader . fromParams ( {
2167- parent : request . parent || '' ,
2167+ parent : request . parent ?? '' ,
21682168 } ) ;
21692169 this . initialize ( ) ;
21702170 return this . innerApiCalls . listProductSets ( request , options , callback ) ;
@@ -2204,7 +2204,7 @@ export class ProductSearchClient {
22042204 options . otherArgs . headers = options . otherArgs . headers || { } ;
22052205 options . otherArgs . headers [ 'x-goog-request-params' ] =
22062206 this . _gaxModule . routingHeader . fromParams ( {
2207- parent : request . parent || '' ,
2207+ parent : request . parent ?? '' ,
22082208 } ) ;
22092209 const defaultCallSettings = this . _defaults [ 'listProductSets' ] ;
22102210 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2253,7 +2253,7 @@ export class ProductSearchClient {
22532253 options . otherArgs . headers = options . otherArgs . headers || { } ;
22542254 options . otherArgs . headers [ 'x-goog-request-params' ] =
22552255 this . _gaxModule . routingHeader . fromParams ( {
2256- parent : request . parent || '' ,
2256+ parent : request . parent ?? '' ,
22572257 } ) ;
22582258 const defaultCallSettings = this . _defaults [ 'listProductSets' ] ;
22592259 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2358,7 +2358,7 @@ export class ProductSearchClient {
23582358 options . otherArgs . headers = options . otherArgs . headers || { } ;
23592359 options . otherArgs . headers [ 'x-goog-request-params' ] =
23602360 this . _gaxModule . routingHeader . fromParams ( {
2361- parent : request . parent || '' ,
2361+ parent : request . parent ?? '' ,
23622362 } ) ;
23632363 this . initialize ( ) ;
23642364 return this . innerApiCalls . listProducts ( request , options , callback ) ;
@@ -2399,7 +2399,7 @@ export class ProductSearchClient {
23992399 options . otherArgs . headers = options . otherArgs . headers || { } ;
24002400 options . otherArgs . headers [ 'x-goog-request-params' ] =
24012401 this . _gaxModule . routingHeader . fromParams ( {
2402- parent : request . parent || '' ,
2402+ parent : request . parent ?? '' ,
24032403 } ) ;
24042404 const defaultCallSettings = this . _defaults [ 'listProducts' ] ;
24052405 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2449,7 +2449,7 @@ export class ProductSearchClient {
24492449 options . otherArgs . headers = options . otherArgs . headers || { } ;
24502450 options . otherArgs . headers [ 'x-goog-request-params' ] =
24512451 this . _gaxModule . routingHeader . fromParams ( {
2452- parent : request . parent || '' ,
2452+ parent : request . parent ?? '' ,
24532453 } ) ;
24542454 const defaultCallSettings = this . _defaults [ 'listProducts' ] ;
24552455 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2565,7 +2565,7 @@ export class ProductSearchClient {
25652565 options . otherArgs . headers = options . otherArgs . headers || { } ;
25662566 options . otherArgs . headers [ 'x-goog-request-params' ] =
25672567 this . _gaxModule . routingHeader . fromParams ( {
2568- parent : request . parent || '' ,
2568+ parent : request . parent ?? '' ,
25692569 } ) ;
25702570 this . initialize ( ) ;
25712571 return this . innerApiCalls . listReferenceImages ( request , options , callback ) ;
@@ -2609,7 +2609,7 @@ export class ProductSearchClient {
26092609 options . otherArgs . headers = options . otherArgs . headers || { } ;
26102610 options . otherArgs . headers [ 'x-goog-request-params' ] =
26112611 this . _gaxModule . routingHeader . fromParams ( {
2612- parent : request . parent || '' ,
2612+ parent : request . parent ?? '' ,
26132613 } ) ;
26142614 const defaultCallSettings = this . _defaults [ 'listReferenceImages' ] ;
26152615 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2662,7 +2662,7 @@ export class ProductSearchClient {
26622662 options . otherArgs . headers = options . otherArgs . headers || { } ;
26632663 options . otherArgs . headers [ 'x-goog-request-params' ] =
26642664 this . _gaxModule . routingHeader . fromParams ( {
2665- parent : request . parent || '' ,
2665+ parent : request . parent ?? '' ,
26662666 } ) ;
26672667 const defaultCallSettings = this . _defaults [ 'listReferenceImages' ] ;
26682668 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2775,7 +2775,7 @@ export class ProductSearchClient {
27752775 options . otherArgs . headers = options . otherArgs . headers || { } ;
27762776 options . otherArgs . headers [ 'x-goog-request-params' ] =
27772777 this . _gaxModule . routingHeader . fromParams ( {
2778- name : request . name || '' ,
2778+ name : request . name ?? '' ,
27792779 } ) ;
27802780 this . initialize ( ) ;
27812781 return this . innerApiCalls . listProductsInProductSet (
@@ -2820,7 +2820,7 @@ export class ProductSearchClient {
28202820 options . otherArgs . headers = options . otherArgs . headers || { } ;
28212821 options . otherArgs . headers [ 'x-goog-request-params' ] =
28222822 this . _gaxModule . routingHeader . fromParams ( {
2823- name : request . name || '' ,
2823+ name : request . name ?? '' ,
28242824 } ) ;
28252825 const defaultCallSettings = this . _defaults [ 'listProductsInProductSet' ] ;
28262826 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2870,7 +2870,7 @@ export class ProductSearchClient {
28702870 options . otherArgs . headers = options . otherArgs . headers || { } ;
28712871 options . otherArgs . headers [ 'x-goog-request-params' ] =
28722872 this . _gaxModule . routingHeader . fromParams ( {
2873- name : request . name || '' ,
2873+ name : request . name ?? '' ,
28742874 } ) ;
28752875 const defaultCallSettings = this . _defaults [ 'listProductsInProductSet' ] ;
28762876 const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments