Class: Google::Cloud::Datastore::V1::LookupResponse

Inherits:
Object
  • Object
show all
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

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.

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.



73
74
75
76
# File 'proto_docs/google/datastore/v1/datastore.rb', line 73

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.

Returns:



73
74
75
76
# File 'proto_docs/google/datastore/v1/datastore.rb', line 73

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.

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.



73
74
75
76
# File 'proto_docs/google/datastore/v1/datastore.rb', line 73

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.

Returns:



73
74
75
76
# File 'proto_docs/google/datastore/v1/datastore.rb', line 73

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.

Returns:



73
74
75
76
# File 'proto_docs/google/datastore/v1/datastore.rb', line 73

class LookupResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end