class Google::Apis::HomegraphV1::AgentOtherDeviceId
Alternate third-party device ID.
Attributes
agent_id[RW]
Project ID for your smart home Action. Corresponds to the JSON property `agentId` @return [String]
device_id[RW]
Unique third-party device ID. Corresponds to the JSON property `deviceId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/homegraph_v1/classes.rb, line 58 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 63 def update!(**args) @agent_id = args[:agent_id] if args.key?(:agent_id) @device_id = args[:device_id] if args.key?(:device_id) end