Class: Google::Apis::HomegraphV1::QueryRequestPayload
- Inherits:
-
Object
- Object
- Google::Apis::HomegraphV1::QueryRequestPayload
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/homegraph_v1/classes.rb,
lib/google/apis/homegraph_v1/representations.rb,
lib/google/apis/homegraph_v1/representations.rb
Overview
Payload containing device IDs.
Instance Attribute Summary collapse
-
#devices ⇒ Array<Google::Apis::HomegraphV1::AgentDeviceId>
Third-party 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.
Constructor Details
#initialize(**args) ⇒ QueryRequestPayload
Returns a new instance of QueryRequestPayload.
317 318 319 |
# File 'lib/google/apis/homegraph_v1/classes.rb', line 317 def initialize(**args) update!(**args) end |
Instance Attribute Details
#devices ⇒ Array<Google::Apis::HomegraphV1::AgentDeviceId>
Third-party device IDs for which to get the device states.
Corresponds to the JSON property devices
315 316 317 |
# File 'lib/google/apis/homegraph_v1/classes.rb', line 315 def devices @devices end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
322 323 324 |
# File 'lib/google/apis/homegraph_v1/classes.rb', line 322 def update!(**args) @devices = args[:devices] if args.key?(:devices) end |