Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add XGoogFieldMaskHeader constant #321

Merged
merged 4 commits into from
Feb 6, 2024

Conversation

noahdietz
Copy link
Contributor

Adds XGoogFieldMask constant for use with SetHeaders to supply the Google API system parameter.

Include documentation "redirect" to callctx for BuildHeaders and other internal header related helpers in the top level package.

Add example snippets for XGoogFieldMask.

Fixes #320 - we will only do this constant for now.

@noahdietz noahdietz requested a review from a team as a code owner February 5, 2024 23:13
Copy link
Member

@quartzmo quartzmo left a comment

Choose a reason for hiding this comment

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

LGTM

v2/callctx/callctx.go Outdated Show resolved Hide resolved
@noahdietz noahdietz merged commit 666ee08 into googleapis:main Feb 6, 2024
4 checks passed
@noahdietz noahdietz deleted the fieldmask-header branch February 6, 2024 17:57
@noahdietz noahdietz changed the title fix: add XGoogFieldMask constant fix: add XGoogFieldMaskHeader constant Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

callctx: consider adding x-goog-fieldmask constant or helper
3 participants