# BigQuery Migration v2 API - Class TranslationConfigDetails (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the BigQuery Migration v2 API class TranslationConfigDetails.

The translation config to capture necessary settings for a translation task
and subtask.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.BigQuery.Migration.V2.dll

## Constructors

### TranslationConfigDetails()

    public TranslationConfigDetails()

### TranslationConfigDetails(TranslationConfigDetails)

    public TranslationConfigDetails(TranslationConfigDetails other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.TranslationConfigDetails` |

## Properties

### GcsSourcePath

    public string GcsSourcePath { get; set; }

The Cloud Storage path for a directory of files to translate in a task.

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

### GcsTargetPath

    public string GcsTargetPath { get; set; }

The Cloud Storage path to write back the corresponding input files to.

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

### HasGcsSourcePath

    public bool HasGcsSourcePath { get; }

Gets whether the "gcs_source_path" field is set

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

### HasGcsTargetPath

    public bool HasGcsTargetPath { get; }

Gets whether the "gcs_target_path" field is set

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

### NameMappingList

    public ObjectNameMappingList NameMappingList { get; set; }

The mapping of objects to their desired output names in list form.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.ObjectNameMappingList` |   |

### OutputNameMappingCase

    public TranslationConfigDetails.OutputNameMappingOneofCase OutputNameMappingCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.TranslationConfigDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.TranslationConfigDetails.OutputNameMappingOneofCase` |   |

### RequestSource

    public string RequestSource { get; set; }

The indicator to show translation request initiator.

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

### SourceDialect

    public Dialect SourceDialect { get; set; }

The dialect of the input files.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.Dialect` |   |

### SourceEnv

    public SourceEnv SourceEnv { get; set; }

The default source environment values for the translation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.SourceEnv` |   |

### SourceLocationCase

    public TranslationConfigDetails.SourceLocationOneofCase SourceLocationCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.TranslationConfigDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.TranslationConfigDetails.SourceLocationOneofCase` |   |

### TargetDialect

    public Dialect TargetDialect { get; set; }

The target dialect for the engine to translate the input to.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.Dialect` |   |

### TargetLocationCase

    public TranslationConfigDetails.TargetLocationOneofCase TargetLocationCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.TranslationConfigDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.TranslationConfigDetails.TargetLocationOneofCase` |   |

### TargetTypes

    public RepeatedField<string> TargetTypes { get; }

The types of output to generate, e.g. sql, metadata etc. If not specified,
a default set of targets will be generated. Some additional target types
may be slower to generate. See the documentation for the set of available
target types.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |