@@ -511,6 +511,8 @@ export class ClusterControllerClient {
511
511
options . otherArgs . headers [ 'x-goog-request-params' ] =
512
512
gax . routingHeader . fromParams ( {
513
513
project_id : request . projectId || '' ,
514
+ region : request . region || '' ,
515
+ cluster_name : request . clusterName || '' ,
514
516
} ) ;
515
517
this . initialize ( ) ;
516
518
return this . innerApiCalls . getCluster ( request , options , callback ) ;
@@ -636,6 +638,7 @@ export class ClusterControllerClient {
636
638
options . otherArgs . headers [ 'x-goog-request-params' ] =
637
639
gax . routingHeader . fromParams ( {
638
640
project_id : request . projectId || '' ,
641
+ region : request . region || '' ,
639
642
} ) ;
640
643
this . initialize ( ) ;
641
644
return this . innerApiCalls . createCluster ( request , options , callback ) ;
@@ -859,6 +862,8 @@ export class ClusterControllerClient {
859
862
options . otherArgs . headers [ 'x-goog-request-params' ] =
860
863
gax . routingHeader . fromParams ( {
861
864
project_id : request . projectId || '' ,
865
+ region : request . region || '' ,
866
+ cluster_name : request . clusterName || '' ,
862
867
} ) ;
863
868
this . initialize ( ) ;
864
869
return this . innerApiCalls . updateCluster ( request , options , callback ) ;
@@ -1017,6 +1022,8 @@ export class ClusterControllerClient {
1017
1022
options . otherArgs . headers [ 'x-goog-request-params' ] =
1018
1023
gax . routingHeader . fromParams ( {
1019
1024
project_id : request . projectId || '' ,
1025
+ region : request . region || '' ,
1026
+ cluster_name : request . clusterName || '' ,
1020
1027
} ) ;
1021
1028
this . initialize ( ) ;
1022
1029
return this . innerApiCalls . stopCluster ( request , options , callback ) ;
@@ -1175,6 +1182,8 @@ export class ClusterControllerClient {
1175
1182
options . otherArgs . headers [ 'x-goog-request-params' ] =
1176
1183
gax . routingHeader . fromParams ( {
1177
1184
project_id : request . projectId || '' ,
1185
+ region : request . region || '' ,
1186
+ cluster_name : request . clusterName || '' ,
1178
1187
} ) ;
1179
1188
this . initialize ( ) ;
1180
1189
return this . innerApiCalls . startCluster ( request , options , callback ) ;
@@ -1335,6 +1344,8 @@ export class ClusterControllerClient {
1335
1344
options . otherArgs . headers [ 'x-goog-request-params' ] =
1336
1345
gax . routingHeader . fromParams ( {
1337
1346
project_id : request . projectId || '' ,
1347
+ region : request . region || '' ,
1348
+ cluster_name : request . clusterName || '' ,
1338
1349
} ) ;
1339
1350
this . initialize ( ) ;
1340
1351
return this . innerApiCalls . deleteCluster ( request , options , callback ) ;
@@ -1483,6 +1494,8 @@ export class ClusterControllerClient {
1483
1494
options . otherArgs . headers [ 'x-goog-request-params' ] =
1484
1495
gax . routingHeader . fromParams ( {
1485
1496
project_id : request . projectId || '' ,
1497
+ region : request . region || '' ,
1498
+ cluster_name : request . clusterName || '' ,
1486
1499
} ) ;
1487
1500
this . initialize ( ) ;
1488
1501
return this . innerApiCalls . diagnoseCluster ( request , options , callback ) ;
@@ -1632,6 +1645,7 @@ export class ClusterControllerClient {
1632
1645
options . otherArgs . headers [ 'x-goog-request-params' ] =
1633
1646
gax . routingHeader . fromParams ( {
1634
1647
project_id : request . projectId || '' ,
1648
+ region : request . region || '' ,
1635
1649
} ) ;
1636
1650
this . initialize ( ) ;
1637
1651
return this . innerApiCalls . listClusters ( request , options , callback ) ;
@@ -1693,6 +1707,7 @@ export class ClusterControllerClient {
1693
1707
options . otherArgs . headers [ 'x-goog-request-params' ] =
1694
1708
gax . routingHeader . fromParams ( {
1695
1709
project_id : request . projectId || '' ,
1710
+ region : request . region || '' ,
1696
1711
} ) ;
1697
1712
const defaultCallSettings = this . _defaults [ 'listClusters' ] ;
1698
1713
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1763,6 +1778,7 @@ export class ClusterControllerClient {
1763
1778
options . otherArgs . headers [ 'x-goog-request-params' ] =
1764
1779
gax . routingHeader . fromParams ( {
1765
1780
project_id : request . projectId || '' ,
1781
+ region : request . region || '' ,
1766
1782
} ) ;
1767
1783
const defaultCallSettings = this . _defaults [ 'listClusters' ] ;
1768
1784
const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments