Class: Google::Apis::DatastoreV1beta2::LookupRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta2::LookupRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1beta2/classes.rb,
generated/google/apis/datastore_v1beta2/representations.rb,
generated/google/apis/datastore_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#keys ⇒ Array<Google::Apis::DatastoreV1beta2::Key>
Keys of entities to look up from the datastore.
-
#read_options ⇒ Google::Apis::DatastoreV1beta2::ReadOptions
Options for this lookup request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LookupRequest
constructor
A new instance of LookupRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LookupRequest
Returns a new instance of LookupRequest
460 461 462 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 460 def initialize(**args) update!(**args) end |
Instance Attribute Details
#keys ⇒ Array<Google::Apis::DatastoreV1beta2::Key>
Keys of entities to look up from the datastore.
Corresponds to the JSON property keys
453 454 455 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 453 def keys @keys end |
#read_options ⇒ Google::Apis::DatastoreV1beta2::ReadOptions
Options for this lookup request. Optional.
Corresponds to the JSON property readOptions
458 459 460 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 458 def @read_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
465 466 467 468 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 465 def update!(**args) @keys = args[:keys] if args.key?(:keys) @read_options = args[:read_options] if args.key?(:read_options) end |