class Google::Apis::HomegraphV1::QueryRequest
Request type for the [`Query`](google.home.graph.v1.HomeGraphApiService.Query) call.
Attributes
agent_user_id[RW]
Required. Third-party user ID. Corresponds to the JSON property `agentUserId` @return [String]
inputs[RW]
Required. Inputs containing third-party device IDs for which to get the device states. Corresponds to the JSON property `inputs` @return [Array<Google::Apis::HomegraphV1::QueryRequestInput>]
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 278 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 283 def update!(**args) @agent_user_id = args[:agent_user_id] if args.key?(:agent_user_id) @inputs = args[:inputs] if args.key?(:inputs) @request_id = args[:request_id] if args.key?(:request_id) end