Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage
- 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 coverage represents the percentage of all possible page transitions (page-level transition routes and event handlers, excluding transition route groups) present within any of a parent's test cases.
Instance Attribute Summary collapse
-
#coverage_score ⇒ Float
The percent of transitions in the agent that are covered.
-
#transitions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition>
The list of Transitions present in the agent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionCoverage
constructor
A new instance of GoogleCloudDialogflowCxV3beta1TransitionCoverage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionCoverage
Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionCoverage.
11863 11864 11865 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11863 def initialize(**args) update!(**args) end |
Instance Attribute Details
#coverage_score ⇒ Float
The percent of transitions in the agent that are covered.
Corresponds to the JSON property coverageScore
11856 11857 11858 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11856 def coverage_score @coverage_score end |
#transitions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition>
The list of Transitions present in the agent.
Corresponds to the JSON property transitions
11861 11862 11863 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11861 def transitions @transitions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11868 11869 11870 11871 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11868 def update!(**args) @coverage_score = args[:coverage_score] if args.key?(:coverage_score) @transitions = args[:transitions] if args.key?(:transitions) end |