Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

fix: add operation name to x-goog-request-params - #133

Merged
busunkim96 merged 2 commits into
masterfrom
add-operation-name
Jan 25, 2021
Merged

fix: add operation name to x-goog-request-params#133
busunkim96 merged 2 commits into
masterfrom
add-operation-name

Conversation

@busunkim96

@busunkim96busunkim96 commented Jan 19, 2021

Copy link
Copy Markdown
Contributor

Add the routing header x-goog-request-params to operations client requests. Some APIs require that the header be passed on all requests.

Fixesgoogleapis/gapic-generator-python#732

@software-dovsoftware-dov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just some minor nitpicking.

Comment threadgoogle/api_core/operations_v1/operations_client.py Outdated
Comment threadgoogle/api_core/operations_v1/operations_client.py Outdated
Comment threadgoogle/api_core/operations_v1/operations_client.py Outdated
Comment threadgoogle/api_core/operations_v1/operations_client.py Outdated
@busunkim96busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 25, 2021
@busunkim96
busunkim96 merged commit 97cef4a into masterJan 25, 2021
@busunkim96
busunkim96 deleted the add-operation-name branch January 25, 2021 19:49
gcf-merge-on-greenBot pushed a commit that referenced this pull request Feb 12, 2021
Pass the operation name in the `x-goog-request-params`header.
Same as #133 for the async operations client.
This was referenced May 30, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yesThis human has signed the Contributor License Agreement.kokoro:force-runAdd this label to force Kokoro to re-run the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Routing headers are not passed to the operations client

4 participants

@busunkim96@tseaver@software-dov@turbaszek