mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Sat Jun 14 05:31:37 UTC 2025
This commit is contained in:
parent
1799759190
commit
fa40c10f6a
712 changed files with 17386 additions and 4918 deletions
|
|
@ -4,9 +4,9 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet scopes rbacrolebindings create
|
||||
(NAME : --location=LOCATION --scope=SCOPE) --role=ROLE
|
||||
(--group=GROUP | --user=USER) [--labels=[KEY=VALUE,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
(NAME : --location=LOCATION --scope=SCOPE)
|
||||
(--custom-role=CUSTOM_ROLE | --role=ROLE) (--group=GROUP | --user=USER)
|
||||
[--labels=[KEY=VALUE,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
|
|
@ -26,6 +26,13 @@ EXAMPLES
|
|||
$ gcloud beta container fleet scopes rbacrolebindings create RBRB \
|
||||
--scope=SCOPE --role=viewer --group=people@google.com
|
||||
|
||||
To create an RBAC RoleBinding with a custom role custom-role in scope SCOPE
|
||||
for user person@google.com, run:
|
||||
|
||||
$ gcloud beta container fleet scopes rbacrolebindings create RBRB \
|
||||
--scope=SCOPE --role=admin --user=person@google.com \
|
||||
--custom-role=custom-role
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Rbacrolebinding resource - The group of arguments defining an
|
||||
RBACRoleBinding. The arguments in this group can be used to specify the
|
||||
|
|
@ -68,9 +75,14 @@ POSITIONAL ARGUMENTS
|
|||
▸ provide the argument --scope on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--role=ROLE
|
||||
Predefined role to assign to principal (admin, edit, view). ROLE must
|
||||
be one of: admin, edit, view.
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--custom-role=CUSTOM_ROLE
|
||||
Custom role to assign to principal.
|
||||
|
||||
--role=ROLE
|
||||
Predefined role to assign to principal (admin, edit, view). ROLE must
|
||||
be one of: admin, edit, view.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,11 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet scopes rbacrolebindings update
|
||||
(NAME : --location=LOCATION --scope=SCOPE) [--role=ROLE]
|
||||
(NAME : --location=LOCATION --scope=SCOPE)
|
||||
[--update-labels=[KEY=VALUE,...]]
|
||||
[--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--group=GROUP | --user=USER] [GCLOUD_WIDE_FLAG ...]
|
||||
[--custom-role=CUSTOM_ROLE | --role=ROLE] [--group=GROUP | --user=USER]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
|
|
@ -21,6 +22,12 @@ EXAMPLES
|
|||
$ gcloud beta container fleet scopes rbacrolebindings update RBRB \
|
||||
--scope=SCOPE --role=viewer
|
||||
|
||||
To update the RBAC RoleBinding RBRB in scope SCOPE in the active project to
|
||||
the custom role custom-role:
|
||||
|
||||
$ gcloud beta container fleet scopes rbacrolebindings update RBRB \
|
||||
--scope=SCOPE --custom-role=custom-role
|
||||
|
||||
To update the RBAC RoleBinding RBRB in scope SCOPE in the active project to
|
||||
the user someone@google.com:
|
||||
|
||||
|
|
@ -69,10 +76,6 @@ POSITIONAL ARGUMENTS
|
|||
▸ provide the argument --scope on the command line.
|
||||
|
||||
FLAGS
|
||||
--role=ROLE
|
||||
Predefined role to assign to principal (admin, edit, view). ROLE must
|
||||
be one of: admin, edit, view.
|
||||
|
||||
--update-labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to update. If a label exists, its value
|
||||
is modified. Otherwise, a new label is created.
|
||||
|
|
@ -103,6 +106,15 @@ FLAGS
|
|||
silently ignored. If --update-labels is also specified then
|
||||
--update-labels is applied first.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--custom-role=CUSTOM_ROLE
|
||||
Custom role to assign to principal.
|
||||
|
||||
--role=ROLE
|
||||
Predefined role to assign to principal (admin, edit, view). ROLE must
|
||||
be one of: admin, edit, view.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--group=GROUP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue