Class MigrationWorkflow (0.11.7)

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

A migration workflow which specifies what needs to be done for an EDW migration.

Attributes

NameDescription
name str
Output only. Immutable. The unique identifier for the migration workflow. The ID is server-generated. Example: projects/123/locations/us/workflows/345
display_name str
The display name of the workflow. This can be set to give a workflow a descriptive name. There is no guarantee or enforcement of uniqueness.
tasks MutableMapping[str, google.cloud.bigquery_migration_v2alpha.types.MigrationTask]
The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.
state google.cloud.bigquery_migration_v2alpha.types.MigrationWorkflow.State
Output only. That status of the workflow.
create_time google.protobuf.timestamp_pb2.Timestamp
Time when the workflow was created.
last_update_time google.protobuf.timestamp_pb2.Timestamp
Time when the workflow was last updated.

Classes

State

State(value)

Possible migration workflow states.

Values: STATE_UNSPECIFIED (0): Workflow state is unspecified. DRAFT (1): Workflow is in draft status, i.e. tasks are not yet eligible for execution. RUNNING (2): Workflow is running (i.e. tasks are eligible for execution). PAUSED (3): Workflow is paused. Tasks currently in progress may continue, but no further tasks will be scheduled. COMPLETED (4): Workflow is complete. There should not be any task in a non-terminal state, but if they are (e.g. forced termination), they will not be scheduled.

TasksEntry

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

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.