Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::StorageLayout.
The storage layout configuration of a bucket.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#custom_placement_config
def custom_placement_config() -> ::Google::Cloud::Storage::Control::V2::StorageLayout::CustomPlacementConfig
Returns
- (::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
def hierarchical_namespace() -> ::Google::Cloud::Storage::Control::V2::StorageLayout::HierarchicalNamespace
Returns
- (::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.
#location
def location() -> ::String
Returns
- (::String) — Output only. The location of the bucket.
#location_type
def location_type() -> ::String
Returns
- (::String) — Output only. The location type of the bucket (region, dual-region, multi-region, etc).
#name
def name() -> ::String
Returns
-
(::String) — Output only. The name of the StorageLayout resource.
Format:
projects/{project}/buckets/{bucket}/storageLayout