mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Wed Jul 20 08:59:31 UTC 2022
This commit is contained in:
parent
879929cbc6
commit
380c3aa29f
83 changed files with 1945 additions and 446 deletions
|
|
@ -34,7 +34,7 @@ REQUIRED FLAGS
|
|||
OPTIONAL FLAGS
|
||||
--etag=ETAG
|
||||
Etag that identifies the version of the existing policy. If omitted,
|
||||
the command gets the etag for the current version of the policy.
|
||||
the policy is deleted regardless of its current etag.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -5,19 +5,18 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud beta iam policies update POLICY_ID
|
||||
--attachment-point=ATTACHMENT_POINT --kind=KIND
|
||||
--policy-file=POLICY_FILE [--etag=ETAG] [GCLOUD_WIDE_FLAG ...]
|
||||
--policy-file=POLICY_FILE [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update the policy on the given attachment point with the given name.
|
||||
|
||||
EXAMPLES
|
||||
The following command updates the IAM policy defined at the resource
|
||||
project 123 of kind denypolicies and id my-deny-policy, with etag abc:
|
||||
project 123 of kind denypolicies and id my-deny-policy:
|
||||
|
||||
$ gcloud beta iam policies update my-deny-policy \
|
||||
--attachment-point=cloudresourcemanager.googleapis.com/\
|
||||
projects/123 --kind=denypolicies --policy-file=policy.json \
|
||||
--etag=abc
|
||||
projects/123 --kind=denypolicies --policy-file=policy.json
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
POLICY_ID
|
||||
|
|
@ -36,11 +35,6 @@ REQUIRED FLAGS
|
|||
Path to the file that contains the policy, in JSON or YAML format. For
|
||||
valid syntax, see https://cloud.google.com/iam/help/deny/policy-syntax.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--etag=ETAG
|
||||
Etag that identifies the version of the existing policy. If omitted,
|
||||
the command gets the etag for the current version of the policy.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue