Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_settingsGoogle::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_feedbackBoolean Also known as: allow_answer_feedback?

Corresponds to the JSON property allowAnswerFeedback

Returns:

  • (Boolean)


6317
6318
6319
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6317

def allow_answer_feedback
  @allow_answer_feedback
end

#current_flowGoogle::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_pageGoogle::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_signalsGoogle::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_infoHash<String,Object>

Corresponds to the JSON property diagnosticInfo

Returns:

  • (Hash<String,Object>)


6338
6339
6340
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6338

def diagnostic_info
  @diagnostic_info
end

#dtmfGoogle::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

#intentGoogle::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_confidenceFloat

Corresponds to the JSON property intentDetectionConfidence

Returns:

  • (Float)


6353
6354
6355
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6353

def intent_detection_confidence
  @intent_detection_confidence
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


6358
6359
6360
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6358

def language_code
  @language_code
end

#matchGoogle::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

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


6368
6369
6370
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6368

def parameters
  @parameters
end

#response_messagesArray<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
  @response_messages
end

#sentiment_analysis_resultGoogle::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

#textString

Corresponds to the JSON property text

Returns:

  • (String)


6383
6384
6385
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6383

def text
  @text
end

#trace_blocksArray<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

#transcriptString

Corresponds to the JSON property transcript

Returns:

  • (String)


6393
6394
6395
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6393

def transcript
  @transcript
end

#trigger_eventString

Corresponds to the JSON property triggerEvent

Returns:

  • (String)


6398
6399
6400
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6398

def trigger_event
  @trigger_event
end

#trigger_intentString

Corresponds to the JSON property triggerIntent

Returns:

  • (String)


6403
6404
6405
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6403

def trigger_intent
  @trigger_intent
end

#webhook_payloadsArray<Hash<String,Object>>

Corresponds to the JSON property webhookPayloads

Returns:

  • (Array<Hash<String,Object>>)


6408
6409
6410
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6408

def webhook_payloads
  @webhook_payloads
end

#webhook_statusesArray<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