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.



12112
12113
12114
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12112

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)


12105
12106
12107
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12105

def coverage_score
  @coverage_score
end

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

Transition route group coverages. Corresponds to the JSON property coverages



12110
12111
12112
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12110

def coverages
  @coverages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12117
12118
12119
12120
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12117

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