# Firestore in Datastore mode Admin V1 API - Module Google::Cloud::Datastore::Admin::V1::Index::AncestorMode (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::AncestorMode.

For an ordered index, specifies whether each of the entity's ancestors
will be included.

## Constants

### ANCESTOR_MODE_UNSPECIFIED

**value:** 0  
The ancestor mode is unspecified.

### NONE

**value:** 1  
Do not include the entity's ancestors in the index.

### ALL_ANCESTORS

**value:** 2  
Include all the entity's ancestors in the index.