Class: Google::Cloud::Dialogflow::CX::V3::TransitionCoverage
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::TransitionCoverage
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/test_case.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.
Defined Under Namespace
Classes: Transition, TransitionNode
Instance Attribute Summary collapse
-
#coverage_score ⇒ ::Float
The percent of transitions in the agent that are covered.
-
#transitions ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::TransitionCoverage::Transition>
The list of Transitions present in the agent.
Instance Attribute Details
#coverage_score ⇒ ::Float
Returns The percent of transitions in the agent that are covered.
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 228 class TransitionCoverage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The source or target of a transition. # @!attribute [rw] page # @return [::Google::Cloud::Dialogflow::CX::V3::Page] # Indicates a transition to a {::Google::Cloud::Dialogflow::CX::V3::Page Page}. # Only some fields such as name and displayname will be set. # @!attribute [rw] flow # @return [::Google::Cloud::Dialogflow::CX::V3::Flow] # Indicates a transition to a {::Google::Cloud::Dialogflow::CX::V3::Flow Flow}. # Only some fields such as name and displayname will be set. class TransitionNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A transition in a page. # @!attribute [rw] source # @return [::Google::Cloud::Dialogflow::CX::V3::TransitionCoverage::TransitionNode] # The start node of a transition. # @!attribute [rw] index # @return [::Integer] # The index of a transition in the transition list. Starting from 0. # @!attribute [rw] target # @return [::Google::Cloud::Dialogflow::CX::V3::TransitionCoverage::TransitionNode] # The end node of a transition. # @!attribute [rw] covered # @return [::Boolean] # Whether the transition is covered by at least one of the # agent's test cases. # @!attribute [rw] transition_route # @return [::Google::Cloud::Dialogflow::CX::V3::TransitionRoute] # Intent route or condition route. # @!attribute [rw] event_handler # @return [::Google::Cloud::Dialogflow::CX::V3::EventHandler] # Event handler. class Transition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#transitions ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::TransitionCoverage::Transition>
Returns The list of Transitions present in the agent.
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 228 class TransitionCoverage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The source or target of a transition. # @!attribute [rw] page # @return [::Google::Cloud::Dialogflow::CX::V3::Page] # Indicates a transition to a {::Google::Cloud::Dialogflow::CX::V3::Page Page}. # Only some fields such as name and displayname will be set. # @!attribute [rw] flow # @return [::Google::Cloud::Dialogflow::CX::V3::Flow] # Indicates a transition to a {::Google::Cloud::Dialogflow::CX::V3::Flow Flow}. # Only some fields such as name and displayname will be set. class TransitionNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A transition in a page. # @!attribute [rw] source # @return [::Google::Cloud::Dialogflow::CX::V3::TransitionCoverage::TransitionNode] # The start node of a transition. # @!attribute [rw] index # @return [::Integer] # The index of a transition in the transition list. Starting from 0. # @!attribute [rw] target # @return [::Google::Cloud::Dialogflow::CX::V3::TransitionCoverage::TransitionNode] # The end node of a transition. # @!attribute [rw] covered # @return [::Boolean] # Whether the transition is covered by at least one of the # agent's test cases. # @!attribute [rw] transition_route # @return [::Google::Cloud::Dialogflow::CX::V3::TransitionRoute] # Intent route or condition route. # @!attribute [rw] event_handler # @return [::Google::Cloud::Dialogflow::CX::V3::EventHandler] # Event handler. class Transition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |