Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::LookupResponse.
The response for Datastore.Lookup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deferred
def deferred() -> ::Array<::Google::Cloud::Datastore::V1::Key>
Returns
- (::Array<::Google::Cloud::Datastore::V1::Key>) — A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.
#deferred=
def deferred=(value) -> ::Array<::Google::Cloud::Datastore::V1::Key>
Parameter
- value (::Array<::Google::Cloud::Datastore::V1::Key>) — A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.
Returns
- (::Array<::Google::Cloud::Datastore::V1::Key>) — A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.
#found
def found() -> ::Array<::Google::Cloud::Datastore::V1::EntityResult>
Returns
-
(::Array<::Google::Cloud::Datastore::V1::EntityResult>) — Entities found as
ResultType.FULL
entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
#found=
def found=(value) -> ::Array<::Google::Cloud::Datastore::V1::EntityResult>
Parameter
-
value (::Array<::Google::Cloud::Datastore::V1::EntityResult>) — Entities found as
ResultType.FULL
entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
Returns
-
(::Array<::Google::Cloud::Datastore::V1::EntityResult>) — Entities found as
ResultType.FULL
entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
#missing
def missing() -> ::Array<::Google::Cloud::Datastore::V1::EntityResult>
Returns
-
(::Array<::Google::Cloud::Datastore::V1::EntityResult>) — Entities not found as
ResultType.KEY_ONLY
entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
#missing=
def missing=(value) -> ::Array<::Google::Cloud::Datastore::V1::EntityResult>
Parameter
-
value (::Array<::Google::Cloud::Datastore::V1::EntityResult>) — Entities not found as
ResultType.KEY_ONLY
entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
Returns
-
(::Array<::Google::Cloud::Datastore::V1::EntityResult>) — Entities not found as
ResultType.KEY_ONLY
entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
#read_time
def read_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time at which these entities were read or found missing.
#read_time=
def read_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time at which these entities were read or found missing.
Returns
- (::Google::Protobuf::Timestamp) — The time at which these entities were read or found missing.