2.23.0 (latest) 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.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](https://learn.microsoft.com/dotnet/api/system.object) \> Artifacts

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Artifacts](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Artifacts](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Artifacts](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.Artifacts.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudBuild.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.md.txt)

## Assembly

Google.Cloud.CloudBuild.V1.dll

## Constructors

### Artifacts()

    public Artifacts()

### Artifacts(Artifacts)

    public Artifacts(Artifacts other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Artifacts` |

## Properties

### GoModules

    public RepeatedField<Artifacts.Types.GoModule> GoModules { get; }

Optional. A list of Go modules to be uploaded to Artifact Registry upon
successful completion of all build steps.

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldArtifactsTypesGoModule` |   |

### 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` |   |