File: //snap/google-cloud-cli/396/lib/surface/bigtable/authorized_views/get_iam_policy.yaml
- release_tracks: [GA, BETA, ALPHA]
help_text:
brief: Get an IAM policy on a Cloud Bigtable authorized view.
description: |
Get an IAM policy on a Cloud Bigtable authorized view.
examples: |
To get the IAM policy on the authorized view `my-authorized-view` in instance `my-instance` and table `my-table`, run:
$ {command} my-authorized-view --instance=`my-instance` --table=`my-table`
See https://cloud.google.com/iam/docs/managing-policies for more information.
request:
collection: bigtableadmin.projects.instances.tables.authorizedViews
arguments:
resource:
help_text: Cloud Bigtable authorized view to get the IAM policy for.
spec: !REF googlecloudsdk.command_lib.bigtable.resources:authorized_view
iam:
policy_version: 3
get_iam_policy_version_path: getIamPolicyRequest.options.requestedPolicyVersion