class Google::Apis::DatastoreV1::LookupResponse

The response for Datastore.Lookup.

Attributes

deferred[RW]

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. Corresponds to the JSON property `deferred` @return [Array<Google::Apis::DatastoreV1::Key>]

found[RW]

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. Corresponds to the JSON property `found` @return [Array<Google::Apis::DatastoreV1::EntityResult>]

missing[RW]

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. Corresponds to the JSON property `missing` @return [Array<Google::Apis::DatastoreV1::EntityResult>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastore_v1/classes.rb, line 1325
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastore_v1/classes.rb, line 1330
def update!(**args)
  @deferred = args[:deferred] if args.key?(:deferred)
  @found = args[:found] if args.key?(:found)
  @missing = args[:missing] if args.key?(:missing)
end