1.0.0-beta25 (latest) 1.0.0-beta24

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

Reference documentation and code samples for the Discovery Engine v1beta API class TrainCustomModelResponse.

Response of the
\[TrainCustomModelRequest\]\[google.cloud.discoveryengine.v1beta.TrainCustomModelRequest\].
This message is returned by the google.longrunning.Operations.response field.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TrainCustomModelResponse

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TrainCustomModelResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.TrainCustomModelResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TrainCustomModelResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.TrainCustomModelResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TrainCustomModelResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.TrainCustomModelResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### TrainCustomModelResponse()

    public TrainCustomModelResponse()

### TrainCustomModelResponse(TrainCustomModelResponse)

    public TrainCustomModelResponse(TrainCustomModelResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.TrainCustomModelResponse` |

## Properties

### ErrorConfig

    public ImportErrorConfig ErrorConfig { get; set; }

Echoes the destination for the complete errors in the request if set.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportErrorConfig` |   |

### ErrorSamples

    public RepeatedField<Status> ErrorSamples { get; }

A sample of errors encountered while processing the data.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Rpc.Status.html` |   |

### Metrics

    public MapField<string, double> Metrics { get; }

The metrics of the trained model.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.double` |   |

### ModelName

    public string ModelName { get; set; }

Fully qualified name of the CustomTuningModel.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ModelStatus

    public string ModelStatus { get; set; }

The trained model status. Possible values are:

- **bad-data**: The training data quality is bad.
- **no-improvement**: Tuning didn't improve performance. Won't deploy.
- **in-progress**: Model training job creation is in progress.
- **training**: Model is actively training.
- **evaluating**: The model is evaluating trained metrics.
- **indexing**: The model trained metrics are indexing.
- **ready**: The model is ready for serving.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |