Class: Google::Apis::DatastoreV1beta2::LookupResponse
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta2::LookupResponse
- 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
-
#deferred ⇒ Array<Google::Apis::DatastoreV1beta2::Key>
A list of keys that were not looked up due to resource constraints.
-
#found ⇒ Array<Google::Apis::DatastoreV1beta2::EntityResult>
Entities found.
-
#header ⇒ Google::Apis::DatastoreV1beta2::ResponseHeader
Corresponds to the JSON property
header
. -
#missing ⇒ Array<Google::Apis::DatastoreV1beta2::EntityResult>
Entities not found, with only the key populated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LookupResponse
constructor
A new instance of LookupResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LookupResponse
Returns a new instance of LookupResponse.
495 496 497 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 495 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deferred ⇒ Array<Google::Apis::DatastoreV1beta2::Key>
A list of keys that were not looked up due to resource constraints.
Corresponds to the JSON property deferred
478 479 480 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 478 def deferred @deferred end |
#found ⇒ Array<Google::Apis::DatastoreV1beta2::EntityResult>
Entities found.
Corresponds to the JSON property found
483 484 485 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 483 def found @found end |
#header ⇒ Google::Apis::DatastoreV1beta2::ResponseHeader
Corresponds to the JSON property header
488 489 490 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 488 def header @header end |
#missing ⇒ Array<Google::Apis::DatastoreV1beta2::EntityResult>
Entities not found, with only the key populated.
Corresponds to the JSON property missing
493 494 495 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 493 def missing @missing end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
500 501 502 503 504 505 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 500 def update!(**args) @deferred = args[:deferred] if args.key?(:deferred) @found = args[:found] if args.key?(:found) @header = args[:header] if args.key?(:header) @missing = args[:missing] if args.key?(:missing) end |