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

Enum: MigrationWorkflow::State

  • STATE_UNSPECIFIED => 0

  • DRAFT => 1

  • RUNNING => 2

  • PAUSED => 3

  • COMPLETED => 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

Enum: MigrationTask::State

  • STATE_UNSPECIFIED => 0

  • PENDING => 1

  • ORCHESTRATING => 2

  • RUNNING => 3

  • PAUSED => 4

  • SUCCEEDED => 5

  • FAILED => 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: String

    Output 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: String

    The unique ID of the task to which this subtask belongs.

  • $msg->type() / $msg->type($value)

    Type: String

    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.

  • $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: Int32

    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`.

  • $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 => 0

  • ACTIVE => 1

  • RUNNING => 2

  • SUCCEEDED => 3

  • FAILED => 4

  • PAUSED => 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

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.