class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest
The request to detect user's intent.
Attributes
The natural language speech audio to be processed. This field should be populated iff `query_input` is set to an input audio config. A single request can contain up to 1 minute of speech audio data. Corresponds to the JSON property `inputAudio` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
Instructs the speech synthesizer how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to- speech settings applied to the agent. Corresponds to the JSON property `outputAudioConfig` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig]
Mask for output_audio_config
indicating which settings in this request-level config should override speech synthesizer settings defined at agent-level. If unspecified or empty, output_audio_config
replaces the agent-level config in its entirety. Corresponds to the JSON property `outputAudioConfigMask` @return [String]
Represents the query input. It can contain either: 1. An audio config which instructs the speech recognizer how to process the speech audio. 2. A conversational query in the form of text. 3. An event that specifies which intent to trigger. Corresponds to the JSON property `queryInput` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput]
Represents the parameters of the conversational query. Corresponds to the JSON property `queryParams` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8844 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8849 def update!(**args) @input_audio = args[:input_audio] if args.key?(:input_audio) @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config) @output_audio_config_mask = args[:output_audio_config_mask] if args.key?(:output_audio_config_mask) @query_input = args[:query_input] if args.key?(:query_input) @query_params = args[:query_params] if args.key?(:query_params) end