NAME

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

SYNOPSIS

use Google::Devtools::Artifactregistry::V1::Package;

my $msg = Google::Devtools::Artifactregistry::V1::Package::Package->new({
    name => $name,
    display_name => $display_name,
    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::Package::Package->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/devtools/artifactregistry/v1/package.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::Package::Package

Packages are named collections of versions.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. If the package ID part contains slashes, the slashes are escaped.

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

    Type: String

    The display name of the package.

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

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

    The time when the package was created.

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

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

    The time when the package was last updated. This includes publishing a new version of the package.

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

    Type: Message (Google::Devtools::Artifactregistry::V1::Package::Package::AnnotationsEntry)

    Optional. Client specified annotations.

Google::Devtools::Artifactregistry::V1::Package::ListPackagesRequest

The request to list packages.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Int32

    The maximum number of packages 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`
    * `annotations`

    Examples of using a filter:

    To filter the results of your request to packages with the name
    `my-package` 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"`
    
    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-*"`
     * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/*package"`
     * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/*pack*"`
    
    To filter the results of your request to packages 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 the results 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 packages with the annotation key-value pair
    [`external.link`:`https://example.com/my-package`], append the following
    filter expression to your request:
    
     * `` "annotations.`external.link`:`https://example.com/my-package`" ``
    
    You can also filter with annotations with a wildcard to
    match any number of characters before or after the value:
    
     * `` "annotations.*_link:`*example.com*`" ``
  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. The field to order the results by.

Google::Devtools::Artifactregistry::V1::Package::ListPackagesResponse

The response from listing packages.

Inherits from Protobuf::Message.

Accessors

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

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

    The packages returned.

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

    Type: String

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

Google::Devtools::Artifactregistry::V1::Package::GetPackageRequest

The request to retrieve a package.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the package to retrieve.

Google::Devtools::Artifactregistry::V1::Package::DeletePackageRequest

The request to delete a package.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the package to delete.

Google::Devtools::Artifactregistry::V1::Package::UpdatePackageRequest

The request to update a package.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.