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
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
DIRECTION_UNSPECIFIED
Value: 0
The direction is unspecified.
Generated from protobuf enum DIRECTION_UNSPECIFIED = 0;
ASCENDING
Value: 1
The 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: 2
The property's values are indexed so as to support sequencing in descending order and also query by <, >, <=, >=, and =.
Generated from protobuf enum DESCENDING = 2;