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 =.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]