Service Client: Google::Cloud::Bigquery::Migration::V2::MigrationService::MigrationServiceClient

Client stub representing the remote MigrationService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to bigquery.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Bigquery::Migration::V2::MigrationService - Compiled Protocol Buffers messages for google/cloud/bigquery/migration/v2/migration_service.proto

SYNOPSIS

use Google::Cloud::Bigquery::Migration::V2::MigrationService;

my $msg = Google::Cloud::Bigquery::Migration::V2::MigrationService::CreateMigrationWorkflowRequest->new({
    parent => $parent,
    migration_workflow => $migration_workflow,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Migration::V2::MigrationService::CreateMigrationWorkflowRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/bigquery/migration/v2/migration_service.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::V2::MigrationService::CreateMigrationWorkflowRequest

Request to create a migration workflow resource.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Migration::V2::MigrationService::GetMigrationWorkflowRequest

A request to get a previously created migration workflow.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The unique identifier for the migration workflow. Example: `projects/123/locations/us/workflows/1234`

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    The list of fields to be retrieved.

Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationWorkflowsRequest

A request to list previously created migration workflows.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location of the migration workflows to list. Example: `projects/123/locations/us`

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    The list of fields to be retrieved.

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

    Type: Int32

    The maximum number of migration workflows to return. The service may return fewer than this number.

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

    Type: String

    A page token, received from previous `ListMigrationWorkflows` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListMigrationWorkflows` must match the call that provided the page token.

Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationWorkflowsResponse

Response object for a `ListMigrationWorkflows` call.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Migration::V2::MigrationEntities::MigrationWorkflow)

    The migration workflows for the specified project / location.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Bigquery::Migration::V2::MigrationService::DeleteMigrationWorkflowRequest

A request to delete a previously created migration workflow.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The unique identifier for the migration workflow. Example: `projects/123/locations/us/workflows/1234`

Google::Cloud::Bigquery::Migration::V2::MigrationService::StartMigrationWorkflowRequest

A request to start a previously created migration workflow.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The unique identifier for the migration workflow. Example: `projects/123/locations/us/workflows/1234`

Google::Cloud::Bigquery::Migration::V2::MigrationService::GetMigrationSubtaskRequest

A request to get a previously created migration subtasks.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The unique identifier for the migration subtask. Example: `projects/123/locations/us/workflows/1234/subtasks/543`

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to be retrieved.

Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationSubtasksRequest

A request to list previously created migration subtasks.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The migration task of the subtasks to list. Example: `projects/123/locations/us/workflows/1234`

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to be retrieved.

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

    Type: Int32

    Optional. The maximum number of migration tasks to return. The service may return fewer than this number.

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

    Type: String

    Optional. A page token, received from previous `ListMigrationSubtasks` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListMigrationSubtasks` must match the call that provided the page token.

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

    Type: String

    Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the task ID (not the name in the named map).

Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationSubtasksResponse

Response object for a `ListMigrationSubtasks` call.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Migration::V2::MigrationEntities::MigrationSubtask)

    The migration subtasks for the specified task.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Migration::V2::MigrationService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.