Class: Google::Cloud::Datastore::V1::LookupResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Datastore::V1::LookupResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/datastore/v1/datastore.rb
Overview
The response for Datastore.Lookup.
Instance Attribute Summary collapse
-
#deferred ⇒ ::Array<::Google::Cloud::Datastore::V1::Key>
A list of keys that were not looked up due to resource constraints.
-
#found ⇒ ::Array<::Google::Cloud::Datastore::V1::EntityResult>
Entities found as
ResultType.FULL
entities. -
#missing ⇒ ::Array<::Google::Cloud::Datastore::V1::EntityResult>
Entities not found as
ResultType.KEY_ONLY
entities. -
#read_time ⇒ ::Google::Protobuf::Timestamp
The time at which these entities were read or found missing.
-
#transaction ⇒ ::String
The identifier of the transaction that was started as part of this Lookup request.
Instance Attribute Details
#deferred ⇒ ::Array<::Google::Cloud::Datastore::V1::Key>
Returns 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.
81 82 83 84 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 81 class LookupResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#found ⇒ ::Array<::Google::Cloud::Datastore::V1::EntityResult>
Returns 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.
81 82 83 84 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 81 class LookupResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#missing ⇒ ::Array<::Google::Cloud::Datastore::V1::EntityResult>
Returns 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.
81 82 83 84 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 81 class LookupResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#read_time ⇒ ::Google::Protobuf::Timestamp
Returns The time at which these entities were read or found missing.
81 82 83 84 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 81 class LookupResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#transaction ⇒ ::String
Returns The identifier of the transaction that was started as part of this Lookup request.
Set only when ReadOptions.new_transaction was set in LookupRequest.read_options.
81 82 83 84 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 81 class LookupResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |