Service Client: Google::Cloud::Dialogflow::Cx::V3beta1::Version::VersionsClient

Client stub representing the remote Versions 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::V3beta1::Version - Compiled Protocol Buffers messages for google/cloud/dialogflow/cx/v3beta1/version.proto

SYNOPSIS

use Google::Cloud::Dialogflow::Cx::V3beta1::Version;

my $msg = Google::Cloud::Dialogflow::Cx::V3beta1::Version::CreateVersionOperationMetadata->new({
    version => $version,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/cx/v3beta1/version.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::V3beta1::Version::CreateVersionOperationMetadata

Metadata associated with the long running operation for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the created version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.

Google::Cloud::Dialogflow::Cx::V3beta1::Version::Version

Represents a version of a flow.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.

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

    Type: String

    Required. The human-readable name of the version. Limit of 64 characters.

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

    Type: String

    The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

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

    Type: Message (Google::Cloud::Dialogflow::Cx::V3beta1::Flow::NluSettings)

    Output only. The NLU settings of the flow at version creation.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Create time of the version.

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

    Type: Enum (Google::Cloud::Dialogflow::Cx::V3beta1::Version::State)

    Output only. The state of this version. This field is read-only and cannot be set by create and update methods.

Enum: Version::State

  • STATE_UNSPECIFIED => 0

  • RUNNING => 1

  • SUCCEEDED => 2

  • FAILED => 3

Google::Cloud::Dialogflow::Cx::V3beta1::Version::ListVersionsRequest

The request message for [Versions.ListVersions][google.cloud.dialogflow.cx.v3beta1.Versions.ListVersions].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] to list all versions for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.

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

    Type: Int32

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

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

    Type: String

    The next_page_token value returned from a previous list request.

Google::Cloud::Dialogflow::Cx::V3beta1::Version::ListVersionsResponse

The response message for [Versions.ListVersions][google.cloud.dialogflow.cx.v3beta1.Versions.ListVersions].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Dialogflow::Cx::V3beta1::Version::Version)

    A list of versions. 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::V3beta1::Version::GetVersionRequest

The request message for [Versions.GetVersion][google.cloud.dialogflow.cx.v3beta1.Versions.GetVersion].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the [Version][google.cloud.dialogflow.cx.v3beta1.Version]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.

Google::Cloud::Dialogflow::Cx::V3beta1::Version::CreateVersionRequest

The request message for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] to create an [Version][google.cloud.dialogflow.cx.v3beta1.Version] for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.

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

    Type: Message (Google::Cloud::Dialogflow::Cx::V3beta1::Version::Version)

    Required. The version to create.

Google::Cloud::Dialogflow::Cx::V3beta1::Version::UpdateVersionRequest

The request message for [Versions.UpdateVersion][google.cloud.dialogflow.cx.v3beta1.Versions.UpdateVersion].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Dialogflow::Cx::V3beta1::Version::DeleteVersionRequest

The request message for [Versions.DeleteVersion][google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the [Version][google.cloud.dialogflow.cx.v3beta1.Version] to delete. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.

Google::Cloud::Dialogflow::Cx::V3beta1::Version::LoadVersionRequest

The request message for [Versions.LoadVersion][google.cloud.dialogflow.cx.v3beta1.Versions.LoadVersion].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The [Version][google.cloud.dialogflow.cx.v3beta1.Version] to be loaded to draft flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.

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

    Type: Bool

    This field is used to prevent accidental overwrite of other agent resources, which can potentially impact other flow's behavior. If `allow_override_agent_resources` is false, conflicted agent-level resources will not be overridden (i.e. intents, entities, webhooks).

Google::Cloud::Dialogflow::Cx::V3beta1::Version::CompareVersionsRequest

The request message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the base flow version to compare with the target version. Use version ID `0` to indicate the draft version of the specified flow.

    Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.

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

    Type: String

    Required. Name of the target flow version to compare with the base version. Use version ID `0` to indicate the draft version of the specified flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.

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

    Type: String

    The language to compare the flow versions for.

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

Google::Cloud::Dialogflow::Cx::V3beta1::Version::CompareVersionsResponse

The response message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    JSON representation of the base version content.

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

    Type: String

    JSON representation of the target version content.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The timestamp when the two version compares.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::Cx::V3beta1::Version::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.