Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage

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

Overview

Transition coverage represents the percentage of all possible page transitions (page-level transition routes and event handlers, excluding transition route groups) present within any of a parent's test cases.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TransitionCoverage

Returns a new instance of GoogleCloudDialogflowCxV3TransitionCoverage.



7730
7731
7732
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7730

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

Instance Attribute Details

#coverage_scoreFloat

The percent of transitions in the agent that are covered. Corresponds to the JSON property coverageScore

Returns:

  • (Float)


7723
7724
7725
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7723

def coverage_score
  @coverage_score
end

#transitionsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransition>

The list of Transitions present in the agent. Corresponds to the JSON property transitions



7728
7729
7730
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7728

def transitions
  @transitions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7735
7736
7737
7738
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7735

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