Class: Google::Apis::HomegraphV1::QueryRequestInput

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/homegraph_v1/classes.rb,
lib/google/apis/homegraph_v1/representations.rb,
lib/google/apis/homegraph_v1/representations.rb

Overview

Device ID inputs to QueryRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueryRequestInput

Returns a new instance of QueryRequestInput.



298
299
300
# File 'lib/google/apis/homegraph_v1/classes.rb', line 298

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#payloadGoogle::Apis::HomegraphV1::QueryRequestPayload

Payload containing device IDs. Corresponds to the JSON property payload



296
297
298
# File 'lib/google/apis/homegraph_v1/classes.rb', line 296

def payload
  @payload
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



303
304
305
# File 'lib/google/apis/homegraph_v1/classes.rb', line 303

def update!(**args)
  @payload = args[:payload] if args.key?(:payload)
end