# Firestore in Datastore mode V1 API - Module Google::Cloud::Datastore::V1::EntityResult::ResultType (v1.6.0)

1.6.0 (latest) 1.5.1 1.4.1 1.3.1 1.2.0 1.1.0 1.0.1 0.19.0 0.18.0 0.17.0 0.16.3 0.15.0 0.14.0 0.13.1 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the Firestore in Datastore mode V1 API module Google::Cloud::Datastore::V1::EntityResult::ResultType.

Specifies what data the 'entity' field contains.
A `ResultType` is either implied (for example, in `LookupResponse.missing`
from `datastore.proto`, it is always `KEY_ONLY`) or specified by context
(for example, in message `QueryResultBatch`, field `entity_result_type`
specifies a `ResultType` for all the values in field `entity_results`).

## Constants

### RESULT_TYPE_UNSPECIFIED

**value:** 0  
Unspecified. This value is never used.

### FULL

**value:** 1  
The key and properties.

### PROJECTION

**value:** 2  
A projected subset of properties. The entity may have no key.

### KEY_ONLY

**value:** 3  
Only the key.