Cloud Storage v2 API - Class StorageLayout (1.0.0-beta02)

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
NameDescription
otherStorageLayout

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
TypeDescription
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
TypeDescription
StorageLayoutTypesHierarchicalNamespace

Location

public string Location { get; set; }

Output only. The location of the bucket.

Property Value
TypeDescription
string

LocationType

public string LocationType { get; set; }

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

Property Value
TypeDescription
string

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string

StorageLayoutName

public StorageLayoutName StorageLayoutName { get; set; }

StorageLayoutName-typed view over the Name resource name property.

Property Value
TypeDescription
StorageLayoutName