class Google::Apis::HomegraphV1::RequestSyncDevicesRequest

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

Attributes

agent_user_id[RW]

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

async[RW]

Optional. If set, the request will be added to a queue and a response will be returned immediately. This enables concurrent requests for the given ` agent_user_id`, but the caller will not receive any error responses. Corresponds to the JSON property `async` @return [Boolean]

async?[RW]

Optional. If set, the request will be added to a queue and a response will be returned immediately. This enables concurrent requests for the given ` agent_user_id`, but the caller will not receive any error responses. Corresponds to the JSON property `async` @return [Boolean]

Public Class Methods

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