public sealed class Package : IMessage<Package>, IEquatable<Package>, IDeepCloneable<Package>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class Package.
Packages are named collections of versions.
Namespace
Google.Cloud.ArtifactRegistry.V1Assembly
Google.Cloud.ArtifactRegistry.V1.dll
Constructors
Package()
public Package()
Package(Package)
public Package(Package other)
Parameter | |
---|---|
Name | Description |
other |
Package |
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 package was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
DisplayName
public string DisplayName { get; set; }
The display name of the package.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
PackageName
public PackageName PackageName { get; set; }
PackageName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
PackageName |
UpdateTime
public Timestamp UpdateTime { get; set; }
The time when the package was last updated. This includes publishing a new version of the package.
Property Value | |
---|---|
Type | Description |
Timestamp |