Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage

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

Transition route group coverage represents the percentage of all possible transition routes present within any of a parent's test cases. The results are grouped by the transition route group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage.



11597
11598
11599
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11597

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

Instance Attribute Details

#coverage_scoreFloat

The percent of transition routes in all the transition route groups that are covered. Corresponds to the JSON property coverageScore

Returns:

  • (Float)


11590
11591
11592
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11590

def coverage_score
  @coverage_score
end

#coveragesArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage>

Transition route group coverages. Corresponds to the JSON property coverages



11595
11596
11597
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11595

def coverages
  @coverages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11602
11603
11604
11605
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11602

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