# Google Cloud Translation v3 API - Class ImportAdaptiveMtFileRequest (3.11.0)

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 ImportAdaptiveMtFileRequest : IMessage<ImportAdaptiveMtFileRequest>, IEquatable<ImportAdaptiveMtFileRequest>, IDeepCloneable<ImportAdaptiveMtFileRequest>, IBufferMessage, IMessage

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

The request for importing an AdaptiveMt file along with its sentences.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Translate.V3.dll

## Constructors

### ImportAdaptiveMtFileRequest()

    public ImportAdaptiveMtFileRequest()

### ImportAdaptiveMtFileRequest(ImportAdaptiveMtFileRequest)

    public ImportAdaptiveMtFileRequest(ImportAdaptiveMtFileRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.ImportAdaptiveMtFileRequest` |

## Properties

### FileInputSource

    public FileInputSource FileInputSource { get; set; }

Inline file source.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.FileInputSource` |   |

### GcsInputSource

    public GcsInputSource GcsInputSource { get; set; }

Google Cloud Storage file source.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.GcsInputSource` |   |

### Parent

    public string Parent { get; set; }

Required. The resource name of the file, in form of
`projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}`

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

### ParentAsAdaptiveMtDatasetName

    public AdaptiveMtDatasetName ParentAsAdaptiveMtDatasetName { get; set; }

[AdaptiveMtDatasetName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtDatasetName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.ImportAdaptiveMtFileRequest#Google_Cloud_Translate_V3_ImportAdaptiveMtFileRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtDatasetName` |   |

### SourceCase

    public ImportAdaptiveMtFileRequest.SourceOneofCase SourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.ImportAdaptiveMtFileRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.ImportAdaptiveMtFileRequest.SourceOneofCase` |   |