Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CalculateCoverageResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CalculateCoverageResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v3/classes.rb,
generated/google/apis/dialogflow_v3/representations.rb,
generated/google/apis/dialogflow_v3/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::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage
Intent coverage represents the percentage of all possible intents in the agent that are triggered in any of a parent's test cases.
-
#transition_coverage ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage
Transition coverage represents the percentage of all possible transitions present within any of a parent's test cases.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3CalculateCoverageResponse
constructor
A new instance of GoogleCloudDialogflowCxV3CalculateCoverageResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3CalculateCoverageResponse
Returns a new instance of GoogleCloudDialogflowCxV3CalculateCoverageResponse.
252 253 254 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 252 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
238 239 240 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 238 def agent @agent end |
#intent_coverage ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage
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
244 245 246 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 244 def intent_coverage @intent_coverage end |
#transition_coverage ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage
Transition coverage represents the percentage of all possible transitions
present within any of a parent's test cases.
Corresponds to the JSON property transitionCoverage
250 251 252 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 250 def transition_coverage @transition_coverage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
257 258 259 260 261 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 257 def update!(**args) @agent = args[:agent] if args.key?(:agent) @intent_coverage = args[:intent_coverage] if args.key?(:intent_coverage) @transition_coverage = args[:transition_coverage] if args.key?(:transition_coverage) end |