Class MigrationTask (0.10.0)

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

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

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

NameDescription
assessment_task_details google.cloud.bigquery_migration_v2alpha.types.AssessmentTaskDetails
Task configuration for Assessment. This field is a member of oneof_ task_details.
translation_task_details google.cloud.bigquery_migration_v2alpha.types.TranslationTaskDetails
Task configuration for Batch/Offline 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 a supported task type.
details google.protobuf.any_pb2.Any
DEPRECATED! Use one of the task_details below. The details of the task. The type URL must be one of the supported task details messages and correspond to the Task's type.
state google.cloud.bigquery_migration_v2alpha.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.
orchestration_result google.cloud.bigquery_migration_v2alpha.types.MigrationTaskOrchestrationResult
Output only. Additional information about the orchestration.

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.