Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage

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

Coverage result message for one transition route group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage.



12144
12145
12146
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12144

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

Instance Attribute Details

#coverage_scoreFloat

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

Returns:

  • (Float)


12131
12132
12133
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12131

def coverage_score
  @coverage_score
end

#route_groupGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup

A TransitionRouteGroup represents a group of TransitionRoutes to be used by a Page. Corresponds to the JSON property routeGroup



12137
12138
12139
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12137

def route_group
  @route_group
end

#transitionsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition>

The list of transition routes and coverage in the transition route group. Corresponds to the JSON property transitions



12142
12143
12144
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12142

def transitions
  @transitions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12149
12150
12151
12152
12153
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12149

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