Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class Index.
Datastore composite index definition.
Generated from protobuf message google.datastore.admin.v1.Index
Namespace
Google \ Cloud \ Datastore \ Admin \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ project_id
string
Output only. Project ID.
↳ index_id
string
Output only. The resource ID of the index.
↳ kind
string
Required. The entity kind to which this index applies.
↳ ancestor
int
Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
↳ properties
array< Index\IndexedProperty
>
Required. An ordered sequence of property names and their index attributes. Requires: * * A maximum of 100 properties.
↳ state
int
Output only. The state of the index.
getProjectId
Output only. Project ID.
string
setProjectId
Output only. Project ID.
var
string
$this
getIndexId
Output only. The resource ID of the index.
string
setIndexId
Output only. The resource ID of the index.
var
string
$this
getKind
Required. The entity kind to which this index applies.
string
setKind
Required. The entity kind to which this index applies.
var
string
$this
getAncestor
Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
int
setAncestor
Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
var
int
$this
getProperties
Required. An ordered sequence of property names and their index attributes.
Requires:
- A maximum of 100 properties.
setProperties
Required. An ordered sequence of property names and their index attributes.
Requires:
- A maximum of 100 properties.
$this
getState
Output only. The state of the index.
int
setState
Output only. The state of the index.
var
int
$this