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