class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentRequest

The request to detect user's intent.

Attributes

output_audio_config[RW]

Instructs the speech synthesizer how to generate the output audio content. Corresponds to the JSON property `outputAudioConfig` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig]

query_input[RW]

Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger.

  1. Natural language speech audio to be processed. 4. An event to be triggered.

Corresponds to the JSON property `queryInput` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput]

query_params[RW]

Represents the parameters of a conversational query. Corresponds to the JSON property `queryParams` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryParameters]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 904
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 909
def update!(**args)
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
  @query_input = args[:query_input] if args.key?(:query_input)
  @query_params = args[:query_params] if args.key?(:query_params)
end