public sealed class Artifacts.Types.PythonPackage : IMessage<Artifacts.Types.PythonPackage>, IEquatable<Artifacts.Types.PythonPackage>, IDeepCloneable<Artifacts.Types.PythonPackage>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class Artifacts.Types.PythonPackage.
Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
Implements
IMessageArtifactsTypesPythonPackage, IEquatableArtifactsTypesPythonPackage, IDeepCloneableArtifactsTypesPythonPackage, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
PythonPackage()
public PythonPackage()
PythonPackage(PythonPackage)
public PythonPackage(Artifacts.Types.PythonPackage other)
Parameter | |
---|---|
Name | Description |
other | ArtifactsTypesPythonPackage |
Properties
Paths
public RepeatedField<string> Paths { get; }
Path globs used to match files in the build's workspace. For Python/
Twine, this is usually dist/*
, and sometimes additionally an .asc
file.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Repository
public string Repository { get; set; }
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
Property Value | |
---|---|
Type | Description |
string |