NAME
Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities - Compiled Protocol Buffers messages for google/cloud/bigquery/migration/v2alpha/migration_entities.proto
SYNOPSIS
use Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities;
my $msg = Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities::MigrationWorkflow->new({
name => $name,
display_name => $display_name,
tasks => $tasks,
state => $state,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities::MigrationWorkflow->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/bigquery/migration/v2alpha/migration_entities.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities::MigrationWorkflow
A migration workflow which specifies what needs to be done for an EDW migration.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Immutable. The unique identifier for the migration workflow. The ID is server-generated.
Example: `projects/123/locations/us/workflows/345`
$msg->display_name()/$msg->display_name($value)Type:
StringThe display name of the workflow. This can be set to give a workflow a descriptive name. There is no guarantee or enforcement of uniqueness.
$msg->tasks()/$msg->tasks($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities::MigrationWorkflow::TasksEntry)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.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Bigquery::Migration::V2alpha::MigrationWorkflow::State)Output only. That status of the workflow.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time when the workflow was created.
$msg->last_update_time()/$msg->last_update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time when the workflow was last updated.
Enum: MigrationWorkflow::State
STATE_UNSPECIFIED=>0DRAFT=>1RUNNING=>2PAUSED=>3COMPLETED=>4
Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities::MigrationTask
A single task for a migration which has details about the configuration of the task.
Inherits from Protobuf::Message.
Accessors
$msg->assessment_task_details()/$msg->assessment_task_details($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::AssessmentTask::AssessmentTaskDetails)Task configuration for Assessment.
$msg->translation_task_details()/$msg->translation_task_details($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::TranslationTaskDetails)Task configuration for Batch/Offline SQL Translation.
$msg->id()/$msg->id($value)Type:
StringOutput only. Immutable. The unique identifier for the migration task. The ID is server-generated.
$msg->type()/$msg->type($value)Type:
StringThe type of the task. This must be a supported task type.
$msg->details()/$msg->details($value)Type:
Message(Google::Protobuf::Any::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.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Bigquery::Migration::V2alpha::MigrationTask::State)Output only. The current state of the task.
$msg->processing_error()/$msg->processing_error($value)Type:
Message(Google::Rpc::ErrorDetails::ErrorInfo)Output only. An explanation that may be populated when the task is in FAILED state.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time when the task was created.
$msg->last_update_time()/$msg->last_update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time when the task was last updated.
$msg->orchestration_result()/$msg->orchestration_result($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities::MigrationTaskOrchestrationResult)Output only. Additional information about the orchestration.
Enum: MigrationTask::State
STATE_UNSPECIFIED=>0PENDING=>1ORCHESTRATING=>2RUNNING=>3PAUSED=>4SUCCEEDED=>5FAILED=>6
Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities::MigrationSubtask
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.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Immutable. The resource name for the migration subtask. The ID is server-generated.
Example: `projects/123/locations/us/workflows/345/subtasks/678`
$msg->task_id()/$msg->task_id($value)Type:
StringThe unique ID of the task to which this subtask belongs.
$msg->type()/$msg->type($value)Type:
StringThe 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.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Bigquery::Migration::V2alpha::MigrationSubtask::State)Output only. The current state of the subtask.
$msg->processing_error()/$msg->processing_error($value)Type:
Message(Google::Rpc::ErrorDetails::ErrorInfo)Output only. An explanation that may be populated when the task is in FAILED state.
$msg->resource_error_details()/$msg->resource_error_details($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::MigrationErrorDetails::ResourceErrorDetail)Output only. Provides details to errors and issues encountered while processing the subtask. Presence of error details does not mean that the subtask failed.
$msg->resource_error_count()/$msg->resource_error_count($value)Type:
Int32The 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`.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time when the subtask was created.
$msg->last_update_time()/$msg->last_update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time when the subtask was last updated.
$msg->metrics()/$msg->metrics($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::MigrationMetrics::TimeSeries)The metrics for the subtask.
Enum: MigrationSubtask::State
STATE_UNSPECIFIED=>0ACTIVE=>1RUNNING=>2SUCCEEDED=>3FAILED=>4PAUSED=>5
Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities::MigrationTaskOrchestrationResult
Additional information from the orchestrator when it is done with the task orchestration.
Inherits from Protobuf::Message.
Accessors
$msg->assessment_details()/$msg->assessment_details($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::AssessmentTask::AssessmentOrchestrationResultDetails)Details specific to assessment task types.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Migration::V2alpha::MigrationEntities::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.