Reference documentation and code samples for the Google Cloud Storage Control V2 Client class StorageLayout.
The storage layout configuration of a bucket.
Generated from protobuf message google.storage.control.v2.StorageLayout
Namespace
Google \ Cloud \ Storage \ Control \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout
↳ location
string
Output only. The location of the bucket.
↳ location_type
string
Output only. The location type of the bucket (region, dual-region, multi-region, etc).
↳ custom_placement_config
Google\Cloud\Storage\Control\V2\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\StorageLayout\HierarchicalNamespace
Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
getName
Output only. The name of the StorageLayout resource.
Format: projects/{project}/buckets/{bucket}/storageLayout
string
setName
Output only. The name of the StorageLayout resource.
Format: projects/{project}/buckets/{bucket}/storageLayout
var
string
$this
getLocation
Output only. The location of the bucket.
string
setLocation
Output only. The location of the bucket.
var
string
$this
getLocationType
Output only. The location type of the bucket (region, dual-region, multi-region, etc).
string
setLocationType
Output only. The location type of the bucket (region, dual-region, multi-region, etc).
var
string
$this
getCustomPlacementConfig
Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
hasCustomPlacementConfig
clearCustomPlacementConfig
setCustomPlacementConfig
Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.
$this
getHierarchicalNamespace
Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
hasHierarchicalNamespace
clearHierarchicalNamespace
setHierarchicalNamespace
Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.
$this