Class MigrationTask (0.11.11)

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

Name Description
translation_config_details google.cloud.bigquery_migration_v2.types.TranslationConfigDetails
Task configuration for CW Batch/Offline SQL Translation. This field is a member of oneof_ task_details.
translation_details google.cloud.bigquery_migration_v2.types.TranslationDetails
Task details for unified 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, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
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.
resource_error_details MutableSequence[google.cloud.bigquery_migration_v2.types.ResourceErrorDetail]
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
resource_error_count int
The number or resources with errors. Note: This is not the total number of errors as each resource can have more than one error. This is used to indicate truncation by having a resource_error_count that is higher than the size of resource_error_details.
metrics MutableSequence[google.cloud.bigquery_migration_v2.types.TimeSeries]
The metrics for the task.
task_result google.cloud.bigquery_migration_v2.types.MigrationTaskResult
Output only. The result of the task.
total_processing_error_count int
Count of all the processing errors in this task and its subtasks.
total_resource_error_count int
Count of all the resource errors in this task and its subtasks.

Classes

State

State(value)

Possible states of a migration task.