Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput
- 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::GoogleCloudDialogflowCxV3AudioInput
Corresponds to the JSON property
audio. -
#dtmf ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput
Corresponds to the JSON property
dtmf. -
#event ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventInput
Corresponds to the JSON property
event. -
#intent ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentInput
Corresponds to the JSON property
intent. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#text ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TextInput
Corresponds to the JSON property
text. -
#tool_call_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolCallResult
Corresponds to the JSON property
toolCallResult.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3QueryInput
constructor
A new instance of GoogleCloudDialogflowCxV3QueryInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3QueryInput
Returns a new instance of GoogleCloudDialogflowCxV3QueryInput.
6171 6172 6173 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6171 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AudioInput
Corresponds to the JSON property audio
6139 6140 6141 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6139 def audio @audio end |
#dtmf ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput
Corresponds to the JSON property dtmf
6144 6145 6146 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6144 def dtmf @dtmf end |
#event ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventInput
Corresponds to the JSON property event
6149 6150 6151 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6149 def event @event end |
#intent ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentInput
Corresponds to the JSON property intent
6154 6155 6156 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6154 def intent @intent end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
6159 6160 6161 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6159 def language_code @language_code end |
#text ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TextInput
Corresponds to the JSON property text
6164 6165 6166 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6164 def text @text end |
#tool_call_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolCallResult
Corresponds to the JSON property toolCallResult
6169 6170 6171 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6169 def tool_call_result @tool_call_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6176 6177 6178 6179 6180 6181 6182 6183 6184 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6176 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 |