Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v3beta1/classes.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb
Overview
The request to detect user's intent.
Instance Attribute Summary collapse
-
#output_audio_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig
Instructs the speech synthesizer how to generate the output audio content.
-
#query_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput
Represents the query input.
-
#query_params ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters
Represents the parameters of a conversational query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DetectIntentRequest
constructor
A new instance of GoogleCloudDialogflowCxV3beta1DetectIntentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DetectIntentRequest
Returns a new instance of GoogleCloudDialogflowCxV3beta1DetectIntentRequest.
2789 2790 2791 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 2789 def initialize(**args) update!(**args) end |
Instance Attribute Details
#output_audio_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig
Instructs the speech synthesizer how to generate the output audio content.
Corresponds to the JSON property outputAudioConfig
2774 2775 2776 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 2774 def output_audio_config @output_audio_config end |
#query_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput
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.
Corresponds to the JSON property queryInput
2782 2783 2784 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 2782 def query_input @query_input end |
#query_params ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters
Represents the parameters of a conversational query.
Corresponds to the JSON property queryParams
2787 2788 2789 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 2787 def query_params @query_params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2794 2795 2796 2797 2798 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 2794 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 |