NAME
Google::Devtools::Artifactregistry::V1beta2::Repository - Compiled Protocol Buffers messages for google/devtools/artifactregistry/v1beta2/repository.proto
SYNOPSIS
use Google::Devtools::Artifactregistry::V1beta2::Repository;
my $msg = Google::Devtools::Artifactregistry::V1beta2::Repository::Repository->new({
maven_config => $maven_config,
name => $name,
format => $format,
description => $description,
});
# Read or update a field
my $val = $msg->maven_config();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Devtools::Artifactregistry::V1beta2::Repository::Repository->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/artifactregistry/v1beta2/repository.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::Repository::Repository
A Repository for storing artifacts with a specific format.
Inherits from Protobuf::Message.
Accessors
$msg->maven_config()/$msg->maven_config($value)Type:
Message(Google::Devtools::Artifactregistry::V1beta2::Repository::Repository::MavenRepositoryConfig)Maven repository config contains repository level configuration for the repositories of maven type.
$msg->name()/$msg->name($value)Type:
StringThe name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
$msg->format()/$msg->format($value)Type:
Enum(Google::Devtools::Artifactregistry::V1beta2::Repository::Format)The format of packages that are stored in the repository.
$msg->description()/$msg->description($value)Type:
StringThe user-provided description of the repository.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Devtools::Artifactregistry::V1beta2::Repository::Repository::LabelsEntry)Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the repository was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the repository was last updated.
$msg->kms_key_name()/$msg->kms_key_name($value)Type:
StringThe Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
Enum: Repository::Format
FORMAT_UNSPECIFIED=>0DOCKER=>1MAVEN=>2NPM=>3APT=>5YUM=>6PYTHON=>8
Google::Devtools::Artifactregistry::V1beta2::Repository::ListRepositoriesRequest
The request to list repositories.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent resource whose repositories will be listed.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of repositories 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::V1beta2::Repository::ListRepositoriesResponse
The response from listing repositories.
Inherits from Protobuf::Message.
Accessors
$msg->repositories()/$msg->repositories($value)Type:
Message(Google::Devtools::Artifactregistry::V1beta2::Repository::Repository)The repositories returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to retrieve the next page of repositories, or empty if there are no more repositories to return.
Google::Devtools::Artifactregistry::V1beta2::Repository::GetRepositoryRequest
The request to retrieve a repository.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the repository to retrieve.
Google::Devtools::Artifactregistry::V1beta2::Repository::CreateRepositoryRequest
The request to create a new repository.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent resource where the repository will be created.
$msg->repository_id()/$msg->repository_id($value)Type:
StringThe repository id to use for this repository.
$msg->repository()/$msg->repository($value)Type:
Message(Google::Devtools::Artifactregistry::V1beta2::Repository::Repository)The repository to be created.
Google::Devtools::Artifactregistry::V1beta2::Repository::UpdateRepositoryRequest
The request to update a repository.
Inherits from Protobuf::Message.
Accessors
$msg->repository()/$msg->repository($value)Type:
Message(Google::Devtools::Artifactregistry::V1beta2::Repository::Repository)The repository 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
Google::Devtools::Artifactregistry::V1beta2::Repository::DeleteRepositoryRequest
The request to delete a repository.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the repository to delete.
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Artifactregistry::V1beta2::Repository::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.