NAME
Google::Devtools::Artifactregistry::V1beta2::Version - Compiled Protocol Buffers messages for google/devtools/artifactregistry/v1beta2/version.proto
SYNOPSIS
use Google::Devtools::Artifactregistry::V1beta2::Version;
my $msg = Google::Devtools::Artifactregistry::V1beta2::Version::Version->new({
name => $name,
description => $description,
create_time => $create_time,
update_time => $update_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Devtools::Artifactregistry::V1beta2::Version::Version->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/artifactregistry/v1beta2/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::Devtools::Artifactregistry::V1beta2::Version::Version
The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1". If the package or version ID parts contain slashes, the slashes are escaped.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the version, as specified in its metadata.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the version was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the version was last updated.
$msg->related_tags()/$msg->related_tags($value)Type:
Message(Google::Devtools::Artifactregistry::V1beta2::Tag::Tag)Output only. A list of related tags. Will contain up to 100 tags that reference this version.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Protobuf::Struct::Struct)Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the only resource in use is [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
Google::Devtools::Artifactregistry::V1beta2::Version::ListVersionsRequest
The request to list versions.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringThe name of the parent resource whose versions will be listed.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of versions to return. Maximum page size is 1,000.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value returned from a previous list request, if any.
$msg->view()/$msg->view($value)Type:
Enum(Google::Devtools::Artifactregistry::V1beta2::VersionView)The view that should be returned in the response.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. The field to order the results by.
Google::Devtools::Artifactregistry::V1beta2::Version::ListVersionsResponse
The response from listing versions.
Inherits from Protobuf::Message.
Accessors
$msg->versions()/$msg->versions($value)Type:
Message(Google::Devtools::Artifactregistry::V1beta2::Version::Version)The versions returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to retrieve the next page of versions, or empty if there are no more versions to return.
Google::Devtools::Artifactregistry::V1beta2::Version::GetVersionRequest
The request to retrieve a version.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the version to retrieve.
$msg->view()/$msg->view($value)Type:
Enum(Google::Devtools::Artifactregistry::V1beta2::VersionView)The view that should be returned in the response.
Google::Devtools::Artifactregistry::V1beta2::Version::DeleteVersionRequest
The request to delete a version.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the version to delete.
$msg->force()/$msg->force($value)Type:
BoolBy default, a version that is tagged may not be deleted. If force=true, the version and any tags pointing to the version are deleted.
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Artifactregistry::V1beta2::Version::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.