Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
- 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
-
#display_name ⇒ String
Required.
-
#name ⇒ String
The unique identifier of the transition route group.
-
#transition_routes ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute>
Transition routes associated with the TransitionRouteGroup.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
constructor
A new instance of GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.
13407 13408 13409 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13407 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
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
13392 13393 13394 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13392 def display_name @display_name end |
#name ⇒ String
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
13400 13401 13402 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13400 def name @name end |
#transition_routes ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute>
Transition routes associated with the TransitionRouteGroup.
Corresponds to the JSON property transitionRoutes
13405 13406 13407 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13405 def transition_routes @transition_routes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13412 13413 13414 13415 13416 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13412 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 |