A subtask for a migration which carries details about the
configuration of the subtask. The content of the details should
not matter to the end user, but is a contract between the
subtask creator and subtask worker.
Attributes
Name
Description
name
str
Output only. Immutable. The resource name for the migration
subtask. The ID is server-generated.
Example:
projects/123/locations/us/workflows/345/subtasks/678
task_id
str
The unique ID of the task to which this
subtask belongs.
type_
str
The type of the Subtask. The migration
service does not check whether this is a known
type. It is up to the task creator (i.e.
orchestrator or worker) to ensure it only
creates subtasks for which there are compatible
workers polling for Subtasks.
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.
create_time
google.protobuf.timestamp_pb2.Timestamp
Time when the subtask was created.
last_update_time
google.protobuf.timestamp_pb2.Timestamp
Time when the subtask was last updated.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class MigrationSubtask (0.11.15)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.15 (latest)](/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.11.14](/python/docs/reference/bigquerymigration/0.11.14/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.10.0](/python/docs/reference/bigquerymigration/0.10.0/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.9.1](/python/docs/reference/bigquerymigration/0.9.1/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.8.0](/python/docs/reference/bigquerymigration/0.8.0/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.7.2](/python/docs/reference/bigquerymigration/0.7.2/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.6.0](/python/docs/reference/bigquerymigration/0.6.0/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.5.0](/python/docs/reference/bigquerymigration/0.5.0/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.4.3](/python/docs/reference/bigquerymigration/0.4.3/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.3.1](/python/docs/reference/bigquerymigration/0.3.1/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.2.1](/python/docs/reference/bigquerymigration/0.2.1/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask)\n- [0.1.0](/python/docs/reference/bigquerymigration/0.1.0/google.cloud.bigquery_migration_v2alpha.types.MigrationSubtask) \n\n MigrationSubtask(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nA subtask for a migration which carries details about the\nconfiguration of the subtask. The content of the details should\nnot matter to the end user, but is a contract between the\nsubtask creator and subtask worker.\n\nClasses\n-------\n\n### State\n\n State(value)\n\nPossible states of a migration subtask."]]