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.
Implements
IMessagePythonPackage, IEquatablePythonPackage, IDeepCloneablePythonPackage, IBufferMessage, IMessageNamespace
Google.Cloud.ArtifactRegistry.V1Assembly
Google.Cloud.ArtifactRegistry.V1.dll
Constructors
PythonPackage()
public PythonPackage()
PythonPackage(PythonPackage)
public PythonPackage(PythonPackage other)
Parameter | |
---|---|
Name | Description |
other |
PythonPackage |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Time the package was created.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
PackageName
public string PackageName { get; set; }
Package for the artifact.
Property Value | |
---|---|
Type | Description |
string |
PythonPackageName
public PythonPackageName PythonPackageName { get; set; }
PythonPackageName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
PythonPackageName |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Time the package was updated.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
Version
public string Version { get; set; }
Version of this package.
Property Value | |
---|---|
Type | Description |
string |