Skip to content

Commit

Permalink
fix: fixes for dynamic routing and streaming descriptors (#733)
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 21daed5 commit 5f2eef8
Show file tree
Hide file tree
Showing 168 changed files with 6,282 additions and 1,789 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ export class AcceleratorTypesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
accelerator_type: request.acceleratorType || '',
});
this.initialize();
return this.innerApiCalls.get(request, options, callback);
Expand Down Expand Up @@ -566,6 +568,7 @@ export class AcceleratorTypesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
this.initialize();
return this.innerApiCalls.list(request, options, callback);
Expand Down Expand Up @@ -612,6 +615,7 @@ export class AcceleratorTypesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
const defaultCallSettings = this._defaults['list'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -667,6 +671,7 @@ export class AcceleratorTypesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
const defaultCallSettings = this._defaults['list'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
8 changes: 8 additions & 0 deletions packages/google-cloud-compute/src/v1/addresses_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,8 @@ export class AddressesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
region: request.region || '',
address: request.address || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -518,6 +520,8 @@ export class AddressesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
region: request.region || '',
address: request.address || '',
});
this.initialize();
return this.innerApiCalls.get(request, options, callback);
Expand Down Expand Up @@ -614,6 +618,7 @@ export class AddressesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
region: request.region || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -791,6 +796,7 @@ export class AddressesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
region: request.region || '',
});
this.initialize();
return this.innerApiCalls.list(request, options, callback);
Expand Down Expand Up @@ -837,6 +843,7 @@ export class AddressesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
region: request.region || '',
});
const defaultCallSettings = this._defaults['list'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -892,6 +899,7 @@ export class AddressesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
region: request.region || '',
});
const defaultCallSettings = this._defaults['list'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
10 changes: 10 additions & 0 deletions packages/google-cloud-compute/src/v1/autoscalers_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ export class AutoscalersClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
autoscaler: request.autoscaler || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -528,6 +530,8 @@ export class AutoscalersClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
autoscaler: request.autoscaler || '',
});
this.initialize();
return this.innerApiCalls.get(request, options, callback);
Expand Down Expand Up @@ -630,6 +634,7 @@ export class AutoscalersClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -748,6 +753,7 @@ export class AutoscalersClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -872,6 +878,7 @@ export class AutoscalersClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -1049,6 +1056,7 @@ export class AutoscalersClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
this.initialize();
return this.innerApiCalls.list(request, options, callback);
Expand Down Expand Up @@ -1095,6 +1103,7 @@ export class AutoscalersClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
const defaultCallSettings = this._defaults['list'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -1150,6 +1159,7 @@ export class AutoscalersClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
const defaultCallSettings = this._defaults['list'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ export class BackendBucketsClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_bucket: request.backendBucket || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -536,6 +537,7 @@ export class BackendBucketsClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_bucket: request.backendBucket || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -658,6 +660,7 @@ export class BackendBucketsClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_bucket: request.backendBucket || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -771,6 +774,7 @@ export class BackendBucketsClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_bucket: request.backendBucket || '',
});
this.initialize();
return this.innerApiCalls.get(request, options, callback);
Expand Down Expand Up @@ -993,6 +997,7 @@ export class BackendBucketsClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_bucket: request.backendBucket || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -1115,6 +1120,7 @@ export class BackendBucketsClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_bucket: request.backendBucket || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -1237,6 +1243,7 @@ export class BackendBucketsClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_bucket: request.backendBucket || '',
});
this.initialize();
return this.innerApiCalls
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ export class BackendServicesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_service: request.backendService || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -544,6 +545,7 @@ export class BackendServicesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_service: request.backendService || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -666,6 +668,7 @@ export class BackendServicesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_service: request.backendService || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -779,6 +782,7 @@ export class BackendServicesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_service: request.backendService || '',
});
this.initialize();
return this.innerApiCalls.get(request, options, callback);
Expand Down Expand Up @@ -879,6 +883,7 @@ export class BackendServicesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_service: request.backendService || '',
});
this.initialize();
return this.innerApiCalls.getHealth(request, options, callback);
Expand Down Expand Up @@ -1101,6 +1106,7 @@ export class BackendServicesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_service: request.backendService || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -1223,6 +1229,7 @@ export class BackendServicesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_service: request.backendService || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -1345,6 +1352,7 @@ export class BackendServicesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_service: request.backendService || '',
});
this.initialize();
return this.innerApiCalls
Expand Down Expand Up @@ -1467,6 +1475,7 @@ export class BackendServicesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
backend_service: request.backendService || '',
});
this.initialize();
return this.innerApiCalls
Expand Down
5 changes: 5 additions & 0 deletions packages/google-cloud-compute/src/v1/disk_types_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ export class DiskTypesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
disk_type: request.diskType || '',
});
this.initialize();
return this.innerApiCalls.get(request, options, callback);
Expand Down Expand Up @@ -553,6 +555,7 @@ export class DiskTypesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
this.initialize();
return this.innerApiCalls.list(request, options, callback);
Expand Down Expand Up @@ -599,6 +602,7 @@ export class DiskTypesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
const defaultCallSettings = this._defaults['list'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -654,6 +658,7 @@ export class DiskTypesClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project: request.project || '',
zone: request.zone || '',
});
const defaultCallSettings = this._defaults['list'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
Loading

0 comments on commit 5f2eef8

Please sign in to comment.