NAME

Google::Devtools::Artifactregistry::V1beta2::Tag - Compiled Protocol Buffers messages for google/devtools/artifactregistry/v1beta2/tag.proto

SYNOPSIS

use Google::Devtools::Artifactregistry::V1beta2::Tag;

my $msg = Google::Devtools::Artifactregistry::V1beta2::Tag::Tag->new({
    name => $name,
    version => $version,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/devtools/artifactregistry/v1beta2/tag.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::Tag::Tag

Tags point to a version and represent an alternative name that can be used to access the version.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else must be URL encoded.

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

    Type: String

    The name of the version the tag refers to, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811" If the package or version ID parts contain slashes, the slashes are escaped.

Google::Devtools::Artifactregistry::V1beta2::Tag::ListTagsRequest

The request to list tags.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the parent resource whose tags will be listed.

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

    Type: String

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

     * `version`
    
    An example of using a filter:
    
     * `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"`
     --> Tags that are applied to the version `1.0` in package `pkg1`.
  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of tags to return. Maximum page size is 10,000.

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

    Type: String

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

Google::Devtools::Artifactregistry::V1beta2::Tag::ListTagsResponse

The response from listing tags.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Devtools::Artifactregistry::V1beta2::Tag::Tag)

    The tags returned.

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

    Type: String

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

Google::Devtools::Artifactregistry::V1beta2::Tag::GetTagRequest

The request to retrieve a tag.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the tag to retrieve.

Google::Devtools::Artifactregistry::V1beta2::Tag::CreateTagRequest

The request to create a new tag.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the parent resource where the tag will be created.

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

    Type: String

    The tag id to use for this repository.

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

    Type: Message (Google::Devtools::Artifactregistry::V1beta2::Tag::Tag)

    The tag to be created.

Google::Devtools::Artifactregistry::V1beta2::Tag::UpdateTagRequest

The request to create or update a tag.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Artifactregistry::V1beta2::Tag::DeleteTagRequest

The request to delete a tag.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the tag to delete.

SEE ALSO

Protobuf, Protobuf::Message, Google::Devtools::Artifactregistry::V1beta2::Tag::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.