Class: Google::Apis::HomegraphV1::QueryRequestPayload
- Inherits:
-
Object
- Object
- Google::Apis::HomegraphV1::QueryRequestPayload
- 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 IDs.
Instance Attribute Summary collapse
-
#devices ⇒ Array<Google::Apis::HomegraphV1::AgentDeviceId>
Third-party partner's device IDs for which to get the device states.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryRequestPayload
constructor
A new instance of QueryRequestPayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ QueryRequestPayload
Returns a new instance of QueryRequestPayload.
324 325 326 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 324 def initialize(**args) update!(**args) end |
Instance Attribute Details
#devices ⇒ Array<Google::Apis::HomegraphV1::AgentDeviceId>
Third-party partner's device IDs for which to get the device states.
Corresponds to the JSON property devices
322 323 324 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 322 def devices @devices end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
329 330 331 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 329 def update!(**args) @devices = args[:devices] if args.key?(:devices) end |