class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CalculateCoverageResponse

The response message for TestCases.CalculateCoverage.

Attributes

agent[RW]

The agent to calculate coverage for. Format: `projects//locations//agents/`. Corresponds to the JSON property `agent` @return [String]

intent_coverage[RW]

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` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage]

route_group_coverage[RW]

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` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage]

transition_coverage[RW]

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` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 357
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 362
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