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

Grant access to bigquery table sample code #1449

Closed
nonokangwei opened this issue Dec 23, 2022 · 1 comment
Closed

Grant access to bigquery table sample code #1449

nonokangwei opened this issue Dec 23, 2022 · 1 comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. samples Issues that are directly related to samples. type: docs Improvement to the documentation for an API.

Comments

@nonokangwei
Copy link

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is your feature request related to a problem? Please describe.
in https://cloud.google.com/bigquery/docs/control-access-to-resources-iam#grant_access_to_a_table_or_view, there has no sample code for python to grant access on table or view
Describe the solution you'd like
give the grant access on table or view python simple code
Describe alternatives you've considered
customer need do coding by complex documentation.
Additional context
n/a

@product-auto-label product-auto-label bot added api: bigquery Issues related to the googleapis/python-bigquery API. samples Issues that are directly related to samples. labels Dec 23, 2022
@meredithslota meredithslota added the type: docs Improvement to the documentation for an API. label Apr 14, 2023
@meredithslota
Copy link
Contributor

There are code samples for granting view access here: https://cloud.google.com/bigquery/docs/samples/bigquery-grant-view-access and this is integrated into our documentation on this page: https://cloud.google.com/bigquery/docs/authorized-views but I agree it's missing on the page you linked. A companion sample on revoking access to a dataset is here: https://cloud.google.com/bigquery/docs/samples/bigquery-revoke-dataset-access and is integrated into the docs here: https://cloud.google.com/bigquery/docs/control-access-to-resources-iam Granting access to a dataset is also covered on that page and has a Python sample.

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 googleapis/python-bigquery API. samples Issues that are directly related to samples. type: docs Improvement to the documentation for an API.
Projects
None yet
Development

No branches or pull requests

2 participants