NAME
Google::Devtools::Artifactregistry::V1::Artifact - Compiled Protocol Buffers messages for google/devtools/artifactregistry/v1/artifact.proto
SYNOPSIS
use Google::Devtools::Artifactregistry::V1::Artifact;
my $msg = Google::Devtools::Artifactregistry::V1::Artifact::DockerImage->new({
name => $name,
uri => $uri,
tags => $tags,
image_size_bytes => $image_size_bytes,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Devtools::Artifactregistry::V1::Artifact::DockerImage->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/artifactregistry/v1/artifact.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::Artifact::DockerImage
DockerImage represents a docker artifact. The following fields are returned as untyped metadata in the Version resource, using camelcase keys (i.e. metadata.imageSizeBytes): * imageSizeBytes * mediaType * buildTime
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. registry_location, project_id, repository_name and image id forms a unique image name:`projects/<project_id>/locations/<location>/repositories/<repository_name>/dockerImages/<docker_image>`. For example, "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/ nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf" is the image's digest.
$msg->uri()/$msg->uri($value)Type:
StringRequired. URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
$msg->tags()/$msg->tags($value)Type:
StringTags attached to this image.
$msg->image_size_bytes()/$msg->image_size_bytes($value)Type:
Int64Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in the Version resource.
$msg->upload_time()/$msg->upload_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time the image was uploaded.
$msg->media_type()/$msg->media_type($value)Type:
StringMedia type of this image, e.g. "application/vnd.docker.distribution.manifest.v2+json". This field is returned as the 'metadata.mediaType' field in the Version resource.
$msg->build_time()/$msg->build_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the docker image was last updated.
$msg->artifact_type()/$msg->artifact_type($value)Type:
StringArtifactType of this image, e.g. "application/vnd.example+type". If the `subject_digest` is set and no `artifact_type` is given, the `media_type` will be considered as the `artifact_type`. This field is returned as the `metadata.artifactType` field in the Version resource.
$msg->image_manifests()/$msg->image_manifests($value)Type:
Message(Google::Devtools::Artifactregistry::V1::Artifact::ImageManifest)Optional. For multi-arch images (manifest lists), this field contains the list of image manifests.
Google::Devtools::Artifactregistry::V1::Artifact::ImageManifest
Details of a single image manifest within a multi-arch image.
Inherits from Protobuf::Message.
Accessors
$msg->architecture()/$msg->architecture($value)Type:
StringOptional. The CPU architecture of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le", "s390x", "riscv64", "mips64le", etc.
$msg->os()/$msg->os($value)Type:
StringOptional. The operating system of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix", etc.
$msg->digest()/$msg->digest($value)Type:
StringOptional. The manifest digest, in the format "sha256:<sha256_hex_digest>".
$msg->media_type()/$msg->media_type($value)Type:
StringOptional. The media type of the manifest, e.g., "application/vnd.docker.distribution.manifest.v2+json"
$msg->os_version()/$msg->os_version($value)Type:
StringOptional. The OS version of the image, for example on Windows `10.0.14393.1066`.
$msg->os_features()/$msg->os_features($value)Type:
StringOptional. The required OS features for the image, for example on Windows `win32k`.
$msg->variant()/$msg->variant($value)Type:
StringOptional. The variant of the CPU in the image, for example `v7` to specify ARMv7 when architecture is `arm`.
Google::Devtools::Artifactregistry::V1::Artifact::ListDockerImagesRequest
The request to list docker images.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent resource whose docker images will be listed.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of artifacts 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->order_by()/$msg->order_by($value)Type:
StringThe field to order the results by.
Google::Devtools::Artifactregistry::V1::Artifact::ListDockerImagesResponse
The response from listing docker images.
Inherits from Protobuf::Message.
Accessors
$msg->docker_images()/$msg->docker_images($value)Type:
Message(Google::Devtools::Artifactregistry::V1::Artifact::DockerImage)The docker images returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.
Google::Devtools::Artifactregistry::V1::Artifact::GetDockerImageRequest
The request to get docker images.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the docker images.
Google::Devtools::Artifactregistry::V1::Artifact::MavenArtifact
MavenArtifact represents a maven artifact.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. registry_location, project_id, repository_name and maven_artifact forms a unique artifact For example, "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the maven artifact.
$msg->pom_uri()/$msg->pom_uri($value)Type:
StringRequired. URL to access the pom file of the artifact. Example: us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
$msg->group_id()/$msg->group_id($value)Type:
StringGroup ID for the artifact. Example: com.google.guava
$msg->artifact_id()/$msg->artifact_id($value)Type:
StringArtifact ID for the artifact.
$msg->version()/$msg->version($value)Type:
StringVersion of this artifact.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the artifact was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the artifact was updated.
Google::Devtools::Artifactregistry::V1::Artifact::ListMavenArtifactsRequest
The request to list maven artifacts.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent resource whose maven artifacts will be listed.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of artifacts 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.
Google::Devtools::Artifactregistry::V1::Artifact::ListMavenArtifactsResponse
The response from listing maven artifacts.
Inherits from Protobuf::Message.
Accessors
$msg->maven_artifacts()/$msg->maven_artifacts($value)Type:
Message(Google::Devtools::Artifactregistry::V1::Artifact::MavenArtifact)The maven artifacts returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.
Google::Devtools::Artifactregistry::V1::Artifact::GetMavenArtifactRequest
The request to get maven artifacts.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the maven artifact.
Google::Devtools::Artifactregistry::V1::Artifact::NpmPackage
NpmPackage represents an npm artifact.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. registry_location, project_id, repository_name and npm_package forms a unique package For example, "projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/ npm_test:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and npm_test:1.0.0" is the npm package.
$msg->package_name()/$msg->package_name($value)Type:
StringPackage for the artifact.
$msg->version()/$msg->version($value)Type:
StringVersion of this package.
$msg->tags()/$msg->tags($value)Type:
StringTags attached to this package.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the package was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the package was updated.
Google::Devtools::Artifactregistry::V1::Artifact::ListNpmPackagesRequest
The request to list npm packages.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent resource whose npm packages will be listed.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of artifacts 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.
Google::Devtools::Artifactregistry::V1::Artifact::ListNpmPackagesResponse
The response from listing npm packages.
Inherits from Protobuf::Message.
Accessors
$msg->npm_packages()/$msg->npm_packages($value)Type:
Message(Google::Devtools::Artifactregistry::V1::Artifact::NpmPackage)The npm packages returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.
Google::Devtools::Artifactregistry::V1::Artifact::GetNpmPackageRequest
The request to get npm packages.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the npm package.
Google::Devtools::Artifactregistry::V1::Artifact::PythonPackage
PythonPackage represents a python artifact.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. registry_location, project_id, repository_name and python_package forms a unique package name:`projects/<project_id>/locations/<location>/repository/<repository_name>/pythonPackages/<python_package>`. For example, "projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/ python_package:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and python_package:1.0.0" is the python package.
$msg->uri()/$msg->uri($value)Type:
StringRequired. URL to access the package. Example: us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz
$msg->package_name()/$msg->package_name($value)Type:
StringPackage for the artifact.
$msg->version()/$msg->version($value)Type:
StringVersion of this package.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the package was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the package was updated.
Google::Devtools::Artifactregistry::V1::Artifact::ListPythonPackagesRequest
The request to list python packages.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent resource whose python packages will be listed.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of artifacts 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.
Google::Devtools::Artifactregistry::V1::Artifact::ListPythonPackagesResponse
The response from listing python packages.
Inherits from Protobuf::Message.
Accessors
$msg->python_packages()/$msg->python_packages($value)Type:
Message(Google::Devtools::Artifactregistry::V1::Artifact::PythonPackage)The python packages returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.
Google::Devtools::Artifactregistry::V1::Artifact::GetPythonPackageRequest
The request to get python packages.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the python package.
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Artifactregistry::V1::Artifact::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.