gdcloud projects remove-iam-policy-binding

名前

gdcloud projects remove-iam-policy-binding - プロジェクト内のメンバーからロールを削除します。

概要

gdcloud projects remove-iam-policy-binding PROJECT_ID [flags]

説明

プロジェクトのメンバーからロールを削除します。メンバーは、人間のユーザーまたはサービス アカウントのいずれかです。

EXAMPLES


To remove the role "pr-test-role" for user "test-user@example.com" with IdP prefix "fop" in project "iam-test", run:

    gdcloud projects remove-iam-policy-binding iam-test --role=pr-test-role --member=user:fop-test-user@example.com

To remove the role "pr-test-role" for service account "test-sa" of project "test-sa-project" in the project "iam-test", run:

    gdcloud projects remove-iam-policy-binding iam-test --role=pr-test-role --member=serviceAccount:test-sa-project:test-sa

必須フラグ

      --member string   Member to remove the binding for, defined by either user:EMAIL or serviceAccount:SERVICE_ACCOUNT_PROJECT:SERVICE_ACCOUNT_NAME. The email should contain the IdP prefix for the user.
      --role string     Role name to be removed from the member.

GDCLOUD ワイドフラグ

これらのフラグは、すべてのコマンドで使用できます: --configuration--format--help--project--quiet

詳細については、gdcloud CLI リファレンスの概要ページをご覧ください。