Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup

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 TransitionRouteGroup represents a group of TransitionRoutes to be used by a Page.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRouteGroup

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.



10740
10741
10742
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10740

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

Instance Attribute Details

#display_nameString

Required. The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


10725
10726
10727
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10725

def display_name
  @display_name
end

#nameString

The unique identifier of the transition route group. TransitionRouteGroups. CreateTransitionRouteGroup populates the name automatically. Format: projects/ /locations//agents//flows//transitionRouteGroups/ or projects//locations// agents//transitionRouteGroups/ for agent-level groups. Corresponds to the JSON property name

Returns:

  • (String)


10733
10734
10735
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10733

def name
  @name
end

#transition_routesArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute>

Transition routes associated with the TransitionRouteGroup. Corresponds to the JSON property transitionRoutes



10738
10739
10740
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10738

def transition_routes
  @transition_routes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10745
10746
10747
10748
10749
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10745

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @transition_routes = args[:transition_routes] if args.key?(:transition_routes)
end