Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Overview

An TransitionRouteGroup represents a group of TransitionRoutes to be used by a Page.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TransitionRouteGroup

Returns a new instance of GoogleCloudDialogflowCxV3TransitionRouteGroup.



5684
5685
5686
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5684

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)


5670
5671
5672
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5670

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/. Corresponds to the JSON property name

Returns:

  • (String)


5677
5678
5679
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5677

def name
  @name
end

#transition_routesArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute>

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



5682
5683
5684
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5682

def transition_routes
  @transition_routes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5689
5690
5691
5692
5693
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5689

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