Class Index (1.4.0)

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

Datastore composite index definition.

Inheritance

Object > Index

Namespace

Google.Cloud.Datastore.Admin.V1

Assembly

Google.Cloud.Datastore.Admin.V1.dll

Constructors

Index()

public Index()

Index(Index)

public Index(Index other)
Parameter
NameDescription
otherIndex

Properties

Ancestor

public Index.Types.AncestorMode Ancestor { get; set; }

Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.

Property Value
TypeDescription
Index.Types.AncestorMode

IndexId

public string IndexId { get; set; }

Output only. The resource ID of the index.

Property Value
TypeDescription
String

Kind

public string Kind { get; set; }

Required. The entity kind to which this index applies.

Property Value
TypeDescription
String

ProjectId

public string ProjectId { get; set; }

Output only. Project ID.

Property Value
TypeDescription
String

Properties

public RepeatedField<Index.Types.IndexedProperty> Properties { get; }

Required. An ordered sequence of property names and their index attributes.

Property Value
TypeDescription
RepeatedField<Index.Types.IndexedProperty>

State

public Index.Types.State State { get; set; }

Output only. The state of the index.

Property Value
TypeDescription
Index.Types.State