Cloud Build v1 API - Class Artifacts (2.10.0)

public sealed class Artifacts : IMessage<Artifacts>, IEquatable<Artifacts>, IDeepCloneable<Artifacts>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v1 API class Artifacts.

Artifacts produced by a build that should be uploaded upon successful completion of all build steps.

Inheritance

object > Artifacts

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

Artifacts()

public Artifacts()

Artifacts(Artifacts)

public Artifacts(Artifacts other)
Parameter
Name Description
other Artifacts

Properties

Images

public RepeatedField<string> Images { get; }

A list of images to be pushed upon the successful completion of all build steps.

The images will be pushed using the builder service account's credentials.

The digests of the pushed images will be stored in the Build resource's results field.

If any of the images fail to be pushed, the build is marked FAILURE.

Property Value
Type Description
RepeatedFieldstring

MavenArtifacts

public RepeatedField<Artifacts.Types.MavenArtifact> MavenArtifacts { get; }

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.

Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.

If any artifacts fail to be pushed, the build is marked FAILURE.

Property Value
Type Description
RepeatedFieldArtifactsTypesMavenArtifact

NpmPackages

public RepeatedField<Artifacts.Types.NpmPackage> NpmPackages { get; }

A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.

Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials.

If any packages fail to be pushed, the build is marked FAILURE.

Property Value
Type Description
RepeatedFieldArtifactsTypesNpmPackage

Objects

public Artifacts.Types.ArtifactObjects Objects { get; set; }

A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.

Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials.

The location and generation of the uploaded objects will be stored in the Build resource's results field.

If any objects fail to be pushed, the build is marked FAILURE.

Property Value
Type Description
ArtifactsTypesArtifactObjects

PythonPackages

public RepeatedField<Artifacts.Types.PythonPackage> PythonPackages { get; }

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.

The build service account credentials will be used to perform the upload.

If any objects fail to be pushed, the build is marked FAILURE.

Property Value
Type Description
RepeatedFieldArtifactsTypesPythonPackage