Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryInput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#audio_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputAudioConfig
Corresponds to the JSON property
audioConfig. -
#event ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput
Corresponds to the JSON property
event. -
#text ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2QueryInput
constructor
A new instance of GoogleCloudDialogflowV2QueryInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2QueryInput
Returns a new instance of GoogleCloudDialogflowV2QueryInput.
14366 14367 14368 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14366 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputAudioConfig
Corresponds to the JSON property audioConfig
14354 14355 14356 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14354 def audio_config @audio_config end |
#event ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput
Corresponds to the JSON property event
14359 14360 14361 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14359 def event @event end |
#text ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput
Corresponds to the JSON property text
14364 14365 14366 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14364 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14371 14372 14373 14374 14375 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14371 def update!(**args) @audio_config = args[:audio_config] if args.key?(:audio_config) @event = args[:event] if args.key?(:event) @text = args[:text] if args.key?(:text) end |