# Class TranslationTaskDetails (0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.0 0.11.15 0.10.0 0.9.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.3 0.3.1 0.2.1 0.1.0

    TranslationTaskDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `teradata_options` | `https://docs.cloud.google.com/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2alpha.types.TeradataOptions` The Teradata SQL specific settings for the translation task. This field is a member of `oneof`_ `language_options`. |
| `bteq_options` | `https://docs.cloud.google.com/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2alpha.types.BteqOptions` The BTEQ specific settings for the translation task. This field is a member of `oneof`_ `language_options`. |
| `input_path` | `str` The Cloud Storage path for translation input files. |
| `output_path` | `str` The Cloud Storage path for translation output files. |
| `file_paths` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2alpha.types.TranslationFileMapping]` Cloud Storage files to be processed for translation. |
| `schema_path` | `str` The Cloud Storage path to DDL files as table schema to assist semantic translation. |
| `file_encoding` | `https://docs.cloud.google.com/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2alpha.types.TranslationTaskDetails.FileEncoding` The file encoding type. |
| `identifier_settings` | `https://docs.cloud.google.com/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2alpha.types.IdentifierSettings` The settings for SQL identifiers. |
| `special_token_map` | `MutableMapping[str, https://docs.cloud.google.com/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2alpha.types.TranslationTaskDetails.TokenType]` The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information. |
| `filter` | `https://docs.cloud.google.com/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2alpha.types.Filter` The filter applied to translation details. |
| `translation_exception_table` | `str` Specifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors. If the table does not exist, we will create it. If it already exists and the schema is the same, we will re-use. If the table exists and the schema is different, we will throw an error. |

## Classes

### FileEncoding

    FileEncoding(value)

The file encoding types.

### SpecialTokenMapEntry

    SpecialTokenMapEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### TokenType

    TokenType(value)

The special token data type.