mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Tue Mar 1 21:43:54 UTC 2022
This commit is contained in:
parent
c1c3b75313
commit
21878eea72
1018 changed files with 4838 additions and 3409 deletions
|
|
@ -26,16 +26,14 @@ EXAMPLES
|
|||
|
||||
$ gcloud alpha iap web remove-iam-policy-binding \
|
||||
--resource-type=IAP_IAM_RESOURCE \
|
||||
--member='user:test-user@gmail.com'
|
||||
--role='roles/editor'
|
||||
--member='user:test-user@gmail.com' --role='roles/editor'
|
||||
|
||||
To remove an IAM policy binding for the role of 'roles/editor' from all
|
||||
authenticated users on IAP IAM resource IAP_IAM_RESOURCE,run:
|
||||
|
||||
$ gcloud alpha iap web remove-iam-policy-binding \
|
||||
--resource-type=IAP_IAM_RESOURCE \
|
||||
--member='allAuthenticatedUsers'
|
||||
--role='roles/editor'
|
||||
--member='allAuthenticatedUsers' --role='roles/editor'
|
||||
|
||||
To remove an IAM policy binding with a condition of
|
||||
expression='request.time < timestamp("2019-01-01T00:00:00Z")',
|
||||
|
|
@ -45,8 +43,8 @@ EXAMPLES
|
|||
|
||||
$ gcloud alpha iap web remove-iam-policy-binding \
|
||||
--resource-type=IAP_IAM_RESOURCE \
|
||||
--member='user:test-user@gmail.com'
|
||||
--role='roles/browser' --condition='expression=request.time <
|
||||
--member='user:test-user@gmail.com' --role='roles/browser' \
|
||||
--condition='expression=request.time <
|
||||
timestamp("2019-01-01T00:00:00Z"),title=expires_end_of_2018,
|
||||
description=Expires at midnight on 2018-12-31'
|
||||
|
||||
|
|
@ -56,8 +54,7 @@ EXAMPLES
|
|||
|
||||
$ gcloud alpha iap web remove-iam-policy-binding \
|
||||
--resource-type=IAP_IAM_RESOURCE \
|
||||
--member='user:test-user@gmail.com'
|
||||
--role='roles/browser' --all
|
||||
--member='user:test-user@gmail.com' --role='roles/browser' --all
|
||||
|
||||
See https://cloud.google.com/iam/docs/managing-policies for details of
|
||||
policy role and member types.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue