Cloud Build v1 API - Class Artifacts.Types.PythonPackage (2.1.0)

public sealed class 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.

Inheritance

Object > Artifacts.Types.PythonPackage

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

PythonPackage()

public PythonPackage()

PythonPackage(Artifacts.Types.PythonPackage)

public PythonPackage(Artifacts.Types.PythonPackage other)
Parameter
NameDescription
otherArtifacts.Types.PythonPackage

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
TypeDescription
RepeatedField<String>

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