Service Client: Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::TransitionRouteGroupsClient

Client stub representing the remote TransitionRouteGroups gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to dialogflow.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup - Compiled Protocol Buffers messages for google/cloud/dialogflow/cx/v3/transition_route_group.proto

SYNOPSIS

use Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup;

my $msg = Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::TransitionRouteGroup->new({
    name => $name,
    display_name => $display_name,
    transition_routes => $transition_routes,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::TransitionRouteGroup->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/cx/v3/transition_route_group.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::TransitionRouteGroup

A TransitionRouteGroup represents a group of [`TransitionRoutes`][google.cloud.dialogflow.cx.v3.TransitionRoute] to be used by a [Page][google.cloud.dialogflow.cx.v3.Page].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The unique identifier of the transition route group. [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` .

  • $msg->display_name() / $msg->display_name($value)

    Type: 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.

  • $msg->transition_routes() / $msg->transition_routes($value)

    Type: Message (Google::Cloud::Dialogflow::Cx::V3::Page::TransitionRoute)

    Transition routes associated with the [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].

Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::ListTransitionRouteGroupsRequest

The request message for [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The flow to list all transition route groups for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return in a single page. By default 100 and at most 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value returned from a previous list request.

  • $msg->language_code() / $msg->language_code($value)

    Type: String

    The language to list transition route groups for. The following fields are language dependent:

    * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`

    If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.

Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::ListTransitionRouteGroupsResponse

The response message for [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups].

Inherits from Protobuf::Message.

Accessors

  • $msg->transition_route_groups() / $msg->transition_route_groups($value)

    Type: Message (Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::TransitionRouteGroup)

    The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to retrieve the next page of results, or empty if there are no more results in the list.

Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::GetTransitionRouteGroupRequest

The request message for [TransitionRouteGroups.GetTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>`.

  • $msg->language_code() / $msg->language_code($value)

    Type: String

    The language to retrieve the transition route group for. The following fields are language dependent:

    * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`

    If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.

Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::CreateTransitionRouteGroupRequest

The request message for [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The flow to create an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>` for agent-level groups.

  • $msg->transition_route_group() / $msg->transition_route_group($value)

    Type: Message (Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::TransitionRouteGroup)

    Required. The transition route group to create.

  • $msg->language_code() / $msg->language_code($value)

    Type: String

    The language of the following fields in `TransitionRouteGroup`:

    * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`

    If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.

Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::UpdateTransitionRouteGroupRequest

The request message for [TransitionRouteGroups.UpdateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup].

Inherits from Protobuf::Message.

Accessors

  • $msg->transition_route_group() / $msg->transition_route_group($value)

    Type: Message (Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::TransitionRouteGroup)

    Required. The transition route group to update.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    The mask to control which fields get updated.

  • $msg->language_code() / $msg->language_code($value)

    Type: String

    The language of the following fields in `TransitionRouteGroup`:

    * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`

    If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.

Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::DeleteTransitionRouteGroupRequest

The request message for [TransitionRouteGroups.DeleteTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] to delete. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>`.

  • $msg->force() / $msg->force($value)

    Type: Bool

    This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page:

    * If `force` is set to false, an error will be returned with message indicating pages that reference the transition route group. * If `force` is set to true, Dialogflow will remove the transition route group, as well as any reference to it.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::Cx::V3::TransitionRouteGroup::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.