Service Client: Google::Cloud::Clouddms::V1::Clouddms::DataMigrationServiceClient

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

target

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

credentials

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

NAME

Google::Cloud::Clouddms::V1::Clouddms - Compiled Protocol Buffers messages for google/cloud/clouddms/v1/clouddms.proto

SYNOPSIS

use Google::Cloud::Clouddms::V1::Clouddms;

my $msg = Google::Cloud::Clouddms::V1::Clouddms::ListMigrationJobsRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Clouddms::V1::Clouddms::ListMigrationJobsRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/clouddms/v1/clouddms.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::Clouddms::V1::Clouddms::ListMigrationJobsRequest

Retrieves a list of all migration jobs in a given project and location.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent which owns this collection of migrationJobs.

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

    Type: Int32

    The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 are coerced to 1000.

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

    Type: String

    The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token.

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

    Type: String

    A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list migration jobs created this year by specifying createTime %gt; 2020-01-01T00:00:00.000000000Z. You can also filter nested fields. For example, you could specify reverseSshConnectivity.vmIp = "1.2.3.4" to select all migration jobs connecting through the specific SSH tunnel bastion.

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

    Type: String

    Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc".

Google::Cloud::Clouddms::V1::Clouddms::ListMigrationJobsResponse

Response message for 'ListMigrationJobs' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob)

    The list of migration jobs objects.

  • $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.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Clouddms::V1::Clouddms::GetMigrationJobRequest

Request message for 'GetMigrationJob' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the migration job resource to get.

Google::Cloud::Clouddms::V1::Clouddms::CreateMigrationJobRequest

Request message to create a new Database Migration Service migration job in the specified project and region.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent which owns this collection of migration jobs.

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

    Type: String

    Required. The ID of the instance to create.

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob)

    Required. Represents a [migration job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs) object.

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

    Type: String

    Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Google::Cloud::Clouddms::V1::Clouddms::UpdateMigrationJobRequest

Request message for 'UpdateMigrationJob' request.

Inherits from Protobuf::Message.

Accessors

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

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

    Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob)

    Required. The migration job parameters to update.

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

    Type: String

    A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Google::Cloud::Clouddms::V1::Clouddms::DeleteMigrationJobRequest

Request message for 'DeleteMigrationJob' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the migration job resource to delete.

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

    Type: String

    A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

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

    Type: Bool

    The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted.

Google::Cloud::Clouddms::V1::Clouddms::StartMigrationJobRequest

Request message for 'StartMigrationJob' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the migration job resource to start.

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

    Type: Bool

    Optional. Start the migration job without running prior configuration verification. Defaults to `false`.

Google::Cloud::Clouddms::V1::Clouddms::StopMigrationJobRequest

Request message for 'StopMigrationJob' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the migration job resource to stop.

Google::Cloud::Clouddms::V1::Clouddms::ResumeMigrationJobRequest

Request message for 'ResumeMigrationJob' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the migration job resource to resume.

Google::Cloud::Clouddms::V1::Clouddms::PromoteMigrationJobRequest

Request message for 'PromoteMigrationJob' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the migration job resource to promote.

Google::Cloud::Clouddms::V1::Clouddms::VerifyMigrationJobRequest

Request message for 'VerifyMigrationJob' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the migration job resource to verify.

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

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

    Optional. Field mask is used to specify the changed fields to be verified. It will not update the migration job.

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob)

    Optional. The changed migration job parameters to verify. It will not update the migration job.

Google::Cloud::Clouddms::V1::Clouddms::RestartMigrationJobRequest

Request message for 'RestartMigrationJob' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the migration job resource to restart.

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

    Type: Bool

    Optional. Restart the migration job without running prior configuration verification. Defaults to `false`.

Google::Cloud::Clouddms::V1::Clouddms::GenerateSshScriptRequest

Request message for 'GenerateSshScript' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the migration job resource to generate the SSH script.

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

    Type: String

    Required. Bastion VM Instance name to use or to create.

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

    Type: Message (Google::Cloud::Clouddms::V1::Clouddms::VmCreationConfig)

    The VM creation configuration

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

    Type: Message (Google::Cloud::Clouddms::V1::Clouddms::VmSelectionConfig)

    The VM selection configuration

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

    Type: Int32

    The port that will be open on the bastion host.

Google::Cloud::Clouddms::V1::Clouddms::VmCreationConfig

VM creation configuration message

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. VM instance machine type to create.

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

    Type: String

    The Google Cloud Platform zone to create the VM in.

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

    Type: String

    The subnet name the vm needs to be created in.

Google::Cloud::Clouddms::V1::Clouddms::VmSelectionConfig

VM selection configuration message

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Google Cloud Platform zone the VM is located.

Google::Cloud::Clouddms::V1::Clouddms::SshScript

Response message for 'GenerateSshScript' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The ssh configuration script.

Google::Cloud::Clouddms::V1::Clouddms::GenerateTcpProxyScriptRequest

Request message for 'GenerateTcpProxyScript' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the migration job resource to generate the TCP Proxy script.

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

    Type: String

    Required. The name of the Compute instance that will host the proxy.

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

    Type: String

    Required. The type of the Compute instance that will host the proxy.

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

    Type: String

    Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.

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

    Type: String

    Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.

Google::Cloud::Clouddms::V1::Clouddms::TcpProxyScript

Response message for 'GenerateTcpProxyScript' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The TCP Proxy configuration script.

Google::Cloud::Clouddms::V1::Clouddms::ListConnectionProfilesRequest

Request message for 'ListConnectionProfiles' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent which owns this collection of connection profiles.

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

    Type: Int32

    The maximum number of connection profiles to return. The service may return fewer than this value. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 are coerced to 1000.

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

    Type: String

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

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

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

    Type: String

    A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list connection profiles created this year by specifying createTime %gt; 2020-01-01T00:00:00.000000000Z. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username.

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

    Type: String

    A comma-separated list of fields to order results according to.

Google::Cloud::Clouddms::V1::Clouddms::ListConnectionProfilesResponse

Response message for 'ListConnectionProfiles' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile)

    The response list of connection profiles.

  • $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.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Clouddms::V1::Clouddms::GetConnectionProfileRequest

Request message for 'GetConnectionProfile' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the connection profile resource to get.

Google::Cloud::Clouddms::V1::Clouddms::CreateConnectionProfileRequest

Request message for 'CreateConnectionProfile' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent which owns this collection of connection profiles.

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

    Type: String

    Required. The connection profile identifier.

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile)

    Required. The create request body including the connection profile data

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

    Type: String

    Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

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

    Type: Bool

    Optional. Only validate the connection profile, but don't create any resources. The default is false. Only supported for Oracle connection profiles.

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

    Type: Bool

    Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles.

Google::Cloud::Clouddms::V1::Clouddms::UpdateConnectionProfileRequest

Request message for 'UpdateConnectionProfile' request.

Inherits from Protobuf::Message.

Accessors

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

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

    Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile)

    Required. The connection profile parameters to update.

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

    Type: String

    Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

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

    Type: Bool

    Optional. Only validate the connection profile, but don't update any resources. The default is false. Only supported for Oracle connection profiles.

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

    Type: Bool

    Optional. Update the connection profile without validating it. The default is false. Only supported for Oracle connection profiles.

Google::Cloud::Clouddms::V1::Clouddms::DeleteConnectionProfileRequest

Request message for 'DeleteConnectionProfile' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the connection profile resource to delete.

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

    Type: String

    A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

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

    Type: Bool

    In case of force delete, the CloudSQL replica database is also deleted (only for CloudSQL connection profile).

Google::Cloud::Clouddms::V1::Clouddms::CreatePrivateConnectionRequest

Request message to create a new private connection in the specified project and region.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent that owns the collection of PrivateConnections.

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

    Type: String

    Required. The private connection identifier.

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnection)

    Required. The private connection resource to create.

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

    Type: String

    Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

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

    Type: Bool

    Optional. If set to true, will skip validations.

Google::Cloud::Clouddms::V1::Clouddms::ListPrivateConnectionsRequest

Request message to retrieve a list of private connections in a given project and location.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent that owns the collection of private connections.

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

    Type: Int32

    Maximum number of private connections to return. If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

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

    Type: String

    Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page.

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

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

    Type: String

    A filter expression that filters private connections listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list private connections created this year by specifying createTime %gt; 2021-01-01T00:00:00.000000000Z.

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

    Type: String

    Order by fields for the result.

Google::Cloud::Clouddms::V1::Clouddms::ListPrivateConnectionsResponse

Response message for 'ListPrivateConnections' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnection)

    List of private connections.

  • $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.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Clouddms::V1::Clouddms::DeletePrivateConnectionRequest

Request message to delete a private connection.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the private connection to delete.

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

    Type: String

    Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Google::Cloud::Clouddms::V1::Clouddms::GetPrivateConnectionRequest

Request message to get a private connection resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the private connection to get.

Google::Cloud::Clouddms::V1::Clouddms::OperationMetadata

Represents the metadata of the long-running operation.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation finished running.

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

    Type: String

    Output only. Server-defined resource path for the target of the operation.

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

    Type: String

    Output only. Name of the verb executed by the operation.

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

    Type: String

    Output only. Human-readable status of the operation, if any.

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

    Type: Bool

    Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.

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

    Type: String

    Output only. API version used to start the operation.

Google::Cloud::Clouddms::V1::Clouddms::ListConversionWorkspacesRequest

Retrieve a list of all conversion workspaces in a given project and location.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent which owns this collection of conversion workspaces.

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

    Type: Int32

    The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets are returned.

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

    Type: String

    The nextPageToken value received in the previous call to conversionWorkspaces.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token.

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

    Type: String

    A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list conversion workspaces created this year by specifying createTime %gt; 2020-01-01T00:00:00.000000000Z. You can also filter nested fields. For example, you could specify source.version = "12.c.1" to select all conversion workspaces with source database version equal to 12.c.1.

Google::Cloud::Clouddms::V1::Clouddms::ListConversionWorkspacesResponse

Response message for 'ListConversionWorkspaces' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConversionWorkspace)

    The list of conversion workspace objects.

  • $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.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Clouddms::V1::Clouddms::GetConversionWorkspaceRequest

Request message for 'GetConversionWorkspace' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the conversion workspace resource to get.

Google::Cloud::Clouddms::V1::Clouddms::CreateConversionWorkspaceRequest

Request message to create a new Conversion Workspace in the specified project and region.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent which owns this collection of conversion workspaces.

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

    Type: String

    Required. The ID of the conversion workspace to create.

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

    Type: Message (Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConversionWorkspace)

    Required. Represents a conversion workspace object.

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

    Type: String

    A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Google::Cloud::Clouddms::V1::Clouddms::UpdateConversionWorkspaceRequest

Request message for 'UpdateConversionWorkspace' request.

Inherits from Protobuf::Message.

Accessors

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

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

    Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

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

    Type: Message (Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConversionWorkspace)

    Required. The conversion workspace parameters to update.

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

    Type: String

    A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Google::Cloud::Clouddms::V1::Clouddms::DeleteConversionWorkspaceRequest

Request message for 'DeleteConversionWorkspace' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the conversion workspace resource to delete.

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

    Type: String

    A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

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

    Type: Bool

    Force delete the conversion workspace, even if there's a running migration that is using the workspace.

Google::Cloud::Clouddms::V1::Clouddms::CommitConversionWorkspaceRequest

Request message for 'CommitConversionWorkspace' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the conversion workspace resource to commit.

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

    Type: String

    Optional. Optional name of the commit.

Google::Cloud::Clouddms::V1::Clouddms::RollbackConversionWorkspaceRequest

Request message for 'RollbackConversionWorkspace' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the conversion workspace resource to roll back to.

Google::Cloud::Clouddms::V1::Clouddms::ApplyConversionWorkspaceRequest

Request message for 'ApplyConversionWorkspace' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

    Type: String

    Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.

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

    Type: Bool

    Optional. Only validates the apply process, but doesn't change the destination database. Only works for PostgreSQL destination connection profile.

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

    Type: Bool

    Optional. Specifies whether the conversion workspace is to be committed automatically after the apply.

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

    Type: String

    Optional. Fully qualified (Uri) name of the destination connection profile.

Google::Cloud::Clouddms::V1::Clouddms::ListMappingRulesRequest

Retrieve a list of all mapping rules in a given conversion workspace.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the conversion workspace resource whose mapping rules are listed in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

    Type: Int32

    The maximum number of rules to return. The service may return fewer than this value.

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

    Type: String

    The nextPageToken value received in the previous call to mappingRules.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to mappingRules.list must match the call that provided the page token.

Google::Cloud::Clouddms::V1::Clouddms::ListMappingRulesResponse

Response message for 'ListMappingRulesRequest' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Clouddms::V1::ConversionworkspaceResources::MappingRule)

    The list of conversion workspace mapping rules.

  • $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::Clouddms::V1::Clouddms::GetMappingRuleRequest

Request message for 'GetMappingRule' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the mapping rule resource to get. Example: conversionWorkspaces/123/mappingRules/rule123

    In order to retrieve a previous revision of the mapping rule, also provide the revision ID. Example: conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8

Google::Cloud::Clouddms::V1::Clouddms::SeedConversionWorkspaceRequest

Request message for 'SeedConversionWorkspace' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the conversion workspace resource to seed with new database structure, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

    Type: Bool

    Should the conversion workspace be committed automatically after the seed operation.

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

    Type: String

    Optional. Fully qualified (Uri) name of the source connection profile.

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

    Type: String

    Optional. Fully qualified (Uri) name of the destination connection profile.

Google::Cloud::Clouddms::V1::Clouddms::ConvertConversionWorkspaceRequest

Request message for 'ConvertConversionWorkspace' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

    Type: Bool

    Optional. Specifies whether the conversion workspace is to be committed automatically after the conversion.

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

    Type: String

    Optional. Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

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

    Type: Bool

    Optional. Automatically convert the full entity path for each entity specified by the filter. For example, if the filter specifies a table, that table schema (and database if there is one) will also be converted.

Google::Cloud::Clouddms::V1::Clouddms::ImportMappingRulesRequest

Request message for 'ImportMappingRules' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

    Type: Enum (Google::Cloud::Clouddms::V1::ImportRulesFileFormat)

    Required. The format of the rules content file.

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

    Type: Message (Google::Cloud::Clouddms::V1::Clouddms::ImportMappingRulesRequest::RulesFile)

    Required. One or more rules files.

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

    Type: Bool

    Required. Should the conversion workspace be committed automatically after the import operation.

Google::Cloud::Clouddms::V1::Clouddms::DescribeDatabaseEntitiesRequest

Request message for 'DescribeDatabaseEntities' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the conversion workspace resource whose database entities are described. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

    Type: Int32

    Optional. The maximum number of entities to return. The service may return fewer entities than the value specifies.

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

    Type: String

    Optional. The nextPageToken value received in the previous call to conversionWorkspace.describeDatabaseEntities, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspace.describeDatabaseEntities must match the call that provided the page token.

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

    Type: Enum (Google::Cloud::Clouddms::V1::DescribeDatabaseEntitiesRequest::DBTreeType)

    Required. The tree to fetch.

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

    Type: Bool

    Optional. Whether to retrieve the latest committed version of the entities or the latest version. This field is ignored if a specific commit_id is specified.

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

    Type: String

    Optional. Request a specific commit ID. If not specified, the entities from the latest commit are returned.

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

    Type: String

    Optional. Filter the returned entities based on AIP-160 standard.

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

    Type: Enum (Google::Cloud::Clouddms::V1::DatabaseEntityView)

    Optional. Results view based on AIP-157

Enum: DescribeDatabaseEntitiesRequest::DBTreeType

  • DB_TREE_TYPE_UNSPECIFIED => 0

  • SOURCE_TREE => 1

  • DRAFT_TREE => 2

  • DESTINATION_TREE => 3

Google::Cloud::Clouddms::V1::Clouddms::DescribeDatabaseEntitiesResponse

Response message for 'DescribeDatabaseEntities' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DatabaseEntity)

    The list of database entities for the conversion workspace.

  • $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::Clouddms::V1::Clouddms::SearchBackgroundJobsRequest

Request message for 'SearchBackgroundJobs' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the conversion workspace resource whose jobs are listed, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

    Type: Bool

    Optional. Whether or not to return just the most recent job per job type,

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

    Type: Int32

    Optional. The maximum number of jobs to return. The service may return fewer than this value. If unspecified, at most 100 jobs are returned. The maximum value is 100; values above 100 are coerced to 100.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Optional. If provided, only returns jobs that completed until (not including) the given timestamp.

Google::Cloud::Clouddms::V1::Clouddms::SearchBackgroundJobsResponse

Response message for 'SearchBackgroundJobs' request.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Clouddms::V1::Clouddms::DescribeConversionWorkspaceRevisionsRequest

Request message for 'DescribeConversionWorkspaceRevisions' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the conversion workspace resource whose revisions are listed. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

    Type: String

    Optional. Optional filter to request a specific commit ID.

Google::Cloud::Clouddms::V1::Clouddms::DescribeConversionWorkspaceRevisionsResponse

Response message for 'DescribeConversionWorkspaceRevisions' request.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Clouddms::V1::Clouddms::CreateMappingRuleRequest

Request message for 'CreateMappingRule' command.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent which owns this collection of mapping rules.

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

    Type: String

    Required. The ID of the rule to create.

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

    Type: Message (Google::Cloud::Clouddms::V1::ConversionworkspaceResources::MappingRule)

    Required. Represents a [mapping rule] (https://cloud.google.com/database-migration/reference/rest/v1/projects.locations.mappingRules) object.

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

    Type: String

    A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Google::Cloud::Clouddms::V1::Clouddms::DeleteMappingRuleRequest

Request message for 'DeleteMappingRule' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the mapping rule resource to delete.

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

    Type: String

    Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

    It is recommended to always set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Google::Cloud::Clouddms::V1::Clouddms::FetchStaticIpsRequest

Request message for 'FetchStaticIps' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name for the location for which static IPs should be returned. Must be in the format `projects/*/locations/*`.

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

    Type: Int32

    Maximum number of IPs to return.

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

    Type: String

    A page token, received from a previous `FetchStaticIps` call.

Google::Cloud::Clouddms::V1::Clouddms::FetchStaticIpsResponse

Response message for a 'FetchStaticIps' request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    List of static IPs.

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

    Type: String

    A token that 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::Clouddms::V1::Clouddms::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.