Class: Google::Apis::HomegraphV1::QueryResponsePayload
- Inherits:
-
Object
- Object
- Google::Apis::HomegraphV1::QueryResponsePayload
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/homegraph_v1/classes.rb,
generated/google/apis/homegraph_v1/representations.rb,
generated/google/apis/homegraph_v1/representations.rb
Overview
Payload containing device states information.
Instance Attribute Summary collapse
-
#devices ⇒ Hash<String,Hash<String,Object>>
States of the devices.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryResponsePayload
constructor
A new instance of QueryResponsePayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ QueryResponsePayload
Returns a new instance of QueryResponsePayload.
395 396 397 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 395 def initialize(**args) update!(**args) end |
Instance Attribute Details
#devices ⇒ Hash<String,Hash<String,Object>>
States of the devices. Map of third-party device ID to struct of device
states.
Corresponds to the JSON property devices
393 394 395 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 393 def devices @devices end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
400 401 402 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 400 def update!(**args) @devices = args[:devices] if args.key?(:devices) end |