-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
add optional service account for scheduled queries #3405
add optional service account for scheduled queries #3405
Conversation
- https://cloud.google.com/bigquery/docs/release-notes#November_21_2019 - see [Try API](https://cloud.google.com/bigquery-transfer/docs/reference/datatransfer/rest/v1/projects.locations.transferConfigs/create) or [Discovery ](https://bigquerydatatransfer.googleapis.com/$discovery/rest?version=v1) - the API does support PATCHing, but magic-modules doesn't really support setting the required update_mask for url_param_only, hence I marked this parameter as input for now (which will replace the resource on update)
Hello! I am a robot who works on Magic Modules PRs. I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. Thanks for your contribution! A human will be with you soon. @danawillow, please review this PR or find an appropriate assignee. |
Oops! It looks like you're using an unknown release-note type in your changelog entries:
Please only use the types listed in https://github.com/GoogleCloudPlatform/magic-modules/blob/master/.ci/RELEASE_NOTES_GUIDE.md. |
Let me know if I can do sth. to solve that Google Cloud Build error, can't see the logs unfortunately. |
This looks good to me. I added a changelog message and am rerunning cloud build, so that should be enough to resolve it. I'm curious, what does the update mask look like that successfully updates the field? does it just set |
Yes, it's just
A hack around the issue would be to move all of the update_mask logic to a piece of custom code, but that seemed out of scope and less maintainable in the long-run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow-up PR sounds good. Can you add an example (which will become a test) that sets the new field?
I added a test-case that sets |
Thanks @MartinNowak! |
the required update_mask for
url_param_only
, hence I marked this parameter asinput for now (which will replace the resource on update)
changes requested by slevenick are addressed and I ran terraform's acceptance test (TestAccBigqueryDataTransferConfig) and tested this manually w/ terraform
Release Note Template for Downstream PRs (will be copied)