Reference documentation and code samples for the Firestore in Datastore mode Admin V1 API module Google::Cloud::Datastore::Admin::V1::Index::Direction.
The direction determines how a property is indexed.
Constants
DIRECTION_UNSPECIFIED
value: 0 The direction is unspecified.
ASCENDING
value: 1 The property's values are indexed so as to support sequencing in
ascending order and also query by <, >, <=, >=, and =.
DESCENDING
value: 2 The property's values are indexed so as to support sequencing in
descending order and also query by <, >, <=, >=, and =.