Class MigrationTask (0.8.0)

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

A single task for a migration which has details about the configuration of the task.

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

Attributes

NameDescription
translation_config_details google.cloud.bigquery_migration_v2.types.TranslationConfigDetails
Task configuration for Batch SQL Translation. This field is a member of oneof_ task_details.
id str
Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
type_ str
The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ.
state google.cloud.bigquery_migration_v2.types.MigrationTask.State
Output only. The current state of the task.
processing_error google.rpc.error_details_pb2.ErrorInfo
Output only. An explanation that may be populated when the task is in FAILED state.
create_time google.protobuf.timestamp_pb2.Timestamp
Time when the task was created.
last_update_time google.protobuf.timestamp_pb2.Timestamp
Time when the task was last updated.

Classes

State

State(value)

Possible states of a migration task.