@@ -572,7 +572,7 @@ export class CloudRedisClient {
572572 options . otherArgs . headers = options . otherArgs . headers || { } ;
573573 options . otherArgs . headers [ 'x-goog-request-params' ] =
574574 this . _gaxModule . routingHeader . fromParams ( {
575- name : request . name || '' ,
575+ name : request . name ?? '' ,
576576 } ) ;
577577 this . initialize ( ) ;
578578 return this . innerApiCalls . getInstance ( request , options , callback ) ;
@@ -667,7 +667,7 @@ export class CloudRedisClient {
667667 options . otherArgs . headers = options . otherArgs . headers || { } ;
668668 options . otherArgs . headers [ 'x-goog-request-params' ] =
669669 this . _gaxModule . routingHeader . fromParams ( {
670- name : request . name || '' ,
670+ name : request . name ?? '' ,
671671 } ) ;
672672 this . initialize ( ) ;
673673 return this . innerApiCalls . getInstanceAuthString ( request , options , callback ) ;
@@ -795,7 +795,7 @@ export class CloudRedisClient {
795795 options . otherArgs . headers = options . otherArgs . headers || { } ;
796796 options . otherArgs . headers [ 'x-goog-request-params' ] =
797797 this . _gaxModule . routingHeader . fromParams ( {
798- parent : request . parent || '' ,
798+ parent : request . parent ?? '' ,
799799 } ) ;
800800 this . initialize ( ) ;
801801 return this . innerApiCalls . createInstance ( request , options , callback ) ;
@@ -948,7 +948,7 @@ export class CloudRedisClient {
948948 options . otherArgs . headers = options . otherArgs . headers || { } ;
949949 options . otherArgs . headers [ 'x-goog-request-params' ] =
950950 this . _gaxModule . routingHeader . fromParams ( {
951- 'instance.name' : request . instance ! . name || '' ,
951+ 'instance.name' : request . instance ! . name ?? '' ,
952952 } ) ;
953953 this . initialize ( ) ;
954954 return this . innerApiCalls . updateInstance ( request , options , callback ) ;
@@ -1091,7 +1091,7 @@ export class CloudRedisClient {
10911091 options . otherArgs . headers = options . otherArgs . headers || { } ;
10921092 options . otherArgs . headers [ 'x-goog-request-params' ] =
10931093 this . _gaxModule . routingHeader . fromParams ( {
1094- name : request . name || '' ,
1094+ name : request . name ?? '' ,
10951095 } ) ;
10961096 this . initialize ( ) ;
10971097 return this . innerApiCalls . upgradeInstance ( request , options , callback ) ;
@@ -1240,7 +1240,7 @@ export class CloudRedisClient {
12401240 options . otherArgs . headers = options . otherArgs . headers || { } ;
12411241 options . otherArgs . headers [ 'x-goog-request-params' ] =
12421242 this . _gaxModule . routingHeader . fromParams ( {
1243- name : request . name || '' ,
1243+ name : request . name ?? '' ,
12441244 } ) ;
12451245 this . initialize ( ) ;
12461246 return this . innerApiCalls . importInstance ( request , options , callback ) ;
@@ -1387,7 +1387,7 @@ export class CloudRedisClient {
13871387 options . otherArgs . headers = options . otherArgs . headers || { } ;
13881388 options . otherArgs . headers [ 'x-goog-request-params' ] =
13891389 this . _gaxModule . routingHeader . fromParams ( {
1390- name : request . name || '' ,
1390+ name : request . name ?? '' ,
13911391 } ) ;
13921392 this . initialize ( ) ;
13931393 return this . innerApiCalls . exportInstance ( request , options , callback ) ;
@@ -1531,7 +1531,7 @@ export class CloudRedisClient {
15311531 options . otherArgs . headers = options . otherArgs . headers || { } ;
15321532 options . otherArgs . headers [ 'x-goog-request-params' ] =
15331533 this . _gaxModule . routingHeader . fromParams ( {
1534- name : request . name || '' ,
1534+ name : request . name ?? '' ,
15351535 } ) ;
15361536 this . initialize ( ) ;
15371537 return this . innerApiCalls . failoverInstance ( request , options , callback ) ;
@@ -1672,7 +1672,7 @@ export class CloudRedisClient {
16721672 options . otherArgs . headers = options . otherArgs . headers || { } ;
16731673 options . otherArgs . headers [ 'x-goog-request-params' ] =
16741674 this . _gaxModule . routingHeader . fromParams ( {
1675- name : request . name || '' ,
1675+ name : request . name ?? '' ,
16761676 } ) ;
16771677 this . initialize ( ) ;
16781678 return this . innerApiCalls . deleteInstance ( request , options , callback ) ;
@@ -1819,7 +1819,7 @@ export class CloudRedisClient {
18191819 options . otherArgs . headers = options . otherArgs . headers || { } ;
18201820 options . otherArgs . headers [ 'x-goog-request-params' ] =
18211821 this . _gaxModule . routingHeader . fromParams ( {
1822- name : request . name || '' ,
1822+ name : request . name ?? '' ,
18231823 } ) ;
18241824 this . initialize ( ) ;
18251825 return this . innerApiCalls . rescheduleMaintenance ( request , options , callback ) ;
@@ -1963,7 +1963,7 @@ export class CloudRedisClient {
19631963 options . otherArgs . headers = options . otherArgs . headers || { } ;
19641964 options . otherArgs . headers [ 'x-goog-request-params' ] =
19651965 this . _gaxModule . routingHeader . fromParams ( {
1966- parent : request . parent || '' ,
1966+ parent : request . parent ?? '' ,
19671967 } ) ;
19681968 this . initialize ( ) ;
19691969 return this . innerApiCalls . listInstances ( request , options , callback ) ;
@@ -2010,7 +2010,7 @@ export class CloudRedisClient {
20102010 options . otherArgs . headers = options . otherArgs . headers || { } ;
20112011 options . otherArgs . headers [ 'x-goog-request-params' ] =
20122012 this . _gaxModule . routingHeader . fromParams ( {
2013- parent : request . parent || '' ,
2013+ parent : request . parent ?? '' ,
20142014 } ) ;
20152015 const defaultCallSettings = this . _defaults [ 'listInstances' ] ;
20162016 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2066,7 +2066,7 @@ export class CloudRedisClient {
20662066 options . otherArgs . headers = options . otherArgs . headers || { } ;
20672067 options . otherArgs . headers [ 'x-goog-request-params' ] =
20682068 this . _gaxModule . routingHeader . fromParams ( {
2069- parent : request . parent || '' ,
2069+ parent : request . parent ?? '' ,
20702070 } ) ;
20712071 const defaultCallSettings = this . _defaults [ 'listInstances' ] ;
20722072 const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments