Artifact Registry v1 API - Class Package (2.2.0)

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.

Inheritance

object > Package

Namespace

GoogleCloudGoogle.Cloud.ArtifactRegistryV1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

Package()

public Package()

Package(Package)

public Package(Package other)
Parameter
NameDescription
otherPackage

Properties

CreateTime

public Timestamp CreateTime { get; set; }

The time when the package was created.

Property Value
TypeDescription
Timestamp

DisplayName

public string DisplayName { get; set; }

The display name of the package.

Property Value
TypeDescription
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
TypeDescription
string

PackageName

public PackageName PackageName { get; set; }

PackageName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
Timestamp