buckets_storage_layout
Creates, updates, deletes, gets or lists a buckets_storage_layout
resource.
Overview
Name | buckets_storage_layout |
Type | Resource |
Id | google.storage.buckets_storage_layout |
Fields
Name | Datatype | Description |
---|---|---|
bucket | string | The name of the bucket. |
customPlacementConfig | object | The bucket's custom placement configuration for Custom Dual Regions. |
hierarchicalNamespace | object | The bucket's hierarchical namespace configuration. |
kind | string | The kind of item this is. For storage layout, this is always storage#storageLayout. |
location | string | The location of the bucket. |
locationType | string | The type of the bucket location. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_storage_layout | SELECT | bucket | Returns the storage layout configuration for the specified bucket. Note that this operation requires storage.objects.list permission. |
SELECT
examples
Returns the storage layout configuration for the specified bucket. Note that this operation requires storage.objects.list permission.
SELECT
bucket,
customPlacementConfig,
hierarchicalNamespace,
kind,
location,
locationType
FROM google.storage.buckets_storage_layout
WHERE bucket = '{{ bucket }}';