NAME

Google::Devtools::Artifactregistry::V1::Repository - Compiled Protocol Buffers messages for google/devtools/artifactregistry/v1/repository.proto

SYNOPSIS

use Google::Devtools::Artifactregistry::V1::Repository;

my $msg = Google::Devtools::Artifactregistry::V1::Repository::UpstreamPolicy->new({
    id => $id,
    repository => $repository,
    priority => $priority,
});

# Read or update a field
my $val = $msg->id();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Devtools::Artifactregistry::V1::Repository::UpstreamPolicy->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/devtools/artifactregistry/v1/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::V1::Repository::UpstreamPolicy

Artifact policy configuration for the repository contents.

Inherits from Protobuf::Message.

Accessors

  • $msg->id() / $msg->id($value)

    Type: String

    The user-provided ID of the upstream policy.

  • $msg->repository() / $msg->repository($value)

    Type: String

    A reference to the repository resource, for example: `projects/p1/locations/us-central1/repositories/repo1`.

  • $msg->priority() / $msg->priority($value)

    Type: Int32

    Entries with a greater priority value take precedence in the pull order.

Google::Devtools::Artifactregistry::V1::Repository::CleanupPolicyCondition

CleanupPolicyCondition is a set of conditions attached to a CleanupPolicy. If multiple entries are set, all must be satisfied for the condition to be satisfied.

Inherits from Protobuf::Message.

Accessors

  • $msg->tag_state() / $msg->tag_state($value)

    Type: Enum (Google::Devtools::Artifactregistry::V1::CleanupPolicyCondition::TagState)

    Match versions by tag status.

  • $msg->tag_prefixes() / $msg->tag_prefixes($value)

    Type: String

    Match versions by tag prefix. Applied on any prefix match.

  • $msg->version_name_prefixes() / $msg->version_name_prefixes($value)

    Type: String

    Match versions by version name prefix. Applied on any prefix match.

  • $msg->package_name_prefixes() / $msg->package_name_prefixes($value)

    Type: String

    Match versions by package prefix. Applied on any prefix match.

  • $msg->older_than() / $msg->older_than($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Match versions older than a duration.

  • $msg->newer_than() / $msg->newer_than($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Match versions newer than a duration.

Enum: CleanupPolicyCondition::TagState

  • TAG_STATE_UNSPECIFIED => 0

  • TAGGED => 1

  • UNTAGGED => 2

  • ANY => 3

Google::Devtools::Artifactregistry::V1::Repository::CleanupPolicyMostRecentVersions

CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy for retaining a minimum number of versions.

Inherits from Protobuf::Message.

Accessors

  • $msg->package_name_prefixes() / $msg->package_name_prefixes($value)

    Type: String

    List of package name prefixes that will apply this rule.

  • $msg->keep_count() / $msg->keep_count($value)

    Type: Int32

    Minimum number of versions to keep.

Google::Devtools::Artifactregistry::V1::Repository::CleanupPolicy

Artifact policy configuration for repository cleanup policies.

Inherits from Protobuf::Message.

Accessors

Enum: CleanupPolicy::Action

  • ACTION_UNSPECIFIED => 0

  • DELETE => 1

  • KEEP => 2

Google::Devtools::Artifactregistry::V1::Repository::VirtualRepositoryConfig

Virtual repository configuration.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Artifactregistry::V1::Repository::RemoteRepositoryConfig

Remote repository configuration.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Artifactregistry::V1::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::V1::Repository::Repository::MavenRepositoryConfig)

    Maven repository config contains repository level configuration for the repositories of maven type.

  • $msg->docker_config() / $msg->docker_config($value)

    Type: Message (Google::Devtools::Artifactregistry::V1::Repository::Repository::DockerRepositoryConfig)

    Docker repository config contains repository level configuration for the repositories of docker type.

  • $msg->virtual_repository_config() / $msg->virtual_repository_config($value)

    Type: Message (Google::Devtools::Artifactregistry::V1::Repository::VirtualRepositoryConfig)

    Configuration specific for a Virtual Repository.

  • $msg->remote_repository_config() / $msg->remote_repository_config($value)

    Type: Message (Google::Devtools::Artifactregistry::V1::Repository::RemoteRepositoryConfig)

    Configuration specific for a Remote Repository.

  • $msg->name() / $msg->name($value)

    Type: String

    The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.

  • $msg->format() / $msg->format($value)

    Type: Enum (Google::Devtools::Artifactregistry::V1::Repository::Format)

    Optional. The format of packages that are stored in the repository.

  • $msg->description() / $msg->description($value)

    Type: String

    The user-provided description of the repository.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Devtools::Artifactregistry::V1::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)

    Output only. The time when the repository was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the repository was last updated.

  • $msg->kms_key_name() / $msg->kms_key_name($value)

    Type: String

    The 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.

  • $msg->mode() / $msg->mode($value)

    Type: Enum (Google::Devtools::Artifactregistry::V1::Repository::Mode)

    Optional. The mode of the repository.

  • $msg->cleanup_policies() / $msg->cleanup_policies($value)

    Type: Message (Google::Devtools::Artifactregistry::V1::Repository::Repository::CleanupPoliciesEntry)

    Optional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length.

  • $msg->size_bytes() / $msg->size_bytes($value)

    Type: Int64

    Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.

  • $msg->satisfies_pzs() / $msg->satisfies_pzs($value)

    Type: Bool

    Output only. Whether or not this repository satisfies PZS.

  • $msg->cleanup_policy_dry_run() / $msg->cleanup_policy_dry_run($value)

    Type: Bool

    Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.

  • $msg->vulnerability_scanning_config() / $msg->vulnerability_scanning_config($value)

    Type: Message (Google::Devtools::Artifactregistry::V1::Repository::Repository::VulnerabilityScanningConfig)

    Optional. Config and state for vulnerability scanning of resources within this Repository.

  • $msg->disallow_unspecified_mode() / $msg->disallow_unspecified_mode($value)

    Type: Bool

    Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.

  • $msg->satisfies_pzi() / $msg->satisfies_pzi($value)

    Type: Bool

    Output only. Whether or not this repository satisfies PZI.

  • $msg->registry_uri() / $msg->registry_uri($value)

    Type: String

    Output only. The repository endpoint, for example: `us-docker.pkg.dev/my-proj/my-repo`.

Enum: Repository::Format

  • FORMAT_UNSPECIFIED => 0

  • DOCKER => 1

  • MAVEN => 2

  • NPM => 3

  • APT => 5

  • YUM => 6

  • PYTHON => 8

  • KFP => 9

  • GO => 10

  • GENERIC => 11

  • RUBY => 12

Enum: Repository::Mode

  • MODE_UNSPECIFIED => 0

  • STANDARD_REPOSITORY => 1

  • VIRTUAL_REPOSITORY => 2

  • REMOTE_REPOSITORY => 3

Google::Devtools::Artifactregistry::V1::Repository::ListRepositoriesRequest

The request to list repositories.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The name of the parent resource whose repositories will be listed.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of repositories to return. Maximum page size is 1,000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value returned from a previous list request, if any.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:

     * `name`
    
    Examples of using a filter:

    To filter the results of your request to repositories with the name `my-repo` in project `my-project` in the `us-central` region, append the following filter expression to your request:

     * `name="projects/my-project/locations/us-central1/repositories/my-repo"`
    
    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-*"`
     * `name="projects/my-project/locations/us-central1/repositories/*repo"`
     * `name="projects/my-project/locations/us-central1/repositories/*repo*"`
  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. The field to order the results by.

Google::Devtools::Artifactregistry::V1::Repository::ListRepositoriesResponse

The response from listing repositories.

Inherits from Protobuf::Message.

Accessors

  • $msg->repositories() / $msg->repositories($value)

    Type: Message (Google::Devtools::Artifactregistry::V1::Repository::Repository)

    The repositories returned.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token to retrieve the next page of repositories, or empty if there are no more repositories to return.

Google::Devtools::Artifactregistry::V1::Repository::GetRepositoryRequest

The request to retrieve a repository.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the repository to retrieve.

Google::Devtools::Artifactregistry::V1::Repository::CreateRepositoryRequest

The request to create a new repository.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The name of the parent resource where the repository will be created.

  • $msg->repository_id() / $msg->repository_id($value)

    Type: String

    Required. The repository id to use for this repository.

  • $msg->repository() / $msg->repository($value)

    Type: Message (Google::Devtools::Artifactregistry::V1::Repository::Repository)

    Required. The repository to be created.

Google::Devtools::Artifactregistry::V1::Repository::UpdateRepositoryRequest

The request to update a repository.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Artifactregistry::V1::Repository::DeleteRepositoryRequest

The request to delete a repository.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the repository to delete.

SEE ALSO

Protobuf, Protobuf::Message, Google::Devtools::Artifactregistry::V1::Repository::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.