mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-13 16:37:00 +00:00
58 lines
2 KiB
Text
58 lines
2 KiB
Text
NAME
|
|
gcloud resource-manager capabilities update - update a folder capability
|
|
|
|
SYNOPSIS
|
|
gcloud resource-manager capabilities update CAPABILITY_ID --[no-]enable
|
|
[--update-mask=UPDATE_MASK] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Command to Update/Set the value field of the Folder capability. This can be
|
|
done by using the --enable flag to set the value to True, and the
|
|
--no-enable flag to set the value to False.
|
|
|
|
This command can fail for the following reasons:
|
|
▪ There is no folder parenting the given capability name.
|
|
▪ The active account does not have permission to update the given
|
|
folder/capability.
|
|
|
|
EXAMPLES
|
|
The following command updates a capability with the ID
|
|
folders/123/capabilities/app-management to have the value True:
|
|
|
|
$ gcloud resource-manager capabilities update \
|
|
"folders/123/capabilities/app-management" --enable
|
|
|
|
In order to set the value to False, the following command can be used:
|
|
|
|
$ gcloud resource-manager capabilities update \
|
|
"folders/123/capabilities/app-management" --no-enable
|
|
|
|
POSITIONAL ARGUMENTS
|
|
CAPABILITY_ID
|
|
ID for the capability you want to update.
|
|
|
|
REQUIRED FLAGS
|
|
--[no-]enable
|
|
Enable the Capability. Use --enable to enable and --no-enable to
|
|
disable.
|
|
|
|
OPTIONAL FLAGS
|
|
--update-mask=UPDATE_MASK
|
|
Update Mask. This is an optional field, and the only valid value this
|
|
can be set to currently is "value".
|
|
|
|
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 resource-manager capabilities update
|
|
|
|
$ gcloud beta resource-manager capabilities update
|
|
|