NAME

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

SYNOPSIS

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

my $msg = Google::Cloud::Clouddms::V1::ClouddmsResources::SslConfig->new({
    type => $type,
    client_key => $client_key,
    client_certificate => $client_certificate,
    ca_certificate => $ca_certificate,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/clouddms/v1/clouddms_resources.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::ClouddmsResources::SslConfig

SSL configuration information.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Clouddms::V1::SslConfig::SslType)

    Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.

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

    Type: String

    Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.

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

    Type: String

    Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.

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

    Type: String

    Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

Enum: SslConfig::SslType

  • SSL_TYPE_UNSPECIFIED => 0

  • SERVER_ONLY => 1

  • SERVER_CLIENT => 2

Google::Cloud::Clouddms::V1::ClouddmsResources::MySqlConnectionProfile

Specifies connection parameters required specifically for MySQL databases.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The IP or hostname of the source MySQL database.

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

    Type: Int32

    Required. The network port of the source MySQL database.

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

    Type: String

    Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

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

    Type: String

    Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

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

    Type: Bool

    Output only. Indicates If this connection profile password is stored.

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

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

    SSL configuration for the destination to connect to the source database.

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

    Type: String

    If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

Google::Cloud::Clouddms::V1::ClouddmsResources::PostgreSqlConnectionProfile

Specifies connection parameters required specifically for PostgreSQL databases.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The IP or hostname of the source PostgreSQL database.

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

    Type: Int32

    Required. The network port of the source PostgreSQL database.

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

    Type: String

    Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

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

    Type: String

    Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

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

    Type: Bool

    Output only. Indicates If this connection profile password is stored.

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

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

    SSL configuration for the destination to connect to the source database.

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

    Type: String

    If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

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

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

    Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

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

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

    Static ip connectivity data (default, no additional details needed).

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

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

    Private service connect connectivity.

Google::Cloud::Clouddms::V1::ClouddmsResources::OracleConnectionProfile

Specifies connection parameters required specifically for Oracle databases.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The IP or hostname of the source Oracle database.

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

    Type: Int32

    Required. The network port of the source Oracle database.

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

    Type: String

    Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

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

    Type: String

    Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

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

    Type: Bool

    Output only. Indicates whether a new password is included in the request.

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

    Type: String

    Required. Database service for the Oracle connection.

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

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

    SSL configuration for the connection to the source Oracle database.

    * Only `SERVER_ONLY` configuration is supported for Oracle SSL.
    * SSL is supported for Oracle versions 12 and above.
  • $msg->static_service_ip_connectivity() / $msg->static_service_ip_connectivity($value)

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

    Static Service IP connectivity.

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

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

    Forward SSH tunnel connectivity.

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

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

    Private connectivity.

Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlConnectionProfile

Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The Cloud SQL instance ID that this connection profile is associated with.

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

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

    Immutable. Metadata used to create the destination Cloud SQL database.

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

    Type: String

    Output only. The Cloud SQL database instance's private IP.

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

    Type: String

    Output only. The Cloud SQL database instance's public IP.

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

    Type: String

    Output only. The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).

Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbConnectionProfile

Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The AlloyDB cluster ID that this connection profile is associated with.

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

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

    Immutable. Metadata used to create the destination AlloyDB cluster.

Google::Cloud::Clouddms::V1::ClouddmsResources::SqlAclEntry

An entry for an Access Control list.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The allowlisted value for the access control list.

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

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

    The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Input only. The time-to-leave of this access control entry.

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

    Type: String

    A label to identify this entry.

Google::Cloud::Clouddms::V1::ClouddmsResources::SqlIpConfig

IP Management configuration.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    Whether the instance should be assigned an IPv4 address or not.

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

    Type: String

    The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, `projects/myProject/global/networks/default`. This setting can be updated, but it cannot be removed after it is set.

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

    Type: String

    Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.

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

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    Whether SSL connections over IP should be enforced or not.

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

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

    The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as 'slash' notation (e.g. `192.168.100.0/24`).

Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings

Settings for creating a Cloud SQL database instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Clouddms::V1::CloudSqlSettings::SqlDatabaseVersion)

    The database engine type and version.

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings::UserLabelsEntry)

    The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs.

    Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.

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

    Type: String

    The tier (or machine type) for this instance, for example: `db-n1-standard-1` (MySQL instances) or `db-custom-1-3840` (PostgreSQL instances). For more information, see [Cloud SQL Instance Settings](https://cloud.google.com/sql/docs/mysql/instance-settings).

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

    Type: Message (Google::Protobuf::Wrappers::Int64Value)

    The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.

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

    Type: Enum (Google::Cloud::Clouddms::V1::CloudSqlSettings::SqlActivationPolicy)

    The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values:

    'ALWAYS': The instance is on, and remains so even in the absence of connection requests.

    `NEVER`: The instance is off; it is not activated, even if a connection request arrives.

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

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

    The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.

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

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    [default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.

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

    Type: Message (Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings::DatabaseFlagsEntry)

    The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

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

    Type: Enum (Google::Cloud::Clouddms::V1::CloudSqlSettings::SqlDataDiskType)

    The type of storage: `PD_SSD` (default) or `PD_HDD`.

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

    Type: Message (Google::Protobuf::Wrappers::Int64Value)

    The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.

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

    Type: String

    The Google Cloud Platform zone where your Cloud SQL database instance is located.

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

    Type: String

    Optional. The Google Cloud Platform zone where the failover Cloud SQL database instance is located. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).

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

    Type: String

    The Database Migration Service source connection profile ID, in the format: `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`

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

    Type: String

    Input only. Initial root password.

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

    Type: Bool

    Output only. Indicates If this connection profile root password is stored.

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

    Type: String

    The Cloud SQL default instance level collation.

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

    Type: String

    The KMS key name used for the csql instance.

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

    Type: Enum (Google::Cloud::Clouddms::V1::CloudSqlSettings::SqlAvailabilityType)

    Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).

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

    Type: Enum (Google::Cloud::Clouddms::V1::CloudSqlSettings::Edition)

    Optional. The edition of the given Cloud SQL instance.

Enum: CloudSqlSettings::SqlActivationPolicy

  • SQL_ACTIVATION_POLICY_UNSPECIFIED => 0

  • ALWAYS => 1

  • NEVER => 2

Enum: CloudSqlSettings::SqlDataDiskType

  • SQL_DATA_DISK_TYPE_UNSPECIFIED => 0

  • PD_SSD => 1

  • PD_HDD => 2

Enum: CloudSqlSettings::SqlDatabaseVersion

  • SQL_DATABASE_VERSION_UNSPECIFIED => 0

  • MYSQL_5_6 => 1

  • MYSQL_5_7 => 2

  • POSTGRES_9_6 => 3

  • POSTGRES_11 => 4

  • POSTGRES_10 => 5

  • MYSQL_8_0 => 6

  • POSTGRES_12 => 7

  • POSTGRES_13 => 8

  • POSTGRES_14 => 17

  • POSTGRES_15 => 18

Enum: CloudSqlSettings::SqlAvailabilityType

  • SQL_AVAILABILITY_TYPE_UNSPECIFIED => 0

  • ZONAL => 1

  • REGIONAL => 2

Enum: CloudSqlSettings::Edition

  • EDITION_UNSPECIFIED => 0

  • ENTERPRISE => 2

  • ENTERPRISE_PLUS => 3

Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings

Settings for creating an AlloyDB cluster.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Clouddms::V1::ClouddmsResources::StaticIpConnectivity

The source database will allow incoming connections from the public IP of the destination database. You can retrieve the public IP of the Cloud SQL instance from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required.

Inherits from Protobuf::Message.

Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateServiceConnectConnectivity

[Private Service Connect connectivity](https://cloud.google.com/vpc/docs/private-service-connect#service-attachments)

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}

Google::Cloud::Clouddms::V1::ClouddmsResources::ReverseSshConnectivity

The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

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

    Type: Int32

    Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

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

    Type: String

    The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

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

    Type: String

    The name of the VPC to peer with the Cloud SQL private network.

Google::Cloud::Clouddms::V1::ClouddmsResources::VpcPeeringConnectivity

The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the VPC network to peer with the Cloud SQL private network.

Google::Cloud::Clouddms::V1::ClouddmsResources::ForwardSshTunnelConnectivity

Forward SSH Tunnel connectivity.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Hostname for the SSH tunnel.

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

    Type: String

    Required. Username for the SSH tunnel.

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

    Type: Int32

    Port for the SSH tunnel, default value is 22.

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

    Type: String

    Input only. SSH password.

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

    Type: String

    Input only. SSH private key.

Google::Cloud::Clouddms::V1::ClouddmsResources::StaticServiceIpConnectivity

Static IP address connectivity configured on service project.

Inherits from Protobuf::Message.

Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnectivity

Private Connectivity.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name (URI) of the private connection.

Google::Cloud::Clouddms::V1::ClouddmsResources::DatabaseType

A message defining the database engine and provider.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob

Represents a Database Migration Service migration job object.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.

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

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

    Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

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

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

    Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

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

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

    The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs.

    Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.

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

    Type: String

    The migration job display name.

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

    Type: Enum (Google::Cloud::Clouddms::V1::MigrationJob::State)

    The current migration job state.

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

    Type: Enum (Google::Cloud::Clouddms::V1::MigrationJob::Phase)

    Output only. The current migration job phase.

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

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

    Required. The migration job type.

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

    Type: String

    The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive.

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

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

    The initial dump flags. This field and the "dump_path" field are mutually exclusive.

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

    Type: String

    Required. The resource name (URI) of the source connection profile.

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

    Type: String

    Required. The resource name (URI) of the destination connection profile.

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

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

    The details needed to communicate to the source over Reverse SSH tunnel connectivity.

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

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

    The details of the VPC network that the source database is located in.

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

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

    static ip connectivity data (default, no additional details needed).

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

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

    Type: Message (Google::Rpc::Status::Status)

    Output only. The error details in case of state FAILED.

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

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

    The database engine type and provider of the source.

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

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

    The database engine type and provider of the destination.

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

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

    Output only. If the migration job is completed, the time when it was completed.

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

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

    The conversion workspace used by the migration.

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

    Type: String

    This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.

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

    Type: String

    The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]

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

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

    Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.

Enum: MigrationJob::State

  • STATE_UNSPECIFIED => 0

  • MAINTENANCE => 1

  • DRAFT => 2

  • CREATING => 3

  • NOT_STARTED => 4

  • RUNNING => 5

  • FAILED => 6

  • COMPLETED => 7

  • DELETING => 8

  • STOPPING => 9

  • STOPPED => 10

  • DELETED => 11

  • UPDATING => 12

  • STARTING => 13

  • RESTARTING => 14

  • RESUMING => 15

Enum: MigrationJob::Phase

  • PHASE_UNSPECIFIED => 0

  • FULL_DUMP => 1

  • CDC => 2

  • PROMOTE_IN_PROGRESS => 3

  • WAITING_FOR_SOURCE_WRITES_TO_STOP => 4

  • PREPARING_THE_DUMP => 5

Enum: MigrationJob::Type

  • TYPE_UNSPECIFIED => 0

  • ONE_TIME => 1

  • CONTINUOUS => 2

Google::Cloud::Clouddms::V1::ClouddmsResources::ConversionWorkspaceInfo

A conversion workspace's version.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name (URI) of the conversion workspace.

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

    Type: String

    The commit ID of the conversion workspace.

Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile

A connection profile definition.

Inherits from Protobuf::Message.

Accessors

Enum: ConnectionProfile::State

  • STATE_UNSPECIFIED => 0

  • DRAFT => 1

  • CREATING => 2

  • READY => 3

  • UPDATING => 4

  • DELETING => 5

  • DELETED => 6

  • FAILED => 7

Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJobVerificationError

Error message of a verification Migration job.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Clouddms::V1::MigrationJobVerificationError::ErrorCode)

    Output only. An instance of ErrorCode specifying the error that occurred.

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

    Type: String

    Output only. A formatted message with further details about the error and a CTA.

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

    Type: String

    Output only. A specific detailed error message, if supplied by the engine.

Enum: MigrationJobVerificationError::ErrorCode

  • ERROR_CODE_UNSPECIFIED => 0

  • CONNECTION_FAILURE => 1

  • AUTHENTICATION_FAILURE => 2

  • INVALID_CONNECTION_PROFILE_CONFIG => 3

  • VERSION_INCOMPATIBILITY => 4

  • CONNECTION_PROFILE_TYPES_INCOMPATIBILITY => 5

  • NO_PGLOGICAL_INSTALLED => 7

  • PGLOGICAL_NODE_ALREADY_EXISTS => 8

  • INVALID_WAL_LEVEL => 9

  • INVALID_SHARED_PRELOAD_LIBRARY => 10

  • INSUFFICIENT_MAX_REPLICATION_SLOTS => 11

  • INSUFFICIENT_MAX_WAL_SENDERS => 12

  • INSUFFICIENT_MAX_WORKER_PROCESSES => 13

  • UNSUPPORTED_EXTENSIONS => 14

  • UNSUPPORTED_MIGRATION_TYPE => 15

  • INVALID_RDS_LOGICAL_REPLICATION => 16

  • UNSUPPORTED_GTID_MODE => 17

  • UNSUPPORTED_TABLE_DEFINITION => 18

  • UNSUPPORTED_DEFINER => 19

  • CANT_RESTART_RUNNING_MIGRATION => 21

  • SOURCE_ALREADY_SETUP => 23

  • TABLES_WITH_LIMITED_SUPPORT => 24

  • UNSUPPORTED_DATABASE_LOCALE => 25

  • UNSUPPORTED_DATABASE_FDW_CONFIG => 26

  • ERROR_RDBMS => 27

  • SOURCE_SIZE_EXCEEDS_THRESHOLD => 28

  • EXISTING_CONFLICTING_DATABASES => 29

  • PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE => 30

Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnection

The PrivateConnection resource is used to establish private connectivity with the customer's network.

Inherits from Protobuf::Message.

Accessors

Enum: PrivateConnection::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • CREATED => 2

  • FAILED => 3

  • DELETING => 4

  • FAILED_TO_DELETE => 5

  • DELETED => 6

Google::Cloud::Clouddms::V1::ClouddmsResources::VpcPeeringConfig

The VPC peering configuration is used to create VPC peering with the consumer's VPC.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Fully qualified name of the VPC that Database Migration Service will peer to.

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

    Type: String

    Required. A free subnet for peering. (CIDR of /29)

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Clouddms::V1::ClouddmsResources::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.