mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Thu Jul 17 11:02:31 UTC 2025
This commit is contained in:
parent
e53f7148d8
commit
fe3a430c1d
365 changed files with 6027 additions and 1863 deletions
|
|
@ -13,23 +13,23 @@ DESCRIPTION
|
|||
of a member, a role, and an optional condition.
|
||||
|
||||
EXAMPLES
|
||||
To add an IAM policy binding for the role of 'roles/editor' for the user
|
||||
'test-user@gmail.com' with table 'my-table' in instance 'my-instance', run:
|
||||
To add an IAM policy binding for the role of roles/editor for the user
|
||||
test-user@gmail.com with table my-table in instance my-instance, run:
|
||||
|
||||
$ gcloud bigtable instances tables add-iam-policy-binding my-table \
|
||||
--instance='my-instance' --member='user:test-user@gmail.com' \
|
||||
--role='roles/editor'
|
||||
--instance=`my-instance` --member=`user:test-user@gmail.com` \
|
||||
--role=`roles/editor`
|
||||
|
||||
To add an IAM policy binding which expires at the end of the year 2019 for
|
||||
the role of 'roles/bigtable.admin' and the user 'test-user@gmail.com' with
|
||||
table 'my-table' in instance 'my-instance', run:
|
||||
the role of roles/bigtable.admin and the user test-user@gmail.com with
|
||||
table my-table in instance my-instance, run:
|
||||
|
||||
$ gcloud bigtable instances tables add-iam-policy-binding my-table \
|
||||
--instance='my-instance' --member='user:test-user@gmail.com' \
|
||||
--role='roles/bigtable.admin' \
|
||||
--condition='expression=request.time <
|
||||
timestamp("2020-01-01T00:00:00Z"),title=expires_end_of_2019,descrip\
|
||||
tion=Expires at midnight on 2019-12-31'
|
||||
--instance=`my-instance` --member=`user:test-user@gmail.com` \
|
||||
--role=`roles/bigtable.admin` \
|
||||
--condition=`expression=request.time < \
|
||||
timestamp("2020-01-01T00:00:00Z"),title=expires_end_of_2019,\
|
||||
description=Expires at midnight on 2019-12-31`
|
||||
|
||||
See https://cloud.google.com/iam/docs/managing-policies for details of
|
||||
policy role and member types.
|
||||
|
|
@ -58,7 +58,7 @@ POSITIONAL ARGUMENTS
|
|||
arguments in this group are specified.
|
||||
|
||||
--instance=INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument table on the command line with a fully
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ POSITIONAL ARGUMENTS
|
|||
arguments in this group are specified.
|
||||
|
||||
--instance=INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument table on the command line with a fully
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ POSITIONAL ARGUMENTS
|
|||
arguments in this group are specified.
|
||||
|
||||
--instance=INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument table on the command line with a fully
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ POSITIONAL ARGUMENTS
|
|||
arguments in this group are specified.
|
||||
|
||||
--instance=INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument table on the command line with a fully
|
||||
|
|
|
|||
|
|
@ -11,11 +11,10 @@ DESCRIPTION
|
|||
Get an IAM policy on a Cloud Bigtable table.
|
||||
|
||||
EXAMPLES
|
||||
To get the IAM policy on the table 'my-table' in instance 'my-instance',
|
||||
run:
|
||||
To get the IAM policy on the table my-table in instance my-instance, run:
|
||||
|
||||
$ gcloud bigtable instances tables get-iam-policy my-table \
|
||||
--instance='my-instance'
|
||||
--instance=`my-instance`
|
||||
|
||||
See https://cloud.google.com/iam/docs/managing-policies for more
|
||||
information.
|
||||
|
|
@ -44,7 +43,7 @@ POSITIONAL ARGUMENTS
|
|||
arguments in this group are specified.
|
||||
|
||||
--instance=INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument table on the command line with a fully
|
||||
|
|
|
|||
|
|
@ -13,24 +13,24 @@ DESCRIPTION
|
|||
consists of a member, a role, and an optional condition.
|
||||
|
||||
EXAMPLES
|
||||
To remove an IAM policy binding for the role of 'roles/editor' for the user
|
||||
'test-user@gmail.com' with table 'my-table' in instance 'my-instance', run:
|
||||
To remove an IAM policy binding for the role of roles/editor for the user
|
||||
test-user@gmail.com with table my-table in instance my-instance, run:
|
||||
|
||||
$ gcloud bigtable instances tables remove-iam-policy-binding \
|
||||
my-table --instance='my-instance' \
|
||||
--member='user:test-user@gmail.com' --role='roles/editor'
|
||||
my-table --instance=`my-instance` \
|
||||
--member=`user:test-user@gmail.com` --role=`roles/editor`
|
||||
|
||||
To remove an IAM policy binding which expires at the end of the year 2019
|
||||
for the role of 'roles/bigtable.admin' and the user 'test-user@gmail.com'
|
||||
with table 'my-table' in instance 'my-instance', run:
|
||||
for the role of roles/bigtable.admin and the user test-user@gmail.com with
|
||||
table my-table in instance my-instance, run:
|
||||
|
||||
$ gcloud bigtable instances tables remove-iam-policy-binding \
|
||||
my-table --instance='my-instance' \
|
||||
--member='user:test-user@gmail.com' \
|
||||
--role='roles/bigtable.admin' \
|
||||
--condition='expression=request.time <
|
||||
timestamp("2020-01-01T00:00:00Z"),title=expires_end_of_2019,descrip\
|
||||
tion=Expires at midnight on 2019-12-31'
|
||||
my-table --instance=`my-instance` \
|
||||
--member=`user:test-user@gmail.com` \
|
||||
--role=`roles/bigtable.admin` \
|
||||
--condition=`expression=request.time < \
|
||||
timestamp("2020-01-01T00:00:00Z"),title=expires_end_of_2019,\
|
||||
description=Expires at midnight on 2019-12-31`
|
||||
|
||||
See https://cloud.google.com/iam/docs/managing-policies for details of
|
||||
policy role and member types.
|
||||
|
|
@ -59,7 +59,7 @@ POSITIONAL ARGUMENTS
|
|||
arguments in this group are specified.
|
||||
|
||||
--instance=INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument table on the command line with a fully
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ REQUIRED FLAGS
|
|||
this group are specified.
|
||||
|
||||
--destination-instance=DESTINATION_INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument --destination on the command line with a
|
||||
|
|
@ -85,7 +85,7 @@ REQUIRED FLAGS
|
|||
this group are specified.
|
||||
|
||||
--source-cluster=SOURCE_CLUSTER
|
||||
Name of the Cloud Bigtable cluster.
|
||||
Name of the Bigtable cluster.
|
||||
|
||||
To set the cluster attribute:
|
||||
▸ provide the argument --source on the command line with a fully
|
||||
|
|
@ -93,7 +93,7 @@ REQUIRED FLAGS
|
|||
▸ provide the argument --source-cluster on the command line.
|
||||
|
||||
--source-instance=SOURCE_INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument --source on the command line with a fully
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@ DESCRIPTION
|
|||
Set an IAM policy on a Cloud Bigtable table.
|
||||
|
||||
EXAMPLES
|
||||
To set the IAM policy from file 'my-policy' on the table 'my-table' in
|
||||
instance 'my-instance', run:
|
||||
To set the IAM policy from file my-policy on the table my-table in instance
|
||||
my-instance, run:
|
||||
|
||||
$ gcloud bigtable instances tables set-iam-policy my-table \
|
||||
--instance='my-instance' my-policy
|
||||
--instance=`my-instance` my-policy
|
||||
|
||||
See https://cloud.google.com/iam/docs/managing-policies for more
|
||||
information.
|
||||
|
|
@ -43,7 +43,7 @@ POSITIONAL ARGUMENTS
|
|||
arguments in this group are specified.
|
||||
|
||||
--instance=INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument table on the command line with a fully
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ POSITIONAL ARGUMENTS
|
|||
arguments in this group are specified.
|
||||
|
||||
--instance=INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument table on the command line with a fully
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ POSITIONAL ARGUMENTS
|
|||
arguments in this group are specified.
|
||||
|
||||
--instance=INSTANCE
|
||||
Name of the Cloud Bigtable instance.
|
||||
Name of the Bigtable instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument table on the command line with a fully
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue