NAME
Google::Devtools::Artifactregistry::V1::Version - Compiled Protocol Buffers messages for google/devtools/artifactregistry/v1/version.proto
SYNOPSIS
use Google::Devtools::Artifactregistry::V1::Version;
my $msg = Google::Devtools::Artifactregistry::V1::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::V1::Version::Version->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/artifactregistry/v1/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::V1::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::V1::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 resources could be: [DockerImage][google.devtools.artifactregistry.v1.DockerImage] [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact]
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Devtools::Artifactregistry::V1::Version::Version::AnnotationsEntry)Optional. Client specified annotations.
$msg->fingerprints()/$msg->fingerprints($value)Type:
Message(Google::Devtools::Artifactregistry::V1::File::Hash)Output only. Immutable reference for the version, calculated based on the version's content. Currently we only support dirsum_sha256 hash algorithm. Additional hash algorithms may be added in the future.
Google::Devtools::Artifactregistry::V1::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::V1::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.
$msg->filter()/$msg->filter($value)Type:
StringOptional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
* `name` * `annotations` Examples of using a filter: To filter the results of your request to versions with the name `my-version` in project `my-project` in the `us-central` region, in repository `my-repo`, append the following filter expression to your request: * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my-version"` You can also use wildcards to match any number of characters before or after the value: * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/*version"` * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my*"` * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/*version*"` To filter the results of your request to versions with the annotation key-value pair [`external_link`: `external_link_value`], append the following filter expression to your request: * `"annotations.external_link:external_link_value"` To filter just for a specific annotation key `external_link`, append the following filter expression to your request: * `"annotations.external_link"` If the annotation key or value contains special characters, you can escape them by surrounding the value with backticks. For example, to filter the results of your request to versions with the annotation key-value pair [`external.link`:`https://example.com/my-version`], append the following filter expression to your request: * `` "annotations.`external.link`:`https://example.com/my-version`" `` You can also filter with annotations with a wildcard to match any number of characters before or after the value: * `` "annotations.*_link:`*example.com*`" ``
Google::Devtools::Artifactregistry::V1::Version::ListVersionsResponse
The response from listing versions.
Inherits from Protobuf::Message.
Accessors
$msg->versions()/$msg->versions($value)Type:
Message(Google::Devtools::Artifactregistry::V1::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::V1::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::V1::VersionView)The view that should be returned in the response.
Google::Devtools::Artifactregistry::V1::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.
Google::Devtools::Artifactregistry::V1::Version::BatchDeleteVersionsRequest
The request to delete multiple versions across a repository.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringThe name of the repository holding all requested versions.
$msg->names()/$msg->names($value)Type:
StringRequired. The names of the versions to delete. The maximum number of versions deleted per batch is determined by the service and is dependent on the available resources in the region.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolIf true, the request is performed without deleting data, following AIP-163.
Google::Devtools::Artifactregistry::V1::Version::BatchDeleteVersionsMetadata
The metadata of an LRO from deleting multiple versions.
Inherits from Protobuf::Message.
Accessors
$msg->failed_versions()/$msg->failed_versions($value)Type:
StringThe versions the operation failed to delete.
Google::Devtools::Artifactregistry::V1::Version::UpdateVersionRequest
The request to update a version.
Inherits from Protobuf::Message.
Accessors
$msg->version()/$msg->version($value)Type:
Message(Google::Devtools::Artifactregistry::V1::Version::Version)Required. The Version that replaces the resource on the server.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Artifactregistry::V1::Version::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.