File: //snap/google-cloud-cli/394/lib/surface/bigtable/schema_bundles/get_iam_policy.yaml
- release_tracks: [GA, BETA, ALPHA]
hidden: true # TODO(b/420436006): unhide the CLI for GA.
help_text:
brief: Get an IAM policy on a Bigtable schema bundle.
description: |
Get an IAM policy on a Bigtable schema bundle.
examples: |
To get the IAM policy on the schema bundle `my-schema-bundle` in instance `my-instance` and table `my-table`, run:
$ {command} my-schema-bundle --instance=`my-instance` --table=`my-table`
See https://cloud.google.com/iam/docs/managing-policies for more information.
request:
collection: bigtableadmin.projects.instances.tables.schemaBundles
arguments:
resource:
help_text: Bigtable schema bundle to get the IAM policy for.
spec: !REF googlecloudsdk.command_lib.bigtable.resources:schema_bundle
iam:
policy_version: 3
get_iam_policy_version_path: getIamPolicyRequest.options.requestedPolicyVersion