File: //snap/google-cloud-cli/current/lib/surface/source_manager/instances/get_iam_policy.yaml
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: Get the IAM policy for a Secure Source Manager instance.
description: Get the IAM policy for a Secure Source Manager instance.
examples: |
To get the IAM policy for an instance named 'my-instance' in location 'us-central1', run:
$ {command} my-instance --region=us-central1
request:
collection: securesourcemanager.projects.locations.instances
arguments:
resource:
help_text: The Secure Source Manager instance for which to get the IAM policy.
spec: !REF googlecloudsdk.command_lib.source_manager.resources:instance