class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransition
A transition in a page.
Attributes
Whether or not the transition is covered by at least one of the agent's test cases. Corresponds to the JSON property `covered` @return [Boolean]
Whether or not the transition is covered by at least one of the agent's test cases. Corresponds to the JSON property `covered` @return [Boolean]
An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called.
-
If there is a `target_page` associated with the event, the session will
transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow. Corresponds to the JSON property `eventHandler` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler]
The index of a transition in the transition list. Starting from 0. Corresponds to the JSON property `index` @return [Fixnum]
The source or target of a transition. Corresponds to the JSON property `source` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode]
The source or target of a transition. Corresponds to the JSON property `target` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode]
A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a ` trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow. Corresponds to the JSON property `transitionRoute` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute]
Public Class Methods
# File lib/google/apis/dialogflow_v3/classes.rb, line 5379 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 5384 def update!(**args) @covered = args[:covered] if args.key?(:covered) @event_handler = args[:event_handler] if args.key?(:event_handler) @index = args[:index] if args.key?(:index) @source = args[:source] if args.key?(:source) @target = args[:target] if args.key?(:target) @transition_route = args[:transition_route] if args.key?(:transition_route) end