class Google::Apis::HomegraphV1::SyncRequest

Request type for the [`Sync`](google.home.graph.v1.HomeGraphApiService.Sync) call.

Attributes

agent_user_id[RW]

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

request_id[RW]

Request ID used for debugging. Corresponds to the JSON property `requestId` @return [String]

Public Class Methods

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