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.
Namespace
Google.Cloud.Datastore.Admin.V1Assembly
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 |
Index.Types.AncestorMode |
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.
Property Value | |
---|---|
Type | Description |
RepeatedField<Index.Types.IndexedProperty> |
State
public Index.Types.State State { get; set; }
Output only. The state of the index.
Property Value | |
---|---|
Type | Description |
Index.Types.State |