File: //snap/google-cloud-cli/current/lib/surface/source_manager/repos/remove_iam_policy_binding.yaml
release_tracks: [ALPHA, BETA, GA]
help_text:
brief: Remove an IAM policy binding from a Secure Source Manager repository.
description: Remove an IAM policy binding to a Secure Source Manager repository.
examples: |
To remove the Repository Admin IAM role (`roles/securesourcemanager.repoAdmin`) binding from the
user `test-user@gmail.com` in a repository named `my-repo` and location `us-central1`, run the
following command:
$ {command} my-repo --region=us-central1 --member=user:test-user@gmail.com --role=roles/securesourcemanager.repoAdmin
See https://cloud.google.com/iam/docs/managing-policies for details of policy role and member types.
request:
api_version: v1
collection: securesourcemanager.projects.locations.repositories
arguments:
resource:
help_text: Secure Source Manager repository to remove the IAM policy binding from.
spec: !REF googlecloudsdk.command_lib.source_manager.resources:repository
iam:
enable_condition: false