class Google::Apis::HomegraphV1::QueryResponsePayload

Payload containing device states information.

Attributes

devices[RW]

States of the devices. Map of third-party device ID to struct of device states. Corresponds to the JSON property `devices` @return [Hash<String,Hash<String,Object>>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/homegraph_v1/classes.rb, line 368
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/homegraph_v1/classes.rb, line 373
def update!(**args)
  @devices = args[:devices] if args.key?(:devices)
end