Class Package (2.0.0)

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

Packages are named collections of versions.

Inheritance

Object > Package

Namespace

Google.Cloud.ArtifactRegistry.V1

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

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