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.
6415 6416 6417 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advanced_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings
Corresponds to the JSON property advancedSettings
6312 6313 6314 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6312 def advanced_settings @advanced_settings end |
#allow_answer_feedback ⇒ Boolean Also known as: allow_answer_feedback?
Corresponds to the JSON property allowAnswerFeedback
6317 6318 6319 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6317 def allow_answer_feedback @allow_answer_feedback end |
#current_flow ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow
Corresponds to the JSON property currentFlow
6323 6324 6325 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6323 def current_flow @current_flow end |
#current_page ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page
Corresponds to the JSON property currentPage
6328 6329 6330 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6328 def current_page @current_page end |
#data_store_connection_signals ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignals
Corresponds to the JSON property dataStoreConnectionSignals
6333 6334 6335 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6333 def data_store_connection_signals @data_store_connection_signals end |
#diagnostic_info ⇒ Hash<String,Object>
Corresponds to the JSON property diagnosticInfo
6338 6339 6340 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6338 def diagnostic_info @diagnostic_info end |
#dtmf ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput
Corresponds to the JSON property dtmf
6343 6344 6345 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6343 def dtmf @dtmf end |
#intent ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent
Corresponds to the JSON property intent
6348 6349 6350 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6348 def intent @intent end |
#intent_detection_confidence ⇒ Float
Corresponds to the JSON property intentDetectionConfidence
6353 6354 6355 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6353 def intent_detection_confidence @intent_detection_confidence end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
6358 6359 6360 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6358 def language_code @language_code end |
#match ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Match
Corresponds to the JSON property match
6363 6364 6365 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6363 def match @match end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
6368 6369 6370 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6368 def parameters @parameters end |
#response_messages ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage>
Corresponds to the JSON property responseMessages
6373 6374 6375 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6373 def @response_messages end |
#sentiment_analysis_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SentimentAnalysisResult
Corresponds to the JSON property sentimentAnalysisResult
6378 6379 6380 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6378 def sentiment_analysis_result @sentiment_analysis_result end |
#text ⇒ String
Corresponds to the JSON property text
6383 6384 6385 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6383 def text @text end |
#trace_blocks ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TraceBlock>
Corresponds to the JSON property traceBlocks
6388 6389 6390 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6388 def trace_blocks @trace_blocks end |
#transcript ⇒ String
Corresponds to the JSON property transcript
6393 6394 6395 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6393 def transcript @transcript end |
#trigger_event ⇒ String
Corresponds to the JSON property triggerEvent
6398 6399 6400 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6398 def trigger_event @trigger_event end |
#trigger_intent ⇒ String
Corresponds to the JSON property triggerIntent
6403 6404 6405 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6403 def trigger_intent @trigger_intent end |
#webhook_payloads ⇒ Array<Hash<String,Object>>
Corresponds to the JSON property webhookPayloads
6408 6409 6410 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6408 def webhook_payloads @webhook_payloads end |
#webhook_statuses ⇒ Array<Google::Apis::DialogflowV3::GoogleRpcStatus>
Corresponds to the JSON property webhookStatuses
6413 6414 6415 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6413 def webhook_statuses @webhook_statuses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6420 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 |