gcloud resource-manager capabilities update

NAME
gcloud resource-manager capabilities update - update a folder capability
SYNOPSIS
gcloud resource-manager capabilities updateCAPABILITY_ID--[no-]enable[--update-mask=UPDATE_MASK][GCLOUD_WIDE_FLAG]
DESCRIPTION
Command to Update/Set thevalue field of the Folder capability.This can be done by using the--enable flag to set the value toTrue, 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 givenfolder/capability.
EXAMPLES
The following command updates a capability with the IDfolders/123/capabilities/app-management to have the value True:
gcloudresource-managercapabilitiesupdate"folders/123/capabilities/app-management"--enable

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

gcloudresource-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
These variants are also available:
gcloudalpharesource-managercapabilitiesupdate
gcloudbetaresource-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.