public sealed class Version : IMessage<Version>, IEquatable<Version>, IDeepCloneable<Version>, IBufferMessage, IMessageReference documentation and code samples for the Artifact Registry v1 API class Version.
The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.
Namespace
Google.Cloud.ArtifactRegistry.V1Assembly
Google.Cloud.ArtifactRegistry.V1.dll
Constructors
Version()
public Version()Version(Version)
public Version(Version other)| Parameter | |
|---|---|
| Name | Description |
other |
Version |
Properties
Annotations
public MapField<string, string> Annotations { get; }Optional. Client specified annotations.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
CreateTime
public Timestamp CreateTime { get; set; }The time when the version was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }Optional. Description of the version, as specified in its metadata.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Metadata
public Struct Metadata { get; set; }Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: [DockerImage][google.devtools.artifactregistry.v1.DockerImage] [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact]
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
Name
public string Name { get; set; }The name of the version, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1.
If the package or version ID parts contain slashes, the slashes are
escaped.
| Property Value | |
|---|---|
| Type | Description |
string |
|
RelatedTags
public RepeatedField<Tag> RelatedTags { get; }Output only. A list of related tags. Will contain up to 100 tags that reference this version.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldTag |
|
UpdateTime
public Timestamp UpdateTime { get; set; }The time when the version was last updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
VersionName
public VersionName VersionName { get; set; }VersionName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
VersionName |
|