1.0.0-beta87 (latest) 1.0.0-beta86

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

Reference documentation and code samples for the Vertex AI v1beta1 API class CompleteTrialRequest.

Request message for
\[VizierService.CompleteTrial\]\[google.cloud.aiplatform.v1beta1.VizierService.CompleteTrial\].

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CompleteTrialRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CompleteTrialRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CompleteTrialRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CompleteTrialRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CompleteTrialRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CompleteTrialRequest), [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.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### CompleteTrialRequest()

    public CompleteTrialRequest()

### CompleteTrialRequest(CompleteTrialRequest)

    public CompleteTrialRequest(CompleteTrialRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CompleteTrialRequest` |

## Properties

### FinalMeasurement

    public Measurement FinalMeasurement { get; set; }

Optional. If provided, it will be used as the completed Trial's
final_measurement; Otherwise, the service will auto-select a
previously reported measurement as the final-measurement

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Measurement` |   |

### InfeasibleReason

    public string InfeasibleReason { get; set; }

Optional. A human readable reason why the trial was infeasible. This should
only be provided if `trial_infeasible` is true.

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

### Name

    public string Name { get; set; }

Required. The Trial's name.
Format:
`projects/{project}/locations/{location}/studies/{study}/trials/{trial}`

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

### TrialInfeasible

    public bool TrialInfeasible { get; set; }

Optional. True if the Trial cannot be run with the given Parameter, and
final_measurement will be ignored.

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

### TrialName

    public TrialName TrialName { get; set; }

[TrialName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.TrialName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CompleteTrialRequest#Google_Cloud_AIPlatform_V1Beta1_CompleteTrialRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.TrialName` |   |