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

```python
public sealed class PythonPackage : IMessage<PythonPackage>, IEquatable<PythonPackage>, IDeepCloneable<PythonPackage>, IBufferMessage, IMessage
```
Reference documentation and code samples for the Artifact Registry v1 API class PythonPackage.

PythonPackage represents a python artifact.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> PythonPackage

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[PythonPackage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PythonPackage.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PythonPackage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PythonPackage.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[PythonPackage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PythonPackage.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

### PythonPackage()

```python
public PythonPackage()
```

### PythonPackage(PythonPackage)

```python
public PythonPackage(PythonPackage other)
```

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `PythonPackage` |

## Properties

### CreateTime

```python
public Timestamp CreateTime { get; set; }
```
Output only. Time the package was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### Name

```python
public string Name { get; set; }
```
Required. registry_location, project_id, repository_name and python_package
forms a unique package
name:`projects/<project_id>/locations/<location>/repository/<repository_name>/pythonPackages/<python_package>`.
For example,
"projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/
python_package:1.0.0",
where "us-west4" is the registry_location, "test-project" is the
project_id, "test-repo" is the repository_name and
python_package:1.0.0" is the python package.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PackageName

```python
public string PackageName { get; set; }
```
Package for the artifact.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PythonPackageName

```python
public PythonPackageName PythonPackageName { get; set; }
```
[PythonPackageName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PythonPackageName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.PythonPackage.md.txt#Google_Cloud_ArtifactRegistry_V1_PythonPackage_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `PythonPackageName` |   |

### UpdateTime

```python
public Timestamp UpdateTime { get; set; }
```
Output only. Time the package was updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### Uri

```python
public string Uri { get; set; }
```
Required. URL to access the package.
Example:
us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Version

```python
public string Version { get; set; }
```
Version of this package.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |