Class: Google::Apis::HomegraphV1::QueryRequestInput
- Inherits:
-
Object
- Object
- Google::Apis::HomegraphV1::QueryRequestInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/homegraph_v1/classes.rb,
generated/google/apis/homegraph_v1/representations.rb,
generated/google/apis/homegraph_v1/representations.rb
Overview
Device ID inputs to QueryRequest.
Instance Attribute Summary collapse
-
#payload ⇒ Google::Apis::HomegraphV1::QueryRequestPayload
Payload containing device IDs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryRequestInput
constructor
A new instance of QueryRequestInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ QueryRequestInput
Returns a new instance of QueryRequestInput.
305 306 307 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ Google::Apis::HomegraphV1::QueryRequestPayload
Payload containing device IDs.
Corresponds to the JSON property payload
303 304 305 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 303 def payload @payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
310 311 312 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 310 def update!(**args) @payload = args[:payload] if args.key?(:payload) end |