gcloud beta resource-manager capabilities update Stay organized with collections Save and categorize content based on your preferences.
- 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 thevaluefield of theFolder capability. This can be done by using the--enableflag toset the value to True, and the--no-enableflag 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 ID
folders/123/capabilities/app-managementto have the value True:gcloudbetaresource-managercapabilitiesupdate"folders/123/capabilities/app-management"--enableIn 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
--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
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudresource-managercapabilitiesupdategcloudalpharesource-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.