1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-22 07:40:10 +00:00

gcloud: Wed Oct 26 10:52:11 UTC 2022

This commit is contained in:
Automated 2022-10-26 10:52:11 +00:00
parent 5c08d21169
commit 235c67283b
Failed to extract signature
215 changed files with 6787 additions and 1005 deletions

View file

@ -27,6 +27,9 @@ GCLOUD WIDE FLAGS
GROUPS
GROUP is one of the following:
policies
Manage IAM deny policies.
roles
Create and manipulate roles.

View file

@ -0,0 +1,52 @@
NAME
gcloud iam policies create - create a policy on the given attachment point
with the given name
SYNOPSIS
gcloud iam policies create POLICY_ID --attachment-point=ATTACHMENT_POINT
--kind=KIND --policy-file=POLICY_FILE [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Create a policy on the given attachment point with the given name.
EXAMPLES
The following command creates the IAM policy defined at the resource
project 123 of kind denypolicies and id my-deny-policy from the file
policy.json:
$ gcloud iam policies create my-deny-policy \
--attachment-point=cloudresourcemanager.googleapis.com/\
projects/123 --kind=denypolicies --policy-file=policy.json
POSITIONAL ARGUMENTS
POLICY_ID
Policy ID that is unique for the resource to which the policy is
attached.
REQUIRED FLAGS
--attachment-point=ATTACHMENT_POINT
Resource to which the policy is attached. For valid formats, see
https://cloud.google.com/iam/help/deny/attachment-point.
--kind=KIND
Policy type. Use denypolicies for deny policies.
--policy-file=POLICY_FILE
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.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha iam policies create
$ gcloud beta iam policies create

View file

@ -0,0 +1,52 @@
NAME
gcloud iam policies delete - delete a policy on the given attachment point
with the given name
SYNOPSIS
gcloud iam policies delete POLICY_ID --attachment-point=ATTACHMENT_POINT
--kind=KIND [--etag=ETAG] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Delete a policy on the given attachment point with the given name.
EXAMPLES
The following command deletes the IAM policy defined at the resource
project 123 of kind denypolicies and id my-deny-policy, with etag abc:
$ gcloud iam policies delete my-deny-policy \
--attachment-point=cloudresourcemanager.googleapis.com/\
projects/123 --kind=denypolicies --etag=abc
POSITIONAL ARGUMENTS
POLICY_ID
Policy ID that is unique for the resource to which the policy is
attached.
REQUIRED FLAGS
--attachment-point=ATTACHMENT_POINT
Resource to which the policy is attached. For valid formats, see
https://cloud.google.com/iam/help/deny/attachment-point.
--kind=KIND
Policy type. Use denypolicies for deny policies.
OPTIONAL FLAGS
--etag=ETAG
Etag that identifies the version of the existing policy. If omitted,
the policy is deleted regardless of its current etag.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha iam policies delete
$ gcloud beta iam policies delete

47
gcloud/iam/policies/get Normal file
View file

@ -0,0 +1,47 @@
NAME
gcloud iam policies get - get a policy on the given attachment point with
the given name
SYNOPSIS
gcloud iam policies get POLICY_ID --attachment-point=ATTACHMENT_POINT
--kind=KIND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Get a policy on the given attachment point with the given name.
EXAMPLES
The following command gets the IAM policy defined at the resource project
123 of kind denypolicies and id my-deny-policy:
$ gcloud iam policies get my-deny-policy \
--attachment-point=cloudresourcemanager.googleapis.com/\
projects/123 --kind=denypolicies
POSITIONAL ARGUMENTS
POLICY_ID
Policy ID that is unique for the resource to which the policy is
attached.
REQUIRED FLAGS
--attachment-point=ATTACHMENT_POINT
Resource to which the policy is attached. For valid formats, see
https://cloud.google.com/iam/help/deny/attachment-point.
--kind=KIND
Policy type. Use denypolicies for deny policies.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha iam policies get
$ gcloud beta iam policies get

39
gcloud/iam/policies/help Normal file
View file

@ -0,0 +1,39 @@
NAME
gcloud iam policies - manage IAM deny policies
SYNOPSIS
gcloud iam policies COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Commands for managing Google Cloud IAM deny policies.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
create
Create a policy on the given attachment point with the given name.
delete
Delete a policy on the given attachment point with the given name.
get
Get a policy on the given attachment point with the given name.
list
List the policies on the given attachment point.
update
Update the policy on the given attachment point with the given name.
NOTES
These variants are also available:
$ gcloud alpha iam policies
$ gcloud beta iam policies

73
gcloud/iam/policies/list Normal file
View file

@ -0,0 +1,73 @@
NAME
gcloud iam policies list - list the policies on the given attachment point
SYNOPSIS
gcloud iam policies list --attachment-point=ATTACHMENT_POINT --kind=KIND
[--page_token=PAGE_TOKEN] [--filter=EXPRESSION] [--limit=LIMIT]
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
List the policies on the given attachment point.
EXAMPLES
The following command lists the IAM policy defined at the resource project
123 of kind denypolicies:
$ gcloud iam policies list \
--attachment-point=cloudresourcemanager.googleapis.com/\
projects/123 --kind=denypolicies
REQUIRED FLAGS
--attachment-point=ATTACHMENT_POINT
Resource to which the policy is attached. For valid formats, see
https://cloud.google.com/iam/help/deny/attachment-point.
--kind=KIND
Policy type. Use denypolicies for deny policies.
FLAGS
--page_token=PAGE_TOKEN
Page token received from a previous call. Provide this token to
retrieve the next page.
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filter EXPRESSION to each resource item to be listed.
If the expression evaluates True, then that item is listed. For more
details and examples of filter expressions, run $ gcloud topic filters.
This flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--limit=LIMIT
Maximum number of resources to list. The default is unlimited. This
flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--page-size=PAGE_SIZE
Some services group resource list output into pages. This flag
specifies the maximum number of resources per page. The default is
determined by the service if it supports paging, otherwise it is
unlimited (no paging). Paging may be applied before or after --filter
and --limit depending on the service.
--sort-by=[FIELD,...]
Comma-separated list of resource field key names to sort by. The
default order is ascending. Prefix a field with ``~'' for descending
order on that field. This flag interacts with other flags that are
applied in this order: --flatten, --sort-by, --filter, --limit.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha iam policies list
$ gcloud beta iam policies list

View file

@ -0,0 +1,51 @@
NAME
gcloud iam policies update - update the policy on the given attachment
point with the given name
SYNOPSIS
gcloud iam policies update POLICY_ID --attachment-point=ATTACHMENT_POINT
--kind=KIND --policy-file=POLICY_FILE [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
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:
$ gcloud iam policies update my-deny-policy \
--attachment-point=cloudresourcemanager.googleapis.com/\
projects/123 --kind=denypolicies --policy-file=policy.json
POSITIONAL ARGUMENTS
POLICY_ID
Policy ID that is unique for the resource to which the policy is
attached.
REQUIRED FLAGS
--attachment-point=ATTACHMENT_POINT
Resource to which the policy is attached. For valid formats, see
https://cloud.google.com/iam/help/deny/attachment-point.
--kind=KIND
Policy type. Use denypolicies for deny policies.
--policy-file=POLICY_FILE
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.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha iam policies update
$ gcloud beta iam policies update