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