Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult
- 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
-
#advanced_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings
Corresponds to the JSON property
advancedSettings. -
#allow_answer_feedback ⇒ Boolean
(also: #allow_answer_feedback?)
Corresponds to the JSON property
allowAnswerFeedback. -
#current_flow ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow
Corresponds to the JSON property
currentFlow. -
#current_page ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page
Corresponds to the JSON property
currentPage. -
#data_store_connection_signals ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignals
Corresponds to the JSON property
dataStoreConnectionSignals. -
#diagnostic_info ⇒ Hash<String,Object>
Corresponds to the JSON property
diagnosticInfo. -
#dtmf ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput
Corresponds to the JSON property
dtmf. -
#intent ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent
Corresponds to the JSON property
intent. -
#intent_detection_confidence ⇒ Float
Corresponds to the JSON property
intentDetectionConfidence. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#match ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Match
Corresponds to the JSON property
match. -
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
parameters. -
#response_messages ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage>
Corresponds to the JSON property
responseMessages. -
#sentiment_analysis_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SentimentAnalysisResult
Corresponds to the JSON property
sentimentAnalysisResult. -
#text ⇒ String
Corresponds to the JSON property
text. -
#trace_blocks ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TraceBlock>
Corresponds to the JSON property
traceBlocks. -
#transcript ⇒ String
Corresponds to the JSON property
transcript. -
#trigger_event ⇒ String
Corresponds to the JSON property
triggerEvent. -
#trigger_intent ⇒ String
Corresponds to the JSON property
triggerIntent. -
#webhook_payloads ⇒ Array<Hash<String,Object>>
Corresponds to the JSON property
webhookPayloads. -
#webhook_statuses ⇒ Array<Google::Apis::DialogflowV3::GoogleRpcStatus>
Corresponds to the JSON property
webhookStatuses.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3QueryResult
constructor
A new instance of GoogleCloudDialogflowCxV3QueryResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3QueryResult
Returns a new instance of GoogleCloudDialogflowCxV3QueryResult.
6421 6422 6423 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6421 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advanced_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings
Corresponds to the JSON property advancedSettings
6318 6319 6320 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6318 def advanced_settings @advanced_settings end |
#allow_answer_feedback ⇒ Boolean Also known as: allow_answer_feedback?
Corresponds to the JSON property allowAnswerFeedback
6323 6324 6325 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6323 def allow_answer_feedback @allow_answer_feedback end |
#current_flow ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow
Corresponds to the JSON property currentFlow
6329 6330 6331 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6329 def current_flow @current_flow end |
#current_page ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page
Corresponds to the JSON property currentPage
6334 6335 6336 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6334 def current_page @current_page end |
#data_store_connection_signals ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignals
Corresponds to the JSON property dataStoreConnectionSignals
6339 6340 6341 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6339 def data_store_connection_signals @data_store_connection_signals end |
#diagnostic_info ⇒ Hash<String,Object>
Corresponds to the JSON property diagnosticInfo
6344 6345 6346 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6344 def diagnostic_info @diagnostic_info end |
#dtmf ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput
Corresponds to the JSON property dtmf
6349 6350 6351 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6349 def dtmf @dtmf end |
#intent ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent
Corresponds to the JSON property intent
6354 6355 6356 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6354 def intent @intent end |
#intent_detection_confidence ⇒ Float
Corresponds to the JSON property intentDetectionConfidence
6359 6360 6361 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6359 def intent_detection_confidence @intent_detection_confidence end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
6364 6365 6366 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6364 def language_code @language_code end |
#match ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Match
Corresponds to the JSON property match
6369 6370 6371 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6369 def match @match end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
6374 6375 6376 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6374 def parameters @parameters end |
#response_messages ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage>
Corresponds to the JSON property responseMessages
6379 6380 6381 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6379 def @response_messages end |
#sentiment_analysis_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SentimentAnalysisResult
Corresponds to the JSON property sentimentAnalysisResult
6384 6385 6386 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6384 def sentiment_analysis_result @sentiment_analysis_result end |
#text ⇒ String
Corresponds to the JSON property text
6389 6390 6391 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6389 def text @text end |
#trace_blocks ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TraceBlock>
Corresponds to the JSON property traceBlocks
6394 6395 6396 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6394 def trace_blocks @trace_blocks end |
#transcript ⇒ String
Corresponds to the JSON property transcript
6399 6400 6401 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6399 def transcript @transcript end |
#trigger_event ⇒ String
Corresponds to the JSON property triggerEvent
6404 6405 6406 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6404 def trigger_event @trigger_event end |
#trigger_intent ⇒ String
Corresponds to the JSON property triggerIntent
6409 6410 6411 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6409 def trigger_intent @trigger_intent end |
#webhook_payloads ⇒ Array<Hash<String,Object>>
Corresponds to the JSON property webhookPayloads
6414 6415 6416 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6414 def webhook_payloads @webhook_payloads end |
#webhook_statuses ⇒ Array<Google::Apis::DialogflowV3::GoogleRpcStatus>
Corresponds to the JSON property webhookStatuses
6419 6420 6421 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6419 def webhook_statuses @webhook_statuses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6426 def update!(**args) @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings) @allow_answer_feedback = args[:allow_answer_feedback] if args.key?(:allow_answer_feedback) @current_flow = args[:current_flow] if args.key?(:current_flow) @current_page = args[:current_page] if args.key?(:current_page) @data_store_connection_signals = args[:data_store_connection_signals] if args.key?(:data_store_connection_signals) @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info) @dtmf = args[:dtmf] if args.key?(:dtmf) @intent = args[:intent] if args.key?(:intent) @intent_detection_confidence = args[:intent_detection_confidence] if args.key?(:intent_detection_confidence) @language_code = args[:language_code] if args.key?(:language_code) @match = args[:match] if args.key?(:match) @parameters = args[:parameters] if args.key?(:parameters) @response_messages = args[:response_messages] if args.key?(:response_messages) @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result) @text = args[:text] if args.key?(:text) @trace_blocks = args[:trace_blocks] if args.key?(:trace_blocks) @transcript = args[:transcript] if args.key?(:transcript) @trigger_event = args[:trigger_event] if args.key?(:trigger_event) @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent) @webhook_payloads = args[:webhook_payloads] if args.key?(:webhook_payloads) @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses) end |