1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-22 15:52:30 +00:00

gcloud: Thu Nov 7 09:57:40 UTC 2024

This commit is contained in:
Automated 2024-11-07 09:57:40 +00:00
parent d7d92f8000
commit 7da5872e5c
106 changed files with 3468 additions and 293 deletions

View file

@ -0,0 +1,44 @@
NAME
gcloud alpha storage management-hub describe - describes Management Hub
SYNOPSIS
gcloud alpha storage management-hub describe
(--organization=ORGANIZATION | --project=PROJECT
| --sub-folder=SUB_FOLDER) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Describe management hub for the organization, sub-folder or
project.
EXAMPLES
The following command describes management hub for the sub-folder with id
123456.
$gcloud alpha storage management-hub describe --sub-folder=123456
REQUIRED FLAGS
Exactly one of these must be specified:
--organization=ORGANIZATION
Specifies organization id for the management hub.
--project=PROJECT
Specifies project for the management hub.
--sub-folder=SUB_FOLDER
Specifies sub-folder id for the management hub.
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 this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.

View file

@ -0,0 +1,42 @@
NAME
gcloud alpha storage management-hub disable - disables Management Hub
SYNOPSIS
gcloud alpha storage management-hub disable
(--organization=ORGANIZATION | --project=PROJECT
| --sub-folder=SUB_FOLDER) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Disable management hub for the organization, sub-folder or project.
EXAMPLES
The following command disables management hub for the project.
$gcloud alpha storage management-hub disable --project=my-project
REQUIRED FLAGS
Exactly one of these must be specified:
--organization=ORGANIZATION
Specifies organization id for the management hub.
--project=PROJECT
Specifies project for the management hub.
--sub-folder=SUB_FOLDER
Specifies sub-folder id for the management hub.
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 this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.

View file

@ -0,0 +1,115 @@
NAME
gcloud alpha storage management-hub enable - enables Management Hub
SYNOPSIS
gcloud alpha storage management-hub enable
(--organization=ORGANIZATION | --project=PROJECT
| --sub-folder=SUB_FOLDER)
[--exclude-locations=[EXCLUDE_LOCATIONS,...]
| --include-locations=[INCLUDE_LOCATIONS,...]]
[--exclude-bucket-id-regexes=[EXCLUDE_BUCKET_ID_REGEXES,...]
--exclude-bucket-ids=[EXCLUDE_BUCKET_IDS,...]
| --include-bucket-id-regexes=[INCLUDE_BUCKET_ID_REGEXES,...]
--include-bucket-ids=[INCLUDE_BUCKET_IDS,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Enable management hub plan for the organization, sub-folder or
project along with filters.
EXAMPLES
To remove buckets from the management hub plan, Use the following command
with --exclude-bucket-ids and --exclude-bucket-regexes flags to specify
list of bucket ids and bucket id regexes.,
$gcloud alpha storage management-hub enable --organization=my-org --exclude-bucket-ids="my-bucket" --exclude-bucket-regexes="my-bucket-.*"
To apply location based filters in the management hub plan, Use
--include-locations or --exclude-locations flags to specify allowed list of
locations or excluded list of locations. The following command updates
management hub plan of sub-folder 123456 with the specified list of
included locations.,
$gcloud alpha storage management-hub enable --sub-folder=123456 --include-locations="us-east1","us-west1"
REQUIRED FLAGS
Exactly one of these must be specified:
--organization=ORGANIZATION
Specifies organization id for the management hub.
--project=PROJECT
Specifies project for the management hub.
--sub-folder=SUB_FOLDER
Specifies sub-folder id for the management hub.
LOCATION FLAGS
At most one of these can be specified:
--exclude-locations=[EXCLUDE_LOCATIONS,...]
Comma separated list of locations
(https://cloud.google.com/storage/docs/locations#available-locations)to
exclude in Management Hub filter. To clear excluded locations,
provide flag with empty list. e.g --exclude-locations="" or
--exclude-locations= .
--include-locations=[INCLUDE_LOCATIONS,...]
Comma separated list of locations
(https://cloud.google.com/storage/docs/locations#available-locations)
to include in management hub filter. To clear included locations,
provide flag with empty list. e.g --include-locations="" or
--include-locations= .
BUCKET_FILTER FLAGS
At most one of these can be specified:
Sets the cloud storage buckets exclusion filter. Full filters should be
specified using available flags in this group, gcloud CLI infers missing
flags of this group as empty which will result in clearing of the
individual filters.
--exclude-bucket-id-regexes=[EXCLUDE_BUCKET_ID_REGEXES,...]
Sets filter for bucket id regexes to exclude. Accepts list of
bucket id regexes in comma separated format. If the regex contains
special characters that may have a specific meaning in the shell
(like $, &, , etc.), escape them using backslashes(\). To clear
bucket id regexes list, provide flag with an empty list. e.g
--exclude-bucket-id-regexes="" or --exclude-bucket-id-regexes= .
--exclude-bucket-ids=[EXCLUDE_BUCKET_IDS,...]
Comma separated list of bucket ids to exclude in the management hub
filter. To clear bucket id list, provide flag with an empty list.
e.g --exclude-bucket-ids="" or --exclude-bucket-ids= .
Sets the cloud storage buckets inclusion filter. Full filters should be
specified using available flags in this group, gcloud CLI infers missing
flags of this group as empty which will result in clearing of the
individual filters.
--include-bucket-id-regexes=[INCLUDE_BUCKET_ID_REGEXES,...]
Sets filter for bucket id regexes to include. Accepts list of
bucket id regexes in comma separated format. If the regex contains
special characters that may have a specific meaning in the shell
(like $, &, , etc.), escape them using backslashes(\). To clear
bucket id regexes list, provide flag with empty list. e.g
--include-bucket-id-regexes="" or --include-bucket-id-regexes= .
--include-bucket-ids=[INCLUDE_BUCKET_IDS,...]
Comma separated list of bucket ids to include in the management hub
filter. To clear bucket id list, provide flag with empty list. e.g
--include-bucket-ids="" or --include-bucket-ids= .
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 this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.

View file

@ -0,0 +1,35 @@
NAME
gcloud alpha storage management-hub - manage Cloud Storage Management Hub
SYNOPSIS
gcloud alpha storage management-hub COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Manage Cloud Storage Management Hub.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
describe
(ALPHA) Describes Management Hub.
disable
(ALPHA) Disables Management Hub.
enable
(ALPHA) Enables Management Hub.
update
(ALPHA) Updates Management Hub.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.

View file

@ -0,0 +1,143 @@
NAME
gcloud alpha storage management-hub update - updates Management Hub
SYNOPSIS
gcloud alpha storage management-hub update
(--organization=ORGANIZATION | --project=PROJECT
| --sub-folder=SUB_FOLDER)
(--inherit-from-parent
| --exclude-bucket-id-regexes=[EXCLUDE_BUCKET_ID_REGEXES,...]
--exclude-bucket-ids=[EXCLUDE_BUCKET_IDS,...]
| --include-bucket-id-regexes=[INCLUDE_BUCKET_ID_REGEXES,...]
--include-bucket-ids=[INCLUDE_BUCKET_IDS,...]
--exclude-locations=[EXCLUDE_LOCATIONS,...]
| --include-locations=[INCLUDE_LOCATIONS,...]) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update management hub plan for the organization, sub-folder or
project.
EXAMPLES
To limit buckets in the management hub plan, Use the following command with
--include-bucket-ids and --include-bucket-regexes flags to specify list of
bucket ids and bucket id regexes.,
$gcloud alpha storage management-hub update --organization=my-org --include-bucket-ids=my-bucket --include-bucket-regexes=my-bucket-.*
To apply location based filters in the management hub plan, Use
--include-locations or --exclude-locations flags to specify allowed list of
locations or excluded list of locations. The following command updates
management hub plan of sub-folder 123456 with the specified list of
excluded locations.,
$gcloud alpha storage management-hub update --sub-folder=123456 --exclude-locations=us-east1,us-west1
The following command updates management hub for the given project by
inheriting existing management hub plan from the hierarchical parent
resource.,
$gcloud alpha storage management-hub update --project=my-project --inherit-from-parent
To clear included locations from the project management hub, Use the
following command.,
$gcloud alpha storage management-hub update --project=my-project --include-locations=
To clear excluded bucket ids from the project management hub and to replace
existing excluded bucket ids regexes, Use the following command.,
$gcloud alpha storage management-hub update --project=my-project --exclude-bucket-id-regexes="test1*","test2*" --exclude-bucket-ids=""
Alternatively, use the following command to do same operation since the
absense of cloud storage bucket filter flags will be considered as empty
list,
$gcloud alpha storage management-hub update --project=my-project --exclude-bucket-id-regexes="test1*","test2*"
REQUIRED FLAGS
Exactly one of these must be specified:
--organization=ORGANIZATION
Specifies organization id for the management hub.
--project=PROJECT
Specifies project for the management hub.
--sub-folder=SUB_FOLDER
Specifies sub-folder id for the management hub.
Exactly one of these must be specified:
--inherit-from-parent
Specifies management hub config to be inherited from parent.
At most one of these can be specified:
Sets the cloud storage buckets exclusion filter. Full filters should
be specified using available flags in this group, gcloud CLI infers
missing flags of this group as empty which will result in clearing of
the individual filters.
--exclude-bucket-id-regexes=[EXCLUDE_BUCKET_ID_REGEXES,...]
Sets filter for bucket id regexes to exclude. Accepts list of
bucket id regexes in comma separated format. If the regex
contains special characters that may have a specific meaning in
the shell (like $, &, , etc.), escape them using backslashes(\).
To clear bucket id regexes list, provide flag with an empty list.
e.g --exclude-bucket-id-regexes="" or
--exclude-bucket-id-regexes= .
--exclude-bucket-ids=[EXCLUDE_BUCKET_IDS,...]
Comma separated list of bucket ids to exclude in the management
hub filter. To clear bucket id list, provide flag with an empty
list. e.g --exclude-bucket-ids="" or --exclude-bucket-ids= .
Sets the cloud storage buckets inclusion filter. Full filters should
be specified using available flags in this group, gcloud CLI infers
missing flags of this group as empty which will result in clearing of
the individual filters.
--include-bucket-id-regexes=[INCLUDE_BUCKET_ID_REGEXES,...]
Sets filter for bucket id regexes to include. Accepts list of
bucket id regexes in comma separated format. If the regex
contains special characters that may have a specific meaning in
the shell (like $, &, , etc.), escape them using backslashes(\).
To clear bucket id regexes list, provide flag with empty list.
e.g --include-bucket-id-regexes="" or
--include-bucket-id-regexes= .
--include-bucket-ids=[INCLUDE_BUCKET_IDS,...]
Comma separated list of bucket ids to include in the management
hub filter. To clear bucket id list, provide flag with empty
list. e.g --include-bucket-ids="" or --include-bucket-ids= .
At most one of these can be specified:
--exclude-locations=[EXCLUDE_LOCATIONS,...]
Comma separated list of locations
(https://cloud.google.com/storage/docs/locations#available-locations)to
exclude in Management Hub filter. To clear excluded locations,
provide flag with empty list. e.g --exclude-locations="" or
--exclude-locations= .
--include-locations=[INCLUDE_LOCATIONS,...]
Comma separated list of locations
(https://cloud.google.com/storage/docs/locations#available-locations)
to include in management hub filter. To clear included locations,
provide flag 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 this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.