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.
14415 14416 14417 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputAudioConfig
Corresponds to the JSON property audioConfig
14403 14404 14405 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14403 def audio_config @audio_config end |
#event ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput
Corresponds to the JSON property event
14408 14409 14410 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14408 def event @event end |
#text ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput
Corresponds to the JSON property text
14413 14414 14415 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14413 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14420 14421 14422 14423 14424 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14420 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 |