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

feat(bigquery)!: support IAM conditions in datasets #11123

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

shollyman
Copy link
Contributor

This PR adds support for IAM conditions via the existing dataset access mechanism. To do so, the following changes are necessary:

  • add the Expr type for expressing conditions, and wire it into the existing DatasetAccessEntry.
  • add an option pattern to the Dataset-related RPC methods
  • Add a new WithAccessPolicyVersion option for setting access policies

This PR includes a minor change moving the existing RPC methods to introduce the variadic option pattern, as the value of introducing multiple new WithOptions feels particularly heavyweight, and we don't heavily rely or publish more general interface definitions for this library.

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the BigQuery API. label Nov 12, 2024
@shollyman shollyman changed the title !feat(bigquery): support IAM conditions in datasets feat(bigquery)!: support IAM conditions in datasets Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant