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.



6421
6422
6423
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6421

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

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

Corresponds to the JSON property allowAnswerFeedback

Returns:

  • (Boolean)


6323
6324
6325
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6323

def allow_answer_feedback
  @allow_answer_feedback
end

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

Corresponds to the JSON property diagnosticInfo

Returns:

  • (Hash<String,Object>)


6344
6345
6346
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6344

def diagnostic_info
  @diagnostic_info
end

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

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

Corresponds to the JSON property intentDetectionConfidence

Returns:

  • (Float)


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

def intent_detection_confidence
  @intent_detection_confidence
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


6364
6365
6366
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6364

def language_code
  @language_code
end

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

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


6374
6375
6376
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6374

def parameters
  @parameters
end

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

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

#textString

Corresponds to the JSON property text

Returns:

  • (String)


6389
6390
6391
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6389

def text
  @text
end

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

#transcriptString

Corresponds to the JSON property transcript

Returns:

  • (String)


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

def transcript
  @transcript
end

#trigger_eventString

Corresponds to the JSON property triggerEvent

Returns:

  • (String)


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

def trigger_event
  @trigger_event
end

#trigger_intentString

Corresponds to the JSON property triggerIntent

Returns:

  • (String)


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

def trigger_intent
  @trigger_intent
end

#webhook_payloadsArray<Hash<String,Object>>

Corresponds to the JSON property webhookPayloads

Returns:

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


6414
6415
6416
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6414

def webhook_payloads
  @webhook_payloads
end

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