class Google::Apis::DatastoreV1::LookupRequest
The request for Datastore.Lookup.
Attributes
keys[RW]
Required. Keys of entities to look up. Corresponds to the JSON property `keys` @return [Array<Google::Apis::DatastoreV1::Key>]
read_options[RW]
The options shared by read requests. Corresponds to the JSON property `readOptions` @return [Google::Apis::DatastoreV1::ReadOptions]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastore_v1/classes.rb, line 1290 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 1295 def update!(**args) @keys = args[:keys] if args.key?(:keys) @read_options = args[:read_options] if args.key?(:read_options) end