Class TranslationTaskDetails (0.11.8)

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 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 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[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 google.cloud.bigquery_migration_v2alpha.types.TranslationTaskDetails.FileEncoding
The file encoding type.
identifier_settings google.cloud.bigquery_migration_v2alpha.types.IdentifierSettings
The settings for SQL identifiers.
special_token_map MutableMapping[str, 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 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.