2.15.0 (latest) 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.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](https://learn.microsoft.com/dotnet/api/system.object) \> Package

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Package](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.Package.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Package](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.Package.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Package](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.Package.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ArtifactRegistry.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.md.txt)

## Assembly

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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PackageName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.Package.md.txt#Google_Cloud_ArtifactRegistry_V1_Package_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` |   |