Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition

Inherits:
Object
  • Object
show all
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

A transition coverage in a transition route group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition.



8493
8494
8495
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8493

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#coveredBoolean Also known as: covered?

Whether or not the transition route is covered by at least one of the agent's test cases. Corresponds to the JSON property covered

Returns:

  • (Boolean)


8479
8480
8481
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8479

def covered
  @covered
end

#transition_routeGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute

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



8491
8492
8493
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8491

def transition_route
  @transition_route
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8498
8499
8500
8501
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8498

def update!(**args)
  @covered = args[:covered] if args.key?(:covered)
  @transition_route = args[:transition_route] if args.key?(:transition_route)
end