Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

Information collected for DF CX agents in case NLU predicted an intent that was filtered out as being inactive which may indicate a missing transition and/ or absent functionality.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition

Returns a new instance of GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition.



5017
5018
5019
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5017

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

Instance Attribute Details

#intent_display_nameString

Name of the intent that could have triggered. Corresponds to the JSON property intentDisplayName

Returns:

  • (String)


5009
5010
5011
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5009

def intent_display_name
  @intent_display_name
end

#scoreFloat

Score of the above intent. The higher it is the more likely a transition was missed on a given page. Corresponds to the JSON property score

Returns:

  • (Float)


5015
5016
5017
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5015

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5022
5023
5024
5025
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5022

def update!(**args)
  @intent_display_name = args[:intent_display_name] if args.key?(:intent_display_name)
  @score = args[:score] if args.key?(:score)
end