gcloud resource-manager capabilities update Stay organized with collections Save and categorize content based on your preferences.
- 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 the
valuefield of the Folder capability.This can be done by using the--enableflag to set the value toTrue, and the--no-enableflag 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 ID
folders/123/capabilities/app-managementto have the value True:gcloudresource-managercapabilitiesupdate"folders/123/capabilities/app-management"--enableIn 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
--enableto enable and--no-enableto 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 helpfor details. - NOTES
- These variants are also available:
gcloudalpharesource-managercapabilitiesupdategcloudbetaresource-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.