class Google::Apis::HomegraphV1::SyncResponsePayload

Payload containing device information.

Attributes

agent_user_id[RW]

Third-party user ID Corresponds to the JSON property `agentUserId` @return [String]

devices[RW]

Devices associated with the third-party user. Corresponds to the JSON property `devices` @return [Array<Google::Apis::HomegraphV1::Device>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/homegraph_v1/classes.rb, line 614
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 619
def update!(**args)
  @agent_user_id = args[:agent_user_id] if args.key?(:agent_user_id)
  @devices = args[:devices] if args.key?(:devices)
end