Skip to content

Commit

Permalink
fix: proper routing headers
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and alexander-fenster committed Jan 9, 2020
1 parent fa0700c commit 651bec8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2,446 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ export class DataCatalogClient {
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
entry_name: request.entry!.name || '',
'entry.name': request.entry!.name || '',
});
return this._innerApiCalls.updateEntry(request, options, callback);
}
Expand Down Expand Up @@ -1295,7 +1295,7 @@ export class DataCatalogClient {
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
tag_template_name: request.tagTemplate!.name || '',
'tag_template.name': request.tagTemplate!.name || '',
});
return this._innerApiCalls.updateTagTemplate(request, options, callback);
}
Expand Down Expand Up @@ -1952,7 +1952,7 @@ export class DataCatalogClient {
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
tag_name: request.tag!.name || '',
'tag.name': request.tag!.name || '',
});
return this._innerApiCalls.updateTag(request, options, callback);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ export class PolicyTagManagerClient {
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
taxonomy_name: request.taxonomy!.name || '',
'taxonomy.name': request.taxonomy!.name || '',
});
return this._innerApiCalls.updateTaxonomy(request, options, callback);
}
Expand Down Expand Up @@ -873,7 +873,7 @@ export class PolicyTagManagerClient {
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
policy_tag_name: request.policyTag!.name || '',
'policy_tag.name': request.policyTag!.name || '',
});
return this._innerApiCalls.updatePolicyTag(request, options, callback);
}
Expand Down
Loading

0 comments on commit 651bec8

Please sign in to comment.