Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse
- 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
The response message for TestCases.CalculateCoverage.
Instance Attribute Summary collapse
-
#agent ⇒ String
The agent to calculate coverage for.
-
#intent_coverage ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage
Intent coverage represents the percentage of all possible intents in the agent that are triggered in any of a parent's test cases.
-
#route_group_coverage ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
Transition route group coverage represents the percentage of all possible transition routes present within any of a parent's test cases.
-
#transition_coverage ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage
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 Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse
constructor
A new instance of GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse
Returns a new instance of GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse.
4665 4666 4667 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4665 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent ⇒ String
The agent to calculate coverage for. Format: projects//locations//agents/
.
Corresponds to the JSON property agent
4643 4644 4645 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4643 def agent @agent end |
#intent_coverage ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage
Intent coverage represents the percentage of all possible intents in the agent
that are triggered in any of a parent's test cases.
Corresponds to the JSON property intentCoverage
4649 4650 4651 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4649 def intent_coverage @intent_coverage end |
#route_group_coverage ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
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.
Corresponds to the JSON property routeGroupCoverage
4656 4657 4658 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4656 def route_group_coverage @route_group_coverage end |
#transition_coverage ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage
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.
Corresponds to the JSON property transitionCoverage
4663 4664 4665 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4663 def transition_coverage @transition_coverage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4670 4671 4672 4673 4674 4675 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4670 def update!(**args) @agent = args[:agent] if args.key?(:agent) @intent_coverage = args[:intent_coverage] if args.key?(:intent_coverage) @route_group_coverage = args[:route_group_coverage] if args.key?(:route_group_coverage) @transition_coverage = args[:transition_coverage] if args.key?(:transition_coverage) end |