@@ -567,7 +567,7 @@ export class TpuClient {
567567 options . otherArgs . headers = options . otherArgs . headers || { } ;
568568 options . otherArgs . headers [ 'x-goog-request-params' ] =
569569 this . _gaxModule . routingHeader . fromParams ( {
570- name : request . name || '' ,
570+ name : request . name ?? '' ,
571571 } ) ;
572572 this . initialize ( ) ;
573573 return this . innerApiCalls . getNode ( request , options , callback ) ;
@@ -664,7 +664,7 @@ export class TpuClient {
664664 options . otherArgs . headers = options . otherArgs . headers || { } ;
665665 options . otherArgs . headers [ 'x-goog-request-params' ] =
666666 this . _gaxModule . routingHeader . fromParams ( {
667- parent : request . parent || '' ,
667+ parent : request . parent ?? '' ,
668668 } ) ;
669669 this . initialize ( ) ;
670670 return this . innerApiCalls . generateServiceIdentity (
@@ -759,7 +759,7 @@ export class TpuClient {
759759 options . otherArgs . headers = options . otherArgs . headers || { } ;
760760 options . otherArgs . headers [ 'x-goog-request-params' ] =
761761 this . _gaxModule . routingHeader . fromParams ( {
762- name : request . name || '' ,
762+ name : request . name ?? '' ,
763763 } ) ;
764764 this . initialize ( ) ;
765765 return this . innerApiCalls . getAcceleratorType ( request , options , callback ) ;
@@ -850,7 +850,7 @@ export class TpuClient {
850850 options . otherArgs . headers = options . otherArgs . headers || { } ;
851851 options . otherArgs . headers [ 'x-goog-request-params' ] =
852852 this . _gaxModule . routingHeader . fromParams ( {
853- name : request . name || '' ,
853+ name : request . name ?? '' ,
854854 } ) ;
855855 this . initialize ( ) ;
856856 return this . innerApiCalls . getRuntimeVersion ( request , options , callback ) ;
@@ -946,7 +946,7 @@ export class TpuClient {
946946 options . otherArgs . headers = options . otherArgs . headers || { } ;
947947 options . otherArgs . headers [ 'x-goog-request-params' ] =
948948 this . _gaxModule . routingHeader . fromParams ( {
949- name : request . name || '' ,
949+ name : request . name ?? '' ,
950950 } ) ;
951951 this . initialize ( ) ;
952952 return this . innerApiCalls . getGuestAttributes ( request , options , callback ) ;
@@ -1054,7 +1054,7 @@ export class TpuClient {
10541054 options . otherArgs . headers = options . otherArgs . headers || { } ;
10551055 options . otherArgs . headers [ 'x-goog-request-params' ] =
10561056 this . _gaxModule . routingHeader . fromParams ( {
1057- parent : request . parent || '' ,
1057+ parent : request . parent ?? '' ,
10581058 } ) ;
10591059 this . initialize ( ) ;
10601060 return this . innerApiCalls . createNode ( request , options , callback ) ;
@@ -1192,7 +1192,7 @@ export class TpuClient {
11921192 options . otherArgs . headers = options . otherArgs . headers || { } ;
11931193 options . otherArgs . headers [ 'x-goog-request-params' ] =
11941194 this . _gaxModule . routingHeader . fromParams ( {
1195- name : request . name || '' ,
1195+ name : request . name ?? '' ,
11961196 } ) ;
11971197 this . initialize ( ) ;
11981198 return this . innerApiCalls . deleteNode ( request , options , callback ) ;
@@ -1330,7 +1330,7 @@ export class TpuClient {
13301330 options . otherArgs . headers = options . otherArgs . headers || { } ;
13311331 options . otherArgs . headers [ 'x-goog-request-params' ] =
13321332 this . _gaxModule . routingHeader . fromParams ( {
1333- name : request . name || '' ,
1333+ name : request . name ?? '' ,
13341334 } ) ;
13351335 this . initialize ( ) ;
13361336 return this . innerApiCalls . stopNode ( request , options , callback ) ;
@@ -1468,7 +1468,7 @@ export class TpuClient {
14681468 options . otherArgs . headers = options . otherArgs . headers || { } ;
14691469 options . otherArgs . headers [ 'x-goog-request-params' ] =
14701470 this . _gaxModule . routingHeader . fromParams ( {
1471- name : request . name || '' ,
1471+ name : request . name ?? '' ,
14721472 } ) ;
14731473 this . initialize ( ) ;
14741474 return this . innerApiCalls . startNode ( request , options , callback ) ;
@@ -1609,7 +1609,7 @@ export class TpuClient {
16091609 options . otherArgs . headers = options . otherArgs . headers || { } ;
16101610 options . otherArgs . headers [ 'x-goog-request-params' ] =
16111611 this . _gaxModule . routingHeader . fromParams ( {
1612- 'node.name' : request . node ! . name || '' ,
1612+ 'node.name' : request . node ! . name ?? '' ,
16131613 } ) ;
16141614 this . initialize ( ) ;
16151615 return this . innerApiCalls . updateNode ( request , options , callback ) ;
@@ -1736,7 +1736,7 @@ export class TpuClient {
17361736 options . otherArgs . headers = options . otherArgs . headers || { } ;
17371737 options . otherArgs . headers [ 'x-goog-request-params' ] =
17381738 this . _gaxModule . routingHeader . fromParams ( {
1739- parent : request . parent || '' ,
1739+ parent : request . parent ?? '' ,
17401740 } ) ;
17411741 this . initialize ( ) ;
17421742 return this . innerApiCalls . listNodes ( request , options , callback ) ;
@@ -1774,7 +1774,7 @@ export class TpuClient {
17741774 options . otherArgs . headers = options . otherArgs . headers || { } ;
17751775 options . otherArgs . headers [ 'x-goog-request-params' ] =
17761776 this . _gaxModule . routingHeader . fromParams ( {
1777- parent : request . parent || '' ,
1777+ parent : request . parent ?? '' ,
17781778 } ) ;
17791779 const defaultCallSettings = this . _defaults [ 'listNodes' ] ;
17801780 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1821,7 +1821,7 @@ export class TpuClient {
18211821 options . otherArgs . headers = options . otherArgs . headers || { } ;
18221822 options . otherArgs . headers [ 'x-goog-request-params' ] =
18231823 this . _gaxModule . routingHeader . fromParams ( {
1824- parent : request . parent || '' ,
1824+ parent : request . parent ?? '' ,
18251825 } ) ;
18261826 const defaultCallSettings = this . _defaults [ 'listNodes' ] ;
18271827 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1929,7 +1929,7 @@ export class TpuClient {
19291929 options . otherArgs . headers = options . otherArgs . headers || { } ;
19301930 options . otherArgs . headers [ 'x-goog-request-params' ] =
19311931 this . _gaxModule . routingHeader . fromParams ( {
1932- parent : request . parent || '' ,
1932+ parent : request . parent ?? '' ,
19331933 } ) ;
19341934 this . initialize ( ) ;
19351935 return this . innerApiCalls . listAcceleratorTypes ( request , options , callback ) ;
@@ -1971,7 +1971,7 @@ export class TpuClient {
19711971 options . otherArgs . headers = options . otherArgs . headers || { } ;
19721972 options . otherArgs . headers [ 'x-goog-request-params' ] =
19731973 this . _gaxModule . routingHeader . fromParams ( {
1974- parent : request . parent || '' ,
1974+ parent : request . parent ?? '' ,
19751975 } ) ;
19761976 const defaultCallSettings = this . _defaults [ 'listAcceleratorTypes' ] ;
19771977 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2022,7 +2022,7 @@ export class TpuClient {
20222022 options . otherArgs . headers = options . otherArgs . headers || { } ;
20232023 options . otherArgs . headers [ 'x-goog-request-params' ] =
20242024 this . _gaxModule . routingHeader . fromParams ( {
2025- parent : request . parent || '' ,
2025+ parent : request . parent ?? '' ,
20262026 } ) ;
20272027 const defaultCallSettings = this . _defaults [ 'listAcceleratorTypes' ] ;
20282028 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2130,7 +2130,7 @@ export class TpuClient {
21302130 options . otherArgs . headers = options . otherArgs . headers || { } ;
21312131 options . otherArgs . headers [ 'x-goog-request-params' ] =
21322132 this . _gaxModule . routingHeader . fromParams ( {
2133- parent : request . parent || '' ,
2133+ parent : request . parent ?? '' ,
21342134 } ) ;
21352135 this . initialize ( ) ;
21362136 return this . innerApiCalls . listRuntimeVersions ( request , options , callback ) ;
@@ -2172,7 +2172,7 @@ export class TpuClient {
21722172 options . otherArgs . headers = options . otherArgs . headers || { } ;
21732173 options . otherArgs . headers [ 'x-goog-request-params' ] =
21742174 this . _gaxModule . routingHeader . fromParams ( {
2175- parent : request . parent || '' ,
2175+ parent : request . parent ?? '' ,
21762176 } ) ;
21772177 const defaultCallSettings = this . _defaults [ 'listRuntimeVersions' ] ;
21782178 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2223,7 +2223,7 @@ export class TpuClient {
22232223 options . otherArgs . headers = options . otherArgs . headers || { } ;
22242224 options . otherArgs . headers [ 'x-goog-request-params' ] =
22252225 this . _gaxModule . routingHeader . fromParams ( {
2226- parent : request . parent || '' ,
2226+ parent : request . parent ?? '' ,
22272227 } ) ;
22282228 const defaultCallSettings = this . _defaults [ 'listRuntimeVersions' ] ;
22292229 const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments