Module: Google::Cloud::Datastore::V1::EntityResult::ResultType

Defined in:
proto_docs/google/datastore/v1/query.rb

Overview

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

Constant Summary collapse

RESULT_TYPE_UNSPECIFIED =

Unspecified. This value is never used.

0
FULL =

The key and properties.

1
PROJECTION =

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

2
KEY_ONLY =

Only the key.

3