gcloud alpha storage intelligence-configs enable

NAME
gcloud alpha storage intelligence-configs enable - enables storage intelligence
SYNOPSIS
gcloud alpha storage intelligence-configs enable(--organization=ORGANIZATION    |--project=PROJECT    |--sub-folder=SUB_FOLDER)[--trial-edition--exclude-bucket-id-regexes=[EXCLUDE_BUCKET_ID_REGEXES,…]    |--include-bucket-id-regexes=[INCLUDE_BUCKET_ID_REGEXES,…]--exclude-locations=[EXCLUDE_LOCATIONS,…]    |--include-locations=[INCLUDE_LOCATIONS,…]][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Enable storage intelligence plan for the organization,sub-folder or project along with filters. The command setsSTANDARDedition by default if no other edition flags like ``--trial-edition`` arespecified.
EXAMPLES
To remove buckets from the storage intelligence plan, Use the following commandwith--exclude-bucket-id-regexes flag. tospecify list of bucket id regexes.,
gcloudalphastorageintelligence-configsenable--organization=my-org--exclude-bucket-id-regexes="my-bucket-.*"

To apply location based filters in the storage intelligence plan, Use--include-locations or--exclude-locations flags to specifyallowed list of locations or excluded list of locations. The following commandupdates storage intelligence plan of sub-folder123456 with thespecified list of included locations.,

gcloudalphastorageintelligence-configsenable--sub-folder=123456--include-locations="us-east1","us-west1"

The following command enables storage intelligence with Trial edition for thegiven project,

gcloudalphastorageintelligence-configsenable--project=my-project--trial-edition
REQUIRED FLAGS
Exactly one of these must be specified:
--organization=ORGANIZATION
Specifies organization id for the storage intelligence config.
--project=PROJECT
Specifies project for the storage intelligence config.
--sub-folder=SUB_FOLDER
Specifies sub-folder id for the storage intelligence config.
SETTINGS FLAGS
--trial-edition
Enables Storage Intelligence for TRIAL edition.
At most one of these can be specified:
--exclude-bucket-id-regexes=[EXCLUDE_BUCKET_ID_REGEXES,…]
Sets filter for bucket id regexes to exclude. Accepts list of bucket id regexesin comma separated format. If the regex contains special characters that mayhave a specific meaning in the shell, escape them using backslashes(\). To clearbucket id regexes list, provide flag with an empty list. e.g--exclude-bucket-id-regexes="" or--exclude-bucket-id-regexes= .
--include-bucket-id-regexes=[INCLUDE_BUCKET_ID_REGEXES,…]
Sets filter for bucket id regexes to include. Accepts list of bucket id regexesin comma separated format. If the regex contains special characters that mayhave a specific meaning in the shell, escape them using backslashes(\). To clearbucket id regexes list, provide flag with empty list. e.g--include-bucket-id-regexes="" or--include-bucket-id-regexes= .
At most one of these can be specified:
--exclude-locations=[EXCLUDE_LOCATIONS,…]
Comma separated list oflocationsto exclude in storage intelligence filter. To clear excluded locations, provideflag with empty list. e.g--exclude-locations="" or--exclude-locations= .
--include-locations=[INCLUDE_LOCATIONS,…]
Comma separated list oflocationsto include in storage intelligence filter. To clear included locations, provideflag with empty list. e.g--include-locations="" or--include-locations= .
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 alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudstorageintelligence-configsenable

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-11-18 UTC.