Class 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
Inherited Members
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class PythonPackage : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Paths
Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*
, and
sometimes additionally an .asc
file.
Declaration
[JsonProperty("paths")]
public virtual IList<string> Paths { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Repository
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.
Declaration
[JsonProperty("repository")]
public virtual string Repository { get; set; }
Property Value
Type | Description |
---|---|
string |