# Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::StorageLayout (v1.12.0)

1.12.0 (latest) 1.11.0 1.10.1 1.9.0 1.8.1 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.1.1 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/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`