Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class AncestorMode.
For an ordered index, specifies whether each of the entity's ancestors will be included.
Protobuf type google.datastore.admin.v1.Index.AncestorMode
Namespace
Google \ Cloud \ Datastore \ Admin \ V1 \ IndexMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ANCESTOR_MODE_UNSPECIFIED
Value: 0
The ancestor mode is unspecified.
Generated from protobuf enum ANCESTOR_MODE_UNSPECIFIED = 0;
NONE
Value: 1
Do not include the entity's ancestors in the index.
Generated from protobuf enum NONE = 1;
ALL_ANCESTORS
Value: 2
Include all the entity's ancestors in the index.
Generated from protobuf enum ALL_ANCESTORS = 2;