3.11.0 (latest) 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.0

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

Reference documentation and code samples for the Google Cloud Translation v3 API class AdaptiveMtTranslateRequest.

The request for sending an AdaptiveMt translation query.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Translate.V3.dll

## Constructors

### AdaptiveMtTranslateRequest()

    public AdaptiveMtTranslateRequest()

### AdaptiveMtTranslateRequest(AdaptiveMtTranslateRequest)

    public AdaptiveMtTranslateRequest(AdaptiveMtTranslateRequest other)

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

## Properties

### Content

    public RepeatedField<string> Content { get; }

Required. The content of the input in string format.

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

### Dataset

    public string Dataset { get; set; }

Required. The resource name for the dataset to use for adaptive MT.
`projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`

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

### DatasetAsAdaptiveMtDatasetName

    public AdaptiveMtDatasetName DatasetAsAdaptiveMtDatasetName { get; set; }

[AdaptiveMtDatasetName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtDatasetName.md.txt)-typed view over the [Dataset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.md.txt#Google_Cloud_Translate_V3_AdaptiveMtTranslateRequest_Dataset) resource name property.

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

### GlossaryConfig

    public AdaptiveMtTranslateRequest.Types.GlossaryConfig GlossaryConfig { get; set; }

Optional. Glossary to be applied. The glossary must be
within the same region (have the same location-id) as the model, otherwise
an INVALID_ARGUMENT (400) error is returned.

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

### MimeType

    public string MimeType { get; set; }

The format of the source text.

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

### Parent

    public string Parent { get; set; }

Required. Location to make a regional call.

Format: `projects/{project-number-or-id}/locations/{location-id}`.

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

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.md.txt#Google_Cloud_Translate_V3_AdaptiveMtTranslateRequest_Parent) resource name property.

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

### ReferenceSentenceConfig

    public AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig ReferenceSentenceConfig { get; set; }

Configuration for caller provided reference sentences.

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