gcloud beta resource-manager capabilities update

NAME
gcloud beta resource-manager capabilities update - update a folder capability
SYNOPSIS
gcloud beta resource-manager capabilities updateCAPABILITY_ID--[no-]enable[--update-mask=UPDATE_MASK][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Command to Update/Set thevalue field of theFolder capability. This can be done by using the--enable flag toset the value to True, and the--no-enable flag to set the value toFalse.

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 givenfolder/capability.
EXAMPLES
The following command updates a capability with the IDfolders/123/capabilities/app-management to have the value True:
gcloudbetaresource-managercapabilitiesupdate"folders/123/capabilities/app-management"--enable

In order to set the value to False, the following command can be used:

gcloudbetaresource-managercapabilitiesupdate"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 setto 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
This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudresource-managercapabilitiesupdate
gcloudalpharesource-managercapabilitiesupdate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-09 UTC.