class Google::Apis::HomegraphV1::StateAndNotificationPayload
Payload containing the state and notification information for devices.
Attributes
devices[RW]
The states and notifications specific to a device. Corresponds to the JSON property `devices` @return [Google::Apis::HomegraphV1::ReportStateAndNotificationDevice]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/homegraph_v1/classes.rb, line 529 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 534 def update!(**args) @devices = args[:devices] if args.key?(:devices) end