Artifact Registry v1 API - Class PythonPackage (2.4.0)

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 > PythonPackage

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

PythonPackage()

public PythonPackage()

PythonPackage(PythonPackage)

public PythonPackage(PythonPackage other)
Parameter
NameDescription
otherPythonPackage

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time the package was created.

Property Value
TypeDescription
Timestamp

Name

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

PackageName

public string PackageName { get; set; }

Package for the artifact.

Property Value
TypeDescription
string

PythonPackageName

public PythonPackageName PythonPackageName { get; set; }

PythonPackageName-typed view over the Name resource name property.

Property Value
TypeDescription
PythonPackageName

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Time the package was updated.

Property Value
TypeDescription
Timestamp

Uri

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

Version

public string Version { get; set; }

Version of this package.

Property Value
TypeDescription
string