Firestore in Datastore mode V1 API - Module Google::Cloud::Datastore::V1::EntityResult::ResultType (v0.14.0)

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).



value: 0
Unspecified. This value is never used.


value: 1
The key and properties.


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


value: 3
Only the key.