NAME

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

SYNOPSIS

use Google::Devtools::Artifactregistry::V1::Tag;

my $msg = Google::Devtools::Artifactregistry::V1::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::V1::Tag::Tag->parse($bytes);

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

DESCRIPTION

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

The request to list tags.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the parent package whose tags will be listed. For example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`.

  • $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:

     * `name`
     * `version`
    
    Examples of using a filter:
    
    To filter the results of your request to tags with the name `my-tag` in
    package `my-package` in repository `my-repo` in project "`y-project` in
    the us-central region, append the following filter expression to your
    request:
    
     * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my-tag"`
    
    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-package/tags/my*"`
     * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag"`
     * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag*"`
    
    To filter the results of your request to tags applied to the version
    `1.0` in package `my-package`, append the following filter expression to
    your request:
    
     * `version="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"`
  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of tags 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.

Google::Devtools::Artifactregistry::V1::Tag::ListTagsResponse

The response from listing tags.

Inherits from Protobuf::Message.

Accessors

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

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

    The tag to be created.

Google::Devtools::Artifactregistry::V1::Tag::UpdateTagRequest

The request to create or update a tag.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Artifactregistry::V1::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::V1::Tag::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.