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.



5119
5120
5121
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5119

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)


5111
5112
5113
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5111

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)


5117
5118
5119
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5117

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5124
5125
5126
5127
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5124

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