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 |
assessment_task_details |
google.cloud.bigquery_migration_v2.types.AssessmentTaskDetails
Task configuration for Assessment. This field is a member of oneof_ task_details.
|
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. Assessment: - Assessment_Hive - Assessment for Hive.
- Assessment_Redshift - Assessment for Redshift.
- Assessment_Snowflake - Assessment for Snowflake.
- Assessment_Teradata_v2 - Assessment for Teradata.
- Assessment_Oracle - Assessment for Oracle.
- Assessment_Hadoop - Assessment for Hadoop.
- Assessment_Informatica - Assessment for Informatica.
Translation: See `Supported Task
Types |
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
Output only. Time when the task was created. |
last_update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. 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
Output only. 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]
Output only. 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
Output only. Count of all the processing errors in this task and its subtasks. |
total_resource_error_count |
int
Output only. Count of all the resource errors in this task and its subtasks. |
Classes
State
State(value)Possible states of a migration task.