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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v3beta1/classes.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb,
generated/google/apis/dialogflow_v3beta1/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) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRouteGroup

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.



6448
6449
6450
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 6448

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

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


6432
6433
6434
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 6432

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)


6439
6440
6441
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 6439

def name
  @name
end

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

Transition routes associated with the TransitionRouteGroup. Duplicate transition routes (i.e. using the same intent) are not allowed. Note that the name field is not used in the transition route group scope. Corresponds to the JSON property transitionRoutes



6446
6447
6448
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 6446

def transition_routes
  @transition_routes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6453
6454
6455
6456
6457
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 6453

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