@@ -443,7 +443,7 @@ export class CloudTasksClient {
443443 options . otherArgs . headers = options . otherArgs . headers || { } ;
444444 options . otherArgs . headers [ 'x-goog-request-params' ] =
445445 this . _gaxModule . routingHeader . fromParams ( {
446- name : request . name || '' ,
446+ name : request . name ?? '' ,
447447 } ) ;
448448 this . initialize ( ) ;
449449 return this . innerApiCalls . getQueue ( request , options , callback ) ;
@@ -548,7 +548,7 @@ export class CloudTasksClient {
548548 options . otherArgs . headers = options . otherArgs . headers || { } ;
549549 options . otherArgs . headers [ 'x-goog-request-params' ] =
550550 this . _gaxModule . routingHeader . fromParams ( {
551- parent : request . parent || '' ,
551+ parent : request . parent ?? '' ,
552552 } ) ;
553553 this . initialize ( ) ;
554554 return this . innerApiCalls . createQueue ( request , options , callback ) ;
@@ -657,7 +657,7 @@ export class CloudTasksClient {
657657 options . otherArgs . headers = options . otherArgs . headers || { } ;
658658 options . otherArgs . headers [ 'x-goog-request-params' ] =
659659 this . _gaxModule . routingHeader . fromParams ( {
660- 'queue.name' : request . queue ! . name || '' ,
660+ 'queue.name' : request . queue ! . name ?? '' ,
661661 } ) ;
662662 this . initialize ( ) ;
663663 return this . innerApiCalls . updateQueue ( request , options , callback ) ;
@@ -755,7 +755,7 @@ export class CloudTasksClient {
755755 options . otherArgs . headers = options . otherArgs . headers || { } ;
756756 options . otherArgs . headers [ 'x-goog-request-params' ] =
757757 this . _gaxModule . routingHeader . fromParams ( {
758- name : request . name || '' ,
758+ name : request . name ?? '' ,
759759 } ) ;
760760 this . initialize ( ) ;
761761 return this . innerApiCalls . deleteQueue ( request , options , callback ) ;
@@ -846,7 +846,7 @@ export class CloudTasksClient {
846846 options . otherArgs . headers = options . otherArgs . headers || { } ;
847847 options . otherArgs . headers [ 'x-goog-request-params' ] =
848848 this . _gaxModule . routingHeader . fromParams ( {
849- name : request . name || '' ,
849+ name : request . name ?? '' ,
850850 } ) ;
851851 this . initialize ( ) ;
852852 return this . innerApiCalls . purgeQueue ( request , options , callback ) ;
@@ -938,7 +938,7 @@ export class CloudTasksClient {
938938 options . otherArgs . headers = options . otherArgs . headers || { } ;
939939 options . otherArgs . headers [ 'x-goog-request-params' ] =
940940 this . _gaxModule . routingHeader . fromParams ( {
941- name : request . name || '' ,
941+ name : request . name ?? '' ,
942942 } ) ;
943943 this . initialize ( ) ;
944944 return this . innerApiCalls . pauseQueue ( request , options , callback ) ;
@@ -1036,7 +1036,7 @@ export class CloudTasksClient {
10361036 options . otherArgs . headers = options . otherArgs . headers || { } ;
10371037 options . otherArgs . headers [ 'x-goog-request-params' ] =
10381038 this . _gaxModule . routingHeader . fromParams ( {
1039- name : request . name || '' ,
1039+ name : request . name ?? '' ,
10401040 } ) ;
10411041 this . initialize ( ) ;
10421042 return this . innerApiCalls . resumeQueue ( request , options , callback ) ;
@@ -1131,7 +1131,7 @@ export class CloudTasksClient {
11311131 options . otherArgs . headers = options . otherArgs . headers || { } ;
11321132 options . otherArgs . headers [ 'x-goog-request-params' ] =
11331133 this . _gaxModule . routingHeader . fromParams ( {
1134- resource : request . resource || '' ,
1134+ resource : request . resource ?? '' ,
11351135 } ) ;
11361136 this . initialize ( ) ;
11371137 return this . innerApiCalls . getIamPolicy ( request , options , callback ) ;
@@ -1236,7 +1236,7 @@ export class CloudTasksClient {
12361236 options . otherArgs . headers = options . otherArgs . headers || { } ;
12371237 options . otherArgs . headers [ 'x-goog-request-params' ] =
12381238 this . _gaxModule . routingHeader . fromParams ( {
1239- resource : request . resource || '' ,
1239+ resource : request . resource ?? '' ,
12401240 } ) ;
12411241 this . initialize ( ) ;
12421242 return this . innerApiCalls . setIamPolicy ( request , options , callback ) ;
@@ -1331,7 +1331,7 @@ export class CloudTasksClient {
13311331 options . otherArgs . headers = options . otherArgs . headers || { } ;
13321332 options . otherArgs . headers [ 'x-goog-request-params' ] =
13331333 this . _gaxModule . routingHeader . fromParams ( {
1334- resource : request . resource || '' ,
1334+ resource : request . resource ?? '' ,
13351335 } ) ;
13361336 this . initialize ( ) ;
13371337 return this . innerApiCalls . testIamPermissions ( request , options , callback ) ;
@@ -1428,7 +1428,7 @@ export class CloudTasksClient {
14281428 options . otherArgs . headers = options . otherArgs . headers || { } ;
14291429 options . otherArgs . headers [ 'x-goog-request-params' ] =
14301430 this . _gaxModule . routingHeader . fromParams ( {
1431- name : request . name || '' ,
1431+ name : request . name ?? '' ,
14321432 } ) ;
14331433 this . initialize ( ) ;
14341434 return this . innerApiCalls . getTask ( request , options , callback ) ;
@@ -1569,7 +1569,7 @@ export class CloudTasksClient {
15691569 options . otherArgs . headers = options . otherArgs . headers || { } ;
15701570 options . otherArgs . headers [ 'x-goog-request-params' ] =
15711571 this . _gaxModule . routingHeader . fromParams ( {
1572- parent : request . parent || '' ,
1572+ parent : request . parent ?? '' ,
15731573 } ) ;
15741574 this . initialize ( ) ;
15751575 return this . innerApiCalls . createTask ( request , options , callback ) ;
@@ -1659,7 +1659,7 @@ export class CloudTasksClient {
16591659 options . otherArgs . headers = options . otherArgs . headers || { } ;
16601660 options . otherArgs . headers [ 'x-goog-request-params' ] =
16611661 this . _gaxModule . routingHeader . fromParams ( {
1662- name : request . name || '' ,
1662+ name : request . name ?? '' ,
16631663 } ) ;
16641664 this . initialize ( ) ;
16651665 return this . innerApiCalls . deleteTask ( request , options , callback ) ;
@@ -1840,7 +1840,7 @@ export class CloudTasksClient {
18401840 options . otherArgs . headers = options . otherArgs . headers || { } ;
18411841 options . otherArgs . headers [ 'x-goog-request-params' ] =
18421842 this . _gaxModule . routingHeader . fromParams ( {
1843- parent : request . parent || '' ,
1843+ parent : request . parent ?? '' ,
18441844 } ) ;
18451845 this . initialize ( ) ;
18461846 return this . innerApiCalls . leaseTasks ( request , options , callback ) ;
@@ -1950,7 +1950,7 @@ export class CloudTasksClient {
19501950 options . otherArgs . headers = options . otherArgs . headers || { } ;
19511951 options . otherArgs . headers [ 'x-goog-request-params' ] =
19521952 this . _gaxModule . routingHeader . fromParams ( {
1953- name : request . name || '' ,
1953+ name : request . name ?? '' ,
19541954 } ) ;
19551955 this . initialize ( ) ;
19561956 return this . innerApiCalls . acknowledgeTask ( request , options , callback ) ;
@@ -2065,7 +2065,7 @@ export class CloudTasksClient {
20652065 options . otherArgs . headers = options . otherArgs . headers || { } ;
20662066 options . otherArgs . headers [ 'x-goog-request-params' ] =
20672067 this . _gaxModule . routingHeader . fromParams ( {
2068- name : request . name || '' ,
2068+ name : request . name ?? '' ,
20692069 } ) ;
20702070 this . initialize ( ) ;
20712071 return this . innerApiCalls . renewLease ( request , options , callback ) ;
@@ -2175,7 +2175,7 @@ export class CloudTasksClient {
21752175 options . otherArgs . headers = options . otherArgs . headers || { } ;
21762176 options . otherArgs . headers [ 'x-goog-request-params' ] =
21772177 this . _gaxModule . routingHeader . fromParams ( {
2178- name : request . name || '' ,
2178+ name : request . name ?? '' ,
21792179 } ) ;
21802180 this . initialize ( ) ;
21812181 return this . innerApiCalls . cancelLease ( request , options , callback ) ;
@@ -2298,7 +2298,7 @@ export class CloudTasksClient {
22982298 options . otherArgs . headers = options . otherArgs . headers || { } ;
22992299 options . otherArgs . headers [ 'x-goog-request-params' ] =
23002300 this . _gaxModule . routingHeader . fromParams ( {
2301- name : request . name || '' ,
2301+ name : request . name ?? '' ,
23022302 } ) ;
23032303 this . initialize ( ) ;
23042304 return this . innerApiCalls . runTask ( request , options , callback ) ;
@@ -2424,7 +2424,7 @@ export class CloudTasksClient {
24242424 options . otherArgs . headers = options . otherArgs . headers || { } ;
24252425 options . otherArgs . headers [ 'x-goog-request-params' ] =
24262426 this . _gaxModule . routingHeader . fromParams ( {
2427- parent : request . parent || '' ,
2427+ parent : request . parent ?? '' ,
24282428 } ) ;
24292429 this . initialize ( ) ;
24302430 return this . innerApiCalls . listQueues ( request , options , callback ) ;
@@ -2493,7 +2493,7 @@ export class CloudTasksClient {
24932493 options . otherArgs . headers = options . otherArgs . headers || { } ;
24942494 options . otherArgs . headers [ 'x-goog-request-params' ] =
24952495 this . _gaxModule . routingHeader . fromParams ( {
2496- parent : request . parent || '' ,
2496+ parent : request . parent ?? '' ,
24972497 } ) ;
24982498 const defaultCallSettings = this . _defaults [ 'listQueues' ] ;
24992499 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2571,7 +2571,7 @@ export class CloudTasksClient {
25712571 options . otherArgs . headers = options . otherArgs . headers || { } ;
25722572 options . otherArgs . headers [ 'x-goog-request-params' ] =
25732573 this . _gaxModule . routingHeader . fromParams ( {
2574- parent : request . parent || '' ,
2574+ parent : request . parent ?? '' ,
25752575 } ) ;
25762576 const defaultCallSettings = this . _defaults [ 'listQueues' ] ;
25772577 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2706,7 +2706,7 @@ export class CloudTasksClient {
27062706 options . otherArgs . headers = options . otherArgs . headers || { } ;
27072707 options . otherArgs . headers [ 'x-goog-request-params' ] =
27082708 this . _gaxModule . routingHeader . fromParams ( {
2709- parent : request . parent || '' ,
2709+ parent : request . parent ?? '' ,
27102710 } ) ;
27112711 this . initialize ( ) ;
27122712 return this . innerApiCalls . listTasks ( request , options , callback ) ;
@@ -2773,7 +2773,7 @@ export class CloudTasksClient {
27732773 options . otherArgs . headers = options . otherArgs . headers || { } ;
27742774 options . otherArgs . headers [ 'x-goog-request-params' ] =
27752775 this . _gaxModule . routingHeader . fromParams ( {
2776- parent : request . parent || '' ,
2776+ parent : request . parent ?? '' ,
27772777 } ) ;
27782778 const defaultCallSettings = this . _defaults [ 'listTasks' ] ;
27792779 const callSettings = defaultCallSettings . merge ( options ) ;
@@ -2849,7 +2849,7 @@ export class CloudTasksClient {
28492849 options . otherArgs . headers = options . otherArgs . headers || { } ;
28502850 options . otherArgs . headers [ 'x-goog-request-params' ] =
28512851 this . _gaxModule . routingHeader . fromParams ( {
2852- parent : request . parent || '' ,
2852+ parent : request . parent ?? '' ,
28532853 } ) ;
28542854 const defaultCallSettings = this . _defaults [ 'listTasks' ] ;
28552855 const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments