Artifact Registry v1beta2 API - Class Tag (2.0.0-beta05)

public sealed class Tag : IMessage<Tag>, IEquatable<Tag>, IDeepCloneable<Tag>, IBufferMessage, IMessage

Reference documentation and code samples for the Artifact Registry v1beta2 API class Tag.

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

Inheritance

object > Tag

Namespace

Google.Cloud.ArtifactRegistry.V1Beta2

Assembly

Google.Cloud.ArtifactRegistry.V1Beta2.dll

Constructors

Tag()

public Tag()

Tag(Tag)

public Tag(Tag other)
Parameter
Name Description
other Tag

Properties

Name

public string Name { get; set; }

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.

Property Value
Type Description
string

TagName

public TagName TagName { get; set; }

TagName-typed view over the Name resource name property.

Property Value
Type Description
TagName

Version

public string Version { get; set; }

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.

Property Value
Type Description
string