mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Thu Jan 19 00:56:33 UTC 2023
This commit is contained in:
parent
348d9760ee
commit
1248f773ec
1462 changed files with 51835 additions and 5402 deletions
81
gcloud/alpha/compute/backend-buckets/add-iam-policy-binding
Normal file
81
gcloud/alpha/compute/backend-buckets/add-iam-policy-binding
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
NAME
|
||||
gcloud alpha compute backend-buckets add-iam-policy-binding - add an IAM
|
||||
policy binding to a Compute Engine backend bucket
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute backend-buckets add-iam-policy-binding BACKEND_BUCKET
|
||||
--member=PRINCIPAL --role=ROLE [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Add an IAM policy binding to a Compute Engine backend bucket.
|
||||
|
||||
EXAMPLES
|
||||
To add an IAM policy binding for the role of
|
||||
'compute.loadBalancerServiceUser' for the user 'test-user@gmail.com' with
|
||||
backend bucket 'my-backend-bucket' run:
|
||||
|
||||
$ gcloud alpha compute backend-buckets add-iam-policy-binding \
|
||||
my-backend-bucket --member='user:test-user@gmail.com' \
|
||||
--role='roles/compute.loadBalancerServiceUser'
|
||||
|
||||
See https://cloud.google.com/iam/docs/managing-policies for details of
|
||||
policy role and member types.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Backend bucket resource - The backend bucket for which to add the IAM
|
||||
policy to. This represents a Cloud resource. (NOTE) Some attributes are
|
||||
not given arguments in this group but can be set in other ways. To set the
|
||||
project attribute:
|
||||
◆ provide the argument backend_bucket on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property core/project;
|
||||
◆ provide the argument --project on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
BACKEND_BUCKET
|
||||
ID of the backend bucket or fully qualified identifier for the
|
||||
backend bucket. To set the backend_bucket attribute:
|
||||
▸ provide the argument backend_bucket on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--member=PRINCIPAL
|
||||
The principal to add the binding for. Should be of the form
|
||||
user|group|serviceAccount:email or domain:domain.
|
||||
|
||||
Examples: user:test-user@gmail.com, group:admins@example.com,
|
||||
serviceAccount:test123@example.domain.com, or
|
||||
domain:example.domain.com.
|
||||
|
||||
Some resources also accept the following special values:
|
||||
◆ allUsers - Special identifier that represents anyone who is on the
|
||||
internet, with or without a Google account.
|
||||
◆ allAuthenticatedUsers - Special identifier that represents anyone
|
||||
who is authenticated with a Google account or a service account.
|
||||
|
||||
--role=ROLE
|
||||
Role name to assign to the principal. The role name is the complete
|
||||
path of a predefined role, such as roles/logging.viewer, or the role ID
|
||||
for a custom role, such as
|
||||
organizations/{ORGANIZATION_ID}/roles/logging.viewer.
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the compute/alpha API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/compute/
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta compute backend-buckets add-iam-policy-binding
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ FLAGS
|
|||
|
||||
--resource-format=RESOURCE_FORMAT
|
||||
Format of the configuration to export. Available configuration formats
|
||||
are Kubernetes Resource Model (krm) or Terraform HCL (terraform).
|
||||
are Kubernetes Resource Model YAML (krm) or Terraform HCL (terraform).
|
||||
Command defaults to "krm". RESOURCE_FORMAT must be one of: krm,
|
||||
terraform.
|
||||
|
||||
|
|
|
|||
86
gcloud/alpha/compute/backend-buckets/get-iam-policy
Normal file
86
gcloud/alpha/compute/backend-buckets/get-iam-policy
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
NAME
|
||||
gcloud alpha compute backend-buckets get-iam-policy - get the IAM policy
|
||||
for a Compute Engine backend bucket
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute backend-buckets get-iam-policy BACKEND_BUCKET
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute backend-buckets get-iam-policy displays the
|
||||
IAM policy associated with a Compute Engine backend bucket in a project. If
|
||||
formatted as JSON, the output can be edited and used as a policy file for
|
||||
set-iam-policy. The output includes an "etag" field identifying the version
|
||||
emitted and allowing detection of concurrent policy updates; see $ {parent}
|
||||
set-iam-policy for additional details.
|
||||
|
||||
EXAMPLES
|
||||
To print the IAM policy for a given backend bucket, run:
|
||||
|
||||
$ gcloud alpha compute backend-buckets get-iam-policy \
|
||||
my-backend-bucket
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Backend bucket resource - The network to display the IAM policy for. This
|
||||
represents a Cloud resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways. To set the project
|
||||
attribute:
|
||||
◆ provide the argument backend_bucket on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property core/project;
|
||||
◆ provide the argument --project on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
BACKEND_BUCKET
|
||||
ID of the backend bucket or fully qualified identifier for the
|
||||
backend bucket. To set the backend_bucket attribute:
|
||||
▸ provide the argument backend_bucket on the command line.
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the compute/alpha API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/compute/
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta compute backend-buckets get-iam-policy
|
||||
|
||||
|
|
@ -30,6 +30,9 @@ GROUPS
|
|||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
add-iam-policy-binding
|
||||
(ALPHA) Add an IAM policy binding to a Compute Engine backend bucket.
|
||||
|
||||
add-signed-url-key
|
||||
(ALPHA) Add Cloud CDN Signed URL key to a backend bucket.
|
||||
|
||||
|
|
@ -45,9 +48,19 @@ COMMANDS
|
|||
describe
|
||||
(ALPHA) Describe a backend bucket.
|
||||
|
||||
get-iam-policy
|
||||
(ALPHA) Get the IAM policy for a Compute Engine backend bucket.
|
||||
|
||||
list
|
||||
(ALPHA) List Google Compute Engine backend buckets.
|
||||
|
||||
remove-iam-policy-binding
|
||||
(ALPHA) Remove an IAM policy binding from a Compute Engine backend
|
||||
bucket.
|
||||
|
||||
set-iam-policy
|
||||
(ALPHA) Set the IAM policy binding for a Compute Engine backend bucket.
|
||||
|
||||
update
|
||||
(ALPHA) Update a backend bucket.
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,82 @@
|
|||
NAME
|
||||
gcloud alpha compute backend-buckets remove-iam-policy-binding - remove an
|
||||
IAM policy binding from a Compute Engine backend bucket
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute backend-buckets remove-iam-policy-binding
|
||||
BACKEND_BUCKET --member=PRINCIPAL --role=ROLE [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Remove an IAM policy binding from a Compute Engine backend bucket.
|
||||
|
||||
EXAMPLES
|
||||
To remove an IAM policy binding for the role of
|
||||
'roles/compute.loadBalancerServiceUser' for the user 'test-user@gmail.com'
|
||||
with backend bucket 'my-backend-bucket' run:
|
||||
|
||||
$ gcloud alpha compute backend-buckets remove-iam-policy-binding \
|
||||
my-backend-bucket --member='user:test-user@gmail.com' \
|
||||
--role='roles/compute.loadBalancerServiceUser'
|
||||
|
||||
See https://cloud.google.com/iam/docs/managing-policies for details of
|
||||
policy role and member types.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Backend bucket resource - The backend bucket for which to remove the IAM
|
||||
policy from. This represents a Cloud resource. (NOTE) Some attributes are
|
||||
not given arguments in this group but can be set in other ways. To set the
|
||||
project attribute:
|
||||
◆ provide the argument backend_bucket on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property core/project;
|
||||
◆ provide the argument --project on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
BACKEND_BUCKET
|
||||
ID of the backend bucket or fully qualified identifier for the
|
||||
backend bucket. To set the backend_bucket attribute:
|
||||
▸ provide the argument backend_bucket on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--member=PRINCIPAL
|
||||
The principal to remove the binding for. Should be of the form
|
||||
user|group|serviceAccount:email or domain:domain.
|
||||
|
||||
Examples: user:test-user@gmail.com, group:admins@example.com,
|
||||
serviceAccount:test123@example.domain.com, or
|
||||
domain:example.domain.com.
|
||||
|
||||
Deleted principals have an additional deleted: prefix and a ?uid=UID
|
||||
suffix, where UID is a unique identifier for the principal. Example:
|
||||
deleted:user:test-user@gmail.com?uid=123456789012345678901.
|
||||
|
||||
Some resources also accept the following special values:
|
||||
◆ allUsers - Special identifier that represents anyone who is on the
|
||||
internet, with or without a Google account.
|
||||
◆ allAuthenticatedUsers - Special identifier that represents anyone
|
||||
who is authenticated with a Google account or a service account.
|
||||
|
||||
--role=ROLE
|
||||
The role to remove the principal from.
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the compute/alpha API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/compute/
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta compute backend-buckets remove-iam-policy-binding
|
||||
|
||||
67
gcloud/alpha/compute/backend-buckets/set-iam-policy
Normal file
67
gcloud/alpha/compute/backend-buckets/set-iam-policy
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
NAME
|
||||
gcloud alpha compute backend-buckets set-iam-policy - set the IAM policy
|
||||
binding for a Compute Engine backend bucket
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute backend-buckets set-iam-policy BACKEND_BUCKET
|
||||
POLICY_FILE [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Sets the IAM policy for the given backend bucket as defined in a
|
||||
JSON or YAML file.
|
||||
|
||||
EXAMPLES
|
||||
The following command reads an IAM policy defined in a JSON file called
|
||||
'policy.json' and sets it for the backend bucket called
|
||||
'my-backend-bucket':
|
||||
|
||||
$ gcloud alpha compute backend-buckets set-iam-policy \
|
||||
my-backend-bucket policy.json
|
||||
|
||||
See https://cloud.google.com/iam/docs/managing-policies for details of the
|
||||
policy file format and contents.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Backend bucket resource - The backend bucket to set the IAM policy for.
|
||||
This represents a Cloud resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways. To set the project
|
||||
attribute:
|
||||
◆ provide the argument backend_bucket on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property core/project;
|
||||
◆ provide the argument --project on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
BACKEND_BUCKET
|
||||
ID of the backend bucket or fully qualified identifier for the
|
||||
backend bucket. To set the backend_bucket attribute:
|
||||
▸ provide the argument backend_bucket on the command line.
|
||||
|
||||
POLICY_FILE
|
||||
Path to a local JSON or YAML formatted file containing a valid policy.
|
||||
|
||||
The output of the get-iam-policy command is a valid file, as is any
|
||||
JSON or YAML file conforming to the structure of a Policy
|
||||
(https://cloud.google.com/iam/reference/rest/v1/Policy).
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the compute/alpha API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/compute/
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta compute backend-buckets set-iam-policy
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue