mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +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
|
|
@ -17,8 +17,8 @@ EXAMPLES
|
|||
for the user 'test-user@gmail.com' with backup 'example-backup' and
|
||||
instance 'example-instance', run:
|
||||
|
||||
$ gcloud beta spanner backups add-iam-policy-binding example-backup \
|
||||
--instance='example-instance' \
|
||||
$ gcloud beta spanner backups add-iam-policy-binding \
|
||||
example-backup --instance='example-instance' \
|
||||
--member='user:test-user@gmail.com' \
|
||||
--role='roles/spanner.backupAdmin'
|
||||
|
||||
|
|
@ -26,11 +26,13 @@ EXAMPLES
|
|||
the role of 'roles/spanner.backupAdmin' and the user 'test-user@gmail.com'
|
||||
with backup 'example-backup' and instance 'example-instance', run:
|
||||
|
||||
$ gcloud beta spanner backups add-iam-policy-binding example-backup \
|
||||
--instance='example-instance' \
|
||||
$ gcloud beta spanner backups add-iam-policy-binding \
|
||||
example-backup --instance='example-instance' \
|
||||
--member='user:test-user@gmail.com' \
|
||||
--role='roles/spanner.backupAdmin' \
|
||||
--condition='expression=request.time < timestamp("2019-01-01T00:00:00Z"),title=expires_end_of_2018,description=Expires at midnight on 2018-12-31'
|
||||
--condition='expression=request.time <
|
||||
timestamp("2019-01-01T00:00:00Z"),title=expires_end_of_2018,descrip\
|
||||
tion=Expires at midnight on 2018-12-31'
|
||||
|
||||
See https://cloud.google.com/iam/docs/managing-policies for details of
|
||||
policy role and member types.
|
||||
|
|
|
|||
|
|
@ -19,8 +19,7 @@ EXAMPLES
|
|||
instance 'example-instance', run:
|
||||
|
||||
$ gcloud beta spanner backups remove-iam-policy-binding \
|
||||
example-backup \
|
||||
--instance='example-instance' \
|
||||
example-backup --instance='example-instance' \
|
||||
--member='user:test-user@gmail.com' \
|
||||
--role='roles/spanner.backupAdmin'
|
||||
|
||||
|
|
@ -29,11 +28,12 @@ EXAMPLES
|
|||
with backup 'example-backup' and instance 'example-instance', run:
|
||||
|
||||
$ gcloud beta spanner backups remove-iam-policy-binding \
|
||||
example-backup \
|
||||
--instance='example-instance' \
|
||||
example-backup --instance='example-instance' \
|
||||
--member='user:test-user@gmail.com' \
|
||||
--role='roles/spanner.backupAdmin' \
|
||||
--condition='expression=request.time < timestamp("2019-01-01T00:00:00Z"),title=expires_end_of_2018,description=Expires at midnight on 2018-12-31'
|
||||
--condition='expression=request.time <
|
||||
timestamp("2019-01-01T00:00:00Z"),title=expires_end_of_2018,descrip\
|
||||
tion=Expires at midnight on 2018-12-31'
|
||||
|
||||
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