Cloud Storage v2 API - Class StorageLayout (1.1.0)

public sealed class StorageLayout : IMessage<StorageLayout>, IEquatable<StorageLayout>, IDeepCloneable<StorageLayout>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Storage v2 API class StorageLayout.

The storage layout configuration of a bucket.

Inheritance

object > StorageLayout

Namespace

Google.Cloud.Storage.Control.V2

Assembly

Google.Cloud.Storage.Control.V2.dll

Constructors

StorageLayout()

public StorageLayout()

StorageLayout(StorageLayout)

public StorageLayout(StorageLayout other)
Parameter
Name Description
other StorageLayout

Properties

CustomPlacementConfig

public StorageLayout.Types.CustomPlacementConfig CustomPlacementConfig { get; set; }

Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.

Property Value
Type Description
StorageLayoutTypesCustomPlacementConfig

HierarchicalNamespace

public StorageLayout.Types.HierarchicalNamespace HierarchicalNamespace { get; set; }

Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.

Property Value
Type Description
StorageLayoutTypesHierarchicalNamespace

Location

public string Location { get; set; }

Output only. The location of the bucket.

Property Value
Type Description
string

LocationType

public string LocationType { get; set; }

Output only. The location type of the bucket (region, dual-region, multi-region, etc).

Property Value
Type Description
string

Name

public string Name { get; set; }

Output only. The name of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout

Property Value
Type Description
string

StorageLayoutName

public StorageLayoutName StorageLayoutName { get; set; }

StorageLayoutName-typed view over the Name resource name property.

Property Value
Type Description
StorageLayoutName