class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3QueryInput
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.
-
Natural language speech audio to be processed. 4. An event to be triggered.
Attributes
Represents the natural speech audio to be processed. Corresponds to the JSON property `audio` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AudioInput]
Represents the input for dtmf event. Corresponds to the JSON property `dtmf` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3DtmfInput]
Represents the event to trigger. Corresponds to the JSON property `event` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EventInput]
Represents the intent to trigger programmatically rather than as a result of natural language processing. Corresponds to the JSON property `intent` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3IntentInput]
Required. The language of the input. See [Language Support](cloud. google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. Corresponds to the JSON property `languageCode` @return [String]
Represents the natural language text to be processed. Corresponds to the JSON property `text` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TextInput]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 1494 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 1499 def update!(**args) @audio = args[:audio] if args.key?(:audio) @dtmf = args[:dtmf] if args.key?(:dtmf) @event = args[:event] if args.key?(:event) @intent = args[:intent] if args.key?(:intent) @language_code = args[:language_code] if args.key?(:language_code) @text = args[:text] if args.key?(:text) end