Cloud Datastore v1 API - Class Index (2.4.0)

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

Reference documentation and code samples for the Cloud Datastore v1 API class Index.

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
Name Description
other Index

Properties

Ancestor

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

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

Property Value
Type Description
IndexTypesAncestorMode

IndexId

public string IndexId { get; set; }

Output only. The resource ID of the index.

Property Value
Type Description
string

Kind

public string Kind { get; set; }

Required. The entity kind to which this index applies.

Property Value
Type Description
string

ProjectId

public string ProjectId { get; set; }

Output only. Project ID.

Property Value
Type Description
string

Properties

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

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

Requires:

  • A maximum of 100 properties.
Property Value
Type Description
RepeatedFieldIndexTypesIndexedProperty

State

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

Output only. The state of the index.

Property Value
Type Description
IndexTypesState