Class: Google::Apis::HomegraphV1::QueryRequestPayload

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueryRequestPayload

Returns a new instance of QueryRequestPayload.



316
317
318
# File 'generated/google/apis/homegraph_v1/classes.rb', line 316

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#devicesArray<Google::Apis::HomegraphV1::AgentDeviceId>

Third-party device IDs for which to get the device states. Corresponds to the JSON property devices



314
315
316
# File 'generated/google/apis/homegraph_v1/classes.rb', line 314

def devices
  @devices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



321
322
323
# File 'generated/google/apis/homegraph_v1/classes.rb', line 321

def update!(**args)
  @devices = args[:devices] if args.key?(:devices)
end