# Firestore in Datastore mode Admin V1 API - Module Google::Cloud::Datastore::Admin::V1::Index::Direction (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.12.0 0.11.2 0.10.0 0.9.1 0.8.0 0.7.1 0.6.0 0.5.0 0.4.5 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 =.