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.



7928
7929
7930
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7928

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)


7921
7922
7923
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7921

def coverage_score
  @coverage_score
end

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

Transition route group coverages. Corresponds to the JSON property coverages



7926
7927
7928
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7926

def coverages
  @coverages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7933
7934
7935
7936
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7933

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