StorageLayout(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The storage layout configuration of a bucket.
Attributes |
|
---|---|
Name | Description |
name |
str
Output only. The name of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout
|
location |
str
Output only. The location of the bucket. |
location_type |
str
Output only. The location type of the bucket (region, dual-region, multi-region, etc). |
custom_placement_config |
google.cloud.storage_control_v2.types.StorageLayout.CustomPlacementConfig
Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket. |
hierarchical_namespace |
google.cloud.storage_control_v2.types.StorageLayout.HierarchicalNamespace
Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled. |
Classes
CustomPlacementConfig
CustomPlacementConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration for Custom Dual Regions. It should specify precisely two eligible regions within the same Multiregion. More information on regions may be found [https://cloud.google.com/storage/docs/locations][here].
HierarchicalNamespace
HierarchicalNamespace(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration for a bucket's hierarchical namespace feature.