Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class Direction.
The direction determines how a property is indexed.
Protobuf type google.datastore.admin.v1.Index.Direction
Namespace
Google \ Cloud \ Datastore \ Admin \ V1 \ IndexMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
DIRECTION_UNSPECIFIED
Value: 0The direction is unspecified.
Generated from protobuf enum DIRECTION_UNSPECIFIED = 0;
ASCENDING
Value: 1The property's values are indexed so as to support sequencing in ascending order and also query by <, >, <=, >=, and =.
Generated from protobuf enum ASCENDING = 1;
DESCENDING
Value: 2The property's values are indexed so as to support sequencing in descending order and also query by <, >, <=, >=, and =.
Generated from protobuf enum DESCENDING = 2;