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
Name | Description |
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.
Values: STATE_UNSPECIFIED (0): The state is unspecified. PENDING (1): The task is waiting for orchestration. ORCHESTRATING (2): The task is assigned to an orchestrator. RUNNING (3): The task is running, i.e. its subtasks are ready for execution. PAUSED (4): Tha task is paused. Assigned subtasks can continue, but no new subtasks will be scheduled. SUCCEEDED (5): The task finished successfully. FAILED (6): The task finished unsuccessfully.