Firestore in Datastore mode V1 API - Module Google::Cloud::Datastore::V1::EntityResult::ResultType (v0.17.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).

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.