Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1QueryInput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1QueryInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#audio ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AudioInput
Corresponds to the JSON property
audio. -
#dtmf ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1DtmfInput
Corresponds to the JSON property
dtmf. -
#event ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventInput
Corresponds to the JSON property
event. -
#intent ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentInput
Corresponds to the JSON property
intent. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#text ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput
Corresponds to the JSON property
text. -
#tool_call_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult
Corresponds to the JSON property
toolCallResult.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1QueryInput
constructor
A new instance of GoogleCloudDialogflowCxV3beta1QueryInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1QueryInput
Returns a new instance of GoogleCloudDialogflowCxV3beta1QueryInput.
11679 11680 11681 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11679 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AudioInput
Corresponds to the JSON property audio
11647 11648 11649 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11647 def audio @audio end |
#dtmf ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1DtmfInput
Corresponds to the JSON property dtmf
11652 11653 11654 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11652 def dtmf @dtmf end |
#event ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventInput
Corresponds to the JSON property event
11657 11658 11659 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11657 def event @event end |
#intent ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentInput
Corresponds to the JSON property intent
11662 11663 11664 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11662 def intent @intent end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
11667 11668 11669 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11667 def language_code @language_code end |
#text ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput
Corresponds to the JSON property text
11672 11673 11674 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11672 def text @text end |
#tool_call_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult
Corresponds to the JSON property toolCallResult
11677 11678 11679 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11677 def tool_call_result @tool_call_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11684 11685 11686 11687 11688 11689 11690 11691 11692 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11684 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) @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result) end |