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

Commit 4cf9b63

Browse files
fix: fixes for dynamic routing and streaming descriptors (#327)
* 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>
1 parent f054cc2 commit 4cf9b63

File tree

2 files changed

+69
-26
lines changed

2 files changed

+69
-26
lines changed

src/v1/cloud_build_client.ts

+8
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ export class CloudBuildClient {
567567
options.otherArgs.headers['x-goog-request-params'] =
568568
gax.routingHeader.fromParams({
569569
project_id: request.projectId || '',
570+
id: request.id || '',
570571
name: request.name || '',
571572
});
572573
this.initialize();
@@ -664,6 +665,7 @@ export class CloudBuildClient {
664665
options.otherArgs.headers['x-goog-request-params'] =
665666
gax.routingHeader.fromParams({
666667
project_id: request.projectId || '',
668+
id: request.id || '',
667669
name: request.name || '',
668670
});
669671
this.initialize();
@@ -868,6 +870,7 @@ export class CloudBuildClient {
868870
options.otherArgs.headers['x-goog-request-params'] =
869871
gax.routingHeader.fromParams({
870872
project_id: request.projectId || '',
873+
trigger_id: request.triggerId || '',
871874
name: request.name || '',
872875
});
873876
this.initialize();
@@ -973,6 +976,7 @@ export class CloudBuildClient {
973976
options.otherArgs.headers['x-goog-request-params'] =
974977
gax.routingHeader.fromParams({
975978
project_id: request.projectId || '',
979+
trigger_id: request.triggerId || '',
976980
name: request.name || '',
977981
});
978982
this.initialize();
@@ -1077,6 +1081,7 @@ export class CloudBuildClient {
10771081
options.otherArgs.headers['x-goog-request-params'] =
10781082
gax.routingHeader.fromParams({
10791083
project_id: request.projectId || '',
1084+
trigger_id: request.triggerId || '',
10801085
'trigger.resource_name': request.trigger!.resourceName || '',
10811086
});
10821087
this.initialize();
@@ -1185,6 +1190,7 @@ export class CloudBuildClient {
11851190
options.otherArgs.headers['x-goog-request-params'] =
11861191
gax.routingHeader.fromParams({
11871192
project_id: request.projectId || '',
1193+
trigger: request.trigger || '',
11881194
name: request.name || '',
11891195
});
11901196
this.initialize();
@@ -1560,6 +1566,7 @@ export class CloudBuildClient {
15601566
options.otherArgs.headers['x-goog-request-params'] =
15611567
gax.routingHeader.fromParams({
15621568
project_id: request.projectId || '',
1569+
id: request.id || '',
15631570
name: request.name || '',
15641571
});
15651572
this.initialize();
@@ -1850,6 +1857,7 @@ export class CloudBuildClient {
18501857
options.otherArgs.headers['x-goog-request-params'] =
18511858
gax.routingHeader.fromParams({
18521859
project_id: request.projectId || '',
1860+
trigger_id: request.triggerId || '',
18531861
name: request.name || '',
18541862
});
18551863
this.initialize();

0 commit comments

Comments
 (0)