mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Jul 23 10:59:14 UTC 2025
This commit is contained in:
parent
fe3a430c1d
commit
0acbd64d02
208 changed files with 2473 additions and 622 deletions
|
|
@ -9,7 +9,8 @@ SYNOPSIS
|
|||
[--default-storage-class=DEFAULT_STORAGE_CLASS,
|
||||
-c DEFAULT_STORAGE_CLASS, -s DEFAULT_STORAGE_CLASS]
|
||||
[--enable-hierarchical-namespace] [--enable-per-object-retention]
|
||||
[--lifecycle-file=LIFECYCLE_FILE] [--location=LOCATION, -l LOCATION]
|
||||
[--ip-filter-file=IP_FILTER_FILE] [--lifecycle-file=LIFECYCLE_FILE]
|
||||
[--location=LOCATION, -l LOCATION]
|
||||
[--[no-]pap, --[no-]public-access-prevention]
|
||||
[--placement=[REGION,...]]
|
||||
[--recovery-point-objective=SETTING, --rpo=SETTING]
|
||||
|
|
@ -65,6 +66,27 @@ FLAGS
|
|||
Enables each object in the bucket to have its own retention settings,
|
||||
which prevents deletion until stored for a specific length of time.
|
||||
|
||||
--ip-filter-file=IP_FILTER_FILE
|
||||
Sets the IP filter for the bucket. The IP filter is a list of ip ranges
|
||||
that are allowed to access the bucket. For example, The following JSON
|
||||
document shows the IP filter configuration with mode enabled and list
|
||||
of public network sources and vpc network sources:
|
||||
|
||||
{
|
||||
"mode": "Enabled",
|
||||
"publicNetworkSource": { "allowedIpCidrRanges": ["0.0.0.0/0"] },
|
||||
"vpcNetworkSources": [
|
||||
{
|
||||
"network": "projects/PROJECT_NAME/global/networks/NETWORK_NAME",
|
||||
"allowedIpCidrRanges": ["0.0.0.0/0"]
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
For more information about supported configurations, see Cloud Storage
|
||||
bucket IP filtering configurations
|
||||
(https://cloud.google.com/storage/docs/create-ip-filter#ip-filtering-configurations)
|
||||
|
||||
--lifecycle-file=LIFECYCLE_FILE
|
||||
Sets the lifecycle management configuration on a bucket. For example,
|
||||
The following lifecycle management configuration JSON document
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ SYNOPSIS
|
|||
[--clear-cors | --cors-file=CORS_FILE]
|
||||
[--clear-default-encryption-key
|
||||
| --default-encryption-key=DEFAULT_ENCRYPTION_KEY]
|
||||
[--clear-ip-filter | --ip-filter-file=IP_FILTER_FILE]
|
||||
[--clear-labels | --labels-file=LABELS_FILE
|
||||
| --remove-labels=[LABEL_KEYS,...]
|
||||
--update-labels=[LABEL_KEYS_AND_VALUES,...]]
|
||||
|
|
@ -195,6 +196,32 @@ FLAGS
|
|||
--default-encryption-key=DEFAULT_ENCRYPTION_KEY
|
||||
Set the default KMS key for the bucket.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-ip-filter
|
||||
Disables and clears IP filter configuration of the bucket.
|
||||
|
||||
--ip-filter-file=IP_FILTER_FILE
|
||||
Sets the IP filter for the bucket. The IP filter is a list of ip
|
||||
ranges that are allowed to access the bucket. For example, The
|
||||
following JSON document shows the IP filter configuration with mode
|
||||
enabled and list of public network sources and vpc network sources:
|
||||
|
||||
{
|
||||
"mode": "Enabled",
|
||||
"publicNetworkSource": { "allowedIpCidrRanges": ["0.0.0.0/0"] },
|
||||
"vpcNetworkSources": [
|
||||
{
|
||||
"network": "projects/PROJECT_NAME/global/networks/NETWORK_NAME",
|
||||
"allowedIpCidrRanges": ["0.0.0.0/0"]
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
For more information about supported configurations, see Cloud
|
||||
Storage bucket IP filtering configurations
|
||||
(https://cloud.google.com/storage/docs/create-ip-filter#ip-filtering-configurations)
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue