Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage

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 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) ⇒ GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage

Returns a new instance of GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage.



7910
7911
7912
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7910

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)


7903
7904
7905
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7903

def coverage_score
  @coverage_score
end

#coveragesArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage>

Transition route group coverages. Corresponds to the JSON property coverages



7908
7909
7910
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7908

def coverages
  @coverages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7915
7916
7917
7918
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7915

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