File: //snap/google-cloud-cli/current/lib/surface/privateca/pools/get_iam_policy.yaml
- release_tracks: [GA]
help_text:
brief: Get the IAM policy for a CA pool.
description: |
Gets the IAM policy for the given CA pool.
Returns an empty policy if the resource does not have a policy
set.
examples: |
To get the IAM policy for the CA pool 'my-pool' with the location 'us-west1', run:
$ {command} my-pool --location=us-west1
request:
collection: privateca.projects.locations.caPools
api_version: v1
arguments:
resource:
help_text: The CA pool for which to display the IAM policy.
spec: !REF googlecloudsdk.command_lib.privateca.resources:ca_pool
iam:
enable_condition: true
policy_version: 3
get_iam_policy_version_path: options_requestedPolicyVersion