Service Client: Google::Cloud::Dialogflow::Cx::V3::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::V3::Version - Compiled Protocol Buffers messages for google/cloud/dialogflow/cx/v3/version.proto
SYNOPSIS
use Google::Cloud::Dialogflow::Cx::V3::Version;
my $msg = Google::Cloud::Dialogflow::Cx::V3::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::V3::Version::CreateVersionOperationMetadata->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/cx/v3/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::V3::Version::CreateVersionOperationMetadata
Metadata associated with the long running operation for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3.Versions.CreateVersion].
Inherits from Protobuf::Message.
Accessors
$msg->version()/$msg->version($value)Type:
StringName of the created version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
Google::Cloud::Dialogflow::Cx::V3::Version::Version
Represents a version of a flow.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringFormat: 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:
StringRequired. The human-readable name of the version. Limit of 64 characters.
$msg->description()/$msg->description($value)Type:
StringThe 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::V3::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::V3::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=>0RUNNING=>1SUCCEEDED=>2FAILED=>3
Google::Cloud::Dialogflow::Cx::V3::Version::ListVersionsRequest
The request message for [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The [Flow][google.cloud.dialogflow.cx.v3.Flow] to list all versions for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The 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:
StringThe next_page_token value returned from a previous list request.
Google::Cloud::Dialogflow::Cx::V3::Version::ListVersionsResponse
The response message for [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions].
Inherits from Protobuf::Message.
Accessors
$msg->versions()/$msg->versions($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::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:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
Google::Cloud::Dialogflow::Cx::V3::Version::GetVersionRequest
The request message for [Versions.GetVersion][google.cloud.dialogflow.cx.v3.Versions.GetVersion].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the [Version][google.cloud.dialogflow.cx.v3.Version]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
Google::Cloud::Dialogflow::Cx::V3::Version::CreateVersionRequest
The request message for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3.Versions.CreateVersion].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The [Flow][google.cloud.dialogflow.cx.v3.Flow] to create an [Version][google.cloud.dialogflow.cx.v3.Version] for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
$msg->version()/$msg->version($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Version::Version)Required. The version to create.
Google::Cloud::Dialogflow::Cx::V3::Version::UpdateVersionRequest
The request message for [Versions.UpdateVersion][google.cloud.dialogflow.cx.v3.Versions.UpdateVersion].
Inherits from Protobuf::Message.
Accessors
$msg->version()/$msg->version($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Version::Version)Required. The version to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. The mask to control which fields get updated. Currently only `description` and `display_name` can be updated.
Google::Cloud::Dialogflow::Cx::V3::Version::DeleteVersionRequest
The request message for [Versions.DeleteVersion][google.cloud.dialogflow.cx.v3.Versions.DeleteVersion].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the [Version][google.cloud.dialogflow.cx.v3.Version] to delete. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
Google::Cloud::Dialogflow::Cx::V3::Version::LoadVersionRequest
The request message for [Versions.LoadVersion][google.cloud.dialogflow.cx.v3.Versions.LoadVersion].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The [Version][google.cloud.dialogflow.cx.v3.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:
BoolThis 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::V3::Version::CompareVersionsRequest
The request message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions].
Inherits from Protobuf::Message.
Accessors
$msg->base_version()/$msg->base_version($value)Type:
StringRequired. 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:
StringRequired. 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:
StringThe 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::V3::Version::CompareVersionsResponse
The response message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions].
Inherits from Protobuf::Message.
Accessors
$msg->base_version_content_json()/$msg->base_version_content_json($value)Type:
StringJSON representation of the base version content.
$msg->target_version_content_json()/$msg->target_version_content_json($value)Type:
StringJSON 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::V3::Version::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.