Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
fix: fixes for dynamic routing and streaming descriptors (#327)
Browse files Browse the repository at this point in the history
* fix: fixes for dynamic routing and streaming descriptors

Use gapic-generator-typescript v2.14.5.

PiperOrigin-RevId: 450616838

Source-Link: googleapis/googleapis@7a47b72

Source-Link: https://github.com/googleapis/googleapis-gen/commit/42cc6331bae0b99f61b8e01ae15b05211716c4f9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDJjYzYzMzFiYWUwYjk5ZjYxYjhlMDFhZTE1YjA1MjExNzE2YzRmOSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored May 26, 2022
1 parent f054cc2 commit 4cf9b63
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 26 deletions.
8 changes: 8 additions & 0 deletions src/v1/cloud_build_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ export class CloudBuildClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project_id: request.projectId || '',
id: request.id || '',
name: request.name || '',
});
this.initialize();
Expand Down Expand Up @@ -664,6 +665,7 @@ export class CloudBuildClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project_id: request.projectId || '',
id: request.id || '',
name: request.name || '',
});
this.initialize();
Expand Down Expand Up @@ -868,6 +870,7 @@ export class CloudBuildClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project_id: request.projectId || '',
trigger_id: request.triggerId || '',
name: request.name || '',
});
this.initialize();
Expand Down Expand Up @@ -973,6 +976,7 @@ export class CloudBuildClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project_id: request.projectId || '',
trigger_id: request.triggerId || '',
name: request.name || '',
});
this.initialize();
Expand Down Expand Up @@ -1077,6 +1081,7 @@ export class CloudBuildClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project_id: request.projectId || '',
trigger_id: request.triggerId || '',
'trigger.resource_name': request.trigger!.resourceName || '',
});
this.initialize();
Expand Down Expand Up @@ -1185,6 +1190,7 @@ export class CloudBuildClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project_id: request.projectId || '',
trigger: request.trigger || '',
name: request.name || '',
});
this.initialize();
Expand Down Expand Up @@ -1560,6 +1566,7 @@ export class CloudBuildClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project_id: request.projectId || '',
id: request.id || '',
name: request.name || '',
});
this.initialize();
Expand Down Expand Up @@ -1850,6 +1857,7 @@ export class CloudBuildClient {
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
project_id: request.projectId || '',
trigger_id: request.triggerId || '',
name: request.name || '',
});
this.initialize();
Expand Down
Loading

0 comments on commit 4cf9b63

Please sign in to comment.