Skip to content

Commit

Permalink
fix: fixes for dynamic routing and streaming descriptors (#541)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Use gapic-generator-typescript v2.14.5.

PiperOrigin-RevId: 450616838

Source-Link: googleapis/googleapis@7a47b72

Source-Link: googleapis/googleapis-gen@42cc633
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDJjYzYzMzFiYWUwYjk5ZjYxYjhlMDFhZTE1YjA1MjExNzE2YzRmOSJ9
  • Loading branch information
gcf-owl-bot[bot] authored May 31, 2022
1 parent b4e4bda commit 99edf1f
Show file tree
Hide file tree
Showing 2 changed files with 438 additions and 90 deletions.
63 changes: 63 additions & 0 deletions packages/google-container/src/v1/cluster_manager_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
parent: request.parent || '',
project_id: request.projectId || '',
zone: request.zone || '',
});
this.initialize();
return this.innerApiCalls.listClusters(request, options, callback);
Expand Down Expand Up @@ -523,6 +524,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.getCluster(request, options, callback);
Expand Down Expand Up @@ -633,6 +636,7 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
parent: request.parent || '',
project_id: request.projectId || '',
zone: request.zone || '',
});
this.initialize();
return this.innerApiCalls.createCluster(request, options, callback);
Expand Down Expand Up @@ -732,6 +736,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.updateCluster(request, options, callback);
Expand Down Expand Up @@ -865,6 +871,9 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
node_pool_id: request.nodePoolId || '',
});
this.initialize();
return this.innerApiCalls.updateNodePool(request, options, callback);
Expand Down Expand Up @@ -976,6 +985,9 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
node_pool_id: request.nodePoolId || '',
});
this.initialize();
return this.innerApiCalls.setNodePoolAutoscaling(
Expand Down Expand Up @@ -1091,6 +1103,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.setLoggingService(request, options, callback);
Expand Down Expand Up @@ -1208,6 +1222,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.setMonitoringService(request, options, callback);
Expand Down Expand Up @@ -1308,6 +1324,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.setAddonsConfig(request, options, callback);
Expand Down Expand Up @@ -1417,6 +1435,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
this.warn(
Expand Down Expand Up @@ -1530,6 +1550,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.updateMaster(request, options, callback);
Expand Down Expand Up @@ -1633,6 +1655,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.setMasterAuth(request, options, callback);
Expand Down Expand Up @@ -1738,6 +1762,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.deleteCluster(request, options, callback);
Expand Down Expand Up @@ -1833,6 +1859,7 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
parent: request.parent || '',
project_id: request.projectId || '',
zone: request.zone || '',
});
this.initialize();
return this.innerApiCalls.listOperations(request, options, callback);
Expand Down Expand Up @@ -1930,6 +1957,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
operation_id: request.operationId || '',
});
this.initialize();
return this.innerApiCalls.getOperation(request, options, callback);
Expand Down Expand Up @@ -2027,6 +2056,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
operation_id: request.operationId || '',
});
this.initialize();
return this.innerApiCalls.cancelOperation(request, options, callback);
Expand Down Expand Up @@ -2121,6 +2152,7 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
});
this.initialize();
return this.innerApiCalls.getServerConfig(request, options, callback);
Expand Down Expand Up @@ -2305,6 +2337,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
parent: request.parent || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.listNodePools(request, options, callback);
Expand Down Expand Up @@ -2406,6 +2440,9 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
node_pool_id: request.nodePoolId || '',
});
this.initialize();
return this.innerApiCalls.getNodePool(request, options, callback);
Expand Down Expand Up @@ -2506,6 +2543,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
parent: request.parent || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.createNodePool(request, options, callback);
Expand Down Expand Up @@ -2607,6 +2646,9 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
node_pool_id: request.nodePoolId || '',
});
this.initialize();
return this.innerApiCalls.deleteNodePool(request, options, callback);
Expand Down Expand Up @@ -2717,6 +2759,9 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
node_pool_id: request.nodePoolId || '',
});
this.initialize();
return this.innerApiCalls.rollbackNodePoolUpgrade(
Expand Down Expand Up @@ -2832,6 +2877,9 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
node_pool_id: request.nodePoolId || '',
});
this.initialize();
return this.innerApiCalls.setNodePoolManagement(request, options, callback);
Expand Down Expand Up @@ -2938,6 +2986,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.setLabels(request, options, callback);
Expand Down Expand Up @@ -3037,6 +3087,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.setLegacyAbac(request, options, callback);
Expand Down Expand Up @@ -3136,6 +3188,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.startIPRotation(request, options, callback);
Expand Down Expand Up @@ -3235,6 +3289,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.completeIPRotation(request, options, callback);
Expand Down Expand Up @@ -3340,6 +3396,9 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
node_pool_id: request.nodePoolId || '',
});
this.initialize();
return this.innerApiCalls.setNodePoolSize(request, options, callback);
Expand Down Expand Up @@ -3441,6 +3500,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.setNetworkPolicy(request, options, callback);
Expand Down Expand Up @@ -3547,6 +3608,8 @@ export class ClusterManagerClient {
gax.routingHeader.fromParams({
name: request.name || '',
project_id: request.projectId || '',
zone: request.zone || '',
cluster_id: request.clusterId || '',
});
this.initialize();
return this.innerApiCalls.setMaintenancePolicy(request, options, callback);
Expand Down
Loading

0 comments on commit 99edf1f

Please sign in to comment.