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.



13436
13437
13438
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13436

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)


13429
13430
13431
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13429

def coverage_score
  @coverage_score
end

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

Transition route group coverages. Corresponds to the JSON property coverages



13434
13435
13436
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13434

def coverages
  @coverages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13441
13442
13443
13444
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13441

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