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:
StringInput 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:
StringInput 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:
StringRequired. 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=>0SERVER_ONLY=>1SERVER_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:
StringRequired. The IP or hostname of the source MySQL database.
$msg->port()/$msg->port($value)Type:
Int32Required. The network port of the source MySQL database.
$msg->username()/$msg->username($value)Type:
StringRequired. 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:
StringRequired. 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:
BoolOutput 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:
StringIf 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:
StringRequired. The IP or hostname of the source PostgreSQL database.
$msg->port()/$msg->port($value)Type:
Int32Required. The network port of the source PostgreSQL database.
$msg->username()/$msg->username($value)Type:
StringRequired. 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:
StringRequired. 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:
BoolOutput 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:
StringIf 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:
StringRequired. The IP or hostname of the source Oracle database.
$msg->port()/$msg->port($value)Type:
Int32Required. The network port of the source Oracle database.
$msg->username()/$msg->username($value)Type:
StringRequired. 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:
StringRequired. 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:
BoolOutput only. Indicates whether a new password is included in the request.
$msg->database_service()/$msg->database_service($value)Type:
StringRequired. 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:
StringOutput 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:
StringOutput only. The Cloud SQL database instance's private IP.
$msg->public_ip()/$msg->public_ip($value)Type:
StringOutput only. The Cloud SQL database instance's public IP.
$msg->additional_public_ip()/$msg->additional_public_ip($value)Type:
StringOutput 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:
StringRequired. 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:
StringThe 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:
StringA 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:
StringThe 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:
StringOptional. 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:
StringThe 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:
StringThe Google Cloud Platform zone where your Cloud SQL database instance is located.
$msg->secondary_zone()/$msg->secondary_zone($value)Type:
StringOptional. 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:
StringThe 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:
StringInput only. Initial root password.
$msg->root_password_set()/$msg->root_password_set($value)Type:
BoolOutput only. Indicates If this connection profile root password is stored.
$msg->collation()/$msg->collation($value)Type:
StringThe Cloud SQL default instance level collation.
$msg->cmek_key_name()/$msg->cmek_key_name($value)Type:
StringThe 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=>0ALWAYS=>1NEVER=>2
Enum: CloudSqlSettings::SqlDataDiskType
SQL_DATA_DISK_TYPE_UNSPECIFIED=>0PD_SSD=>1PD_HDD=>2
Enum: CloudSqlSettings::SqlDatabaseVersion
SQL_DATABASE_VERSION_UNSPECIFIED=>0MYSQL_5_6=>1MYSQL_5_7=>2POSTGRES_9_6=>3POSTGRES_11=>4POSTGRES_10=>5MYSQL_8_0=>6POSTGRES_12=>7POSTGRES_13=>8POSTGRES_14=>17POSTGRES_15=>18
Enum: CloudSqlSettings::SqlAvailabilityType
SQL_AVAILABILITY_TYPE_UNSPECIFIED=>0ZONAL=>1REGIONAL=>2
Enum: CloudSqlSettings::Edition
EDITION_UNSPECIFIED=>0ENTERPRISE=>2ENTERPRISE_PLUS=>3
Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings
Settings for creating an AlloyDB cluster.
Inherits from Protobuf::Message.
Accessors
$msg->initial_user()/$msg->initial_user($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::UserPassword)Required. Input only. Initial user to setup during cluster creation. Required.
$msg->vpc_network()/$msg->vpc_network($value)Type:
StringRequired. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::LabelsEntry)Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
$msg->primary_instance_settings()/$msg->primary_instance_settings($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings)$msg->encryption_config()/$msg->encryption_config($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::EncryptionConfig)Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
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:
StringRequired. 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:
StringRequired. 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:
Int32Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
$msg->vm()/$msg->vm($value)Type:
StringThe name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
$msg->vpc()/$msg->vpc($value)Type:
StringThe 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:
StringThe 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:
StringRequired. Hostname for the SSH tunnel.
$msg->username()/$msg->username($value)Type:
StringRequired. Username for the SSH tunnel.
$msg->port()/$msg->port($value)Type:
Int32Port for the SSH tunnel, default value is 22.
$msg->password()/$msg->password($value)Type:
StringInput only. SSH password.
$msg->private_key()/$msg->private_key($value)Type:
StringInput 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:
StringRequired. 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
$msg->provider()/$msg->provider($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseProvider)The database provider.
$msg->engine()/$msg->engine($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseEngine)The database engine.
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:
StringThe 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:
StringThe 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:
StringThe 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:
StringRequired. The resource name (URI) of the source connection profile.
$msg->destination()/$msg->destination($value)Type:
StringRequired. 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:
StringThis 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:
StringThe 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=>0MAINTENANCE=>1DRAFT=>2CREATING=>3NOT_STARTED=>4RUNNING=>5FAILED=>6COMPLETED=>7DELETING=>8STOPPING=>9STOPPED=>10DELETED=>11UPDATING=>12STARTING=>13RESTARTING=>14RESUMING=>15
Enum: MigrationJob::Phase
PHASE_UNSPECIFIED=>0FULL_DUMP=>1CDC=>2PROMOTE_IN_PROGRESS=>3WAITING_FOR_SOURCE_WRITES_TO_STOP=>4PREPARING_THE_DUMP=>5
Enum: MigrationJob::Type
TYPE_UNSPECIFIED=>0ONE_TIME=>1CONTINUOUS=>2
Google::Cloud::Clouddms::V1::ClouddmsResources::ConversionWorkspaceInfo
A conversion workspace's version.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe resource name (URI) of the conversion workspace.
$msg->commit_id()/$msg->commit_id($value)Type:
StringThe commit ID of the conversion workspace.
Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile
A connection profile definition.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when the 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 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::ConnectionProfile::LabelsEntry)The resource labels for connection profile 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->state()/$msg->state($value)Type:
Enum(Google::Cloud::Clouddms::V1::ConnectionProfile::State)The current connection profile state (e.g. DRAFT, READY, or FAILED).
$msg->display_name()/$msg->display_name($value)Type:
StringThe connection profile display name.
$msg->mysql()/$msg->mysql($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::MySqlConnectionProfile)A MySQL database connection profile.
$msg->postgresql()/$msg->postgresql($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::PostgreSqlConnectionProfile)A PostgreSQL database connection profile.
$msg->oracle()/$msg->oracle($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::OracleConnectionProfile)An Oracle database connection profile.
$msg->cloudsql()/$msg->cloudsql($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlConnectionProfile)A CloudSQL database connection profile.
$msg->alloydb()/$msg->alloydb($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbConnectionProfile)An AlloyDB cluster connection profile.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. The error details in case of state FAILED.
$msg->provider()/$msg->provider($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseProvider)The database provider.
Enum: ConnectionProfile::State
STATE_UNSPECIFIED=>0DRAFT=>1CREATING=>2READY=>3UPDATING=>4DELETING=>5DELETED=>6FAILED=>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:
StringOutput only. A formatted message with further details about the error and a CTA.
$msg->error_detail_message()/$msg->error_detail_message($value)Type:
StringOutput only. A specific detailed error message, if supplied by the engine.
Enum: MigrationJobVerificationError::ErrorCode
ERROR_CODE_UNSPECIFIED=>0CONNECTION_FAILURE=>1AUTHENTICATION_FAILURE=>2INVALID_CONNECTION_PROFILE_CONFIG=>3VERSION_INCOMPATIBILITY=>4CONNECTION_PROFILE_TYPES_INCOMPATIBILITY=>5NO_PGLOGICAL_INSTALLED=>7PGLOGICAL_NODE_ALREADY_EXISTS=>8INVALID_WAL_LEVEL=>9INVALID_SHARED_PRELOAD_LIBRARY=>10INSUFFICIENT_MAX_REPLICATION_SLOTS=>11INSUFFICIENT_MAX_WAL_SENDERS=>12INSUFFICIENT_MAX_WORKER_PROCESSES=>13UNSUPPORTED_EXTENSIONS=>14UNSUPPORTED_MIGRATION_TYPE=>15INVALID_RDS_LOGICAL_REPLICATION=>16UNSUPPORTED_GTID_MODE=>17UNSUPPORTED_TABLE_DEFINITION=>18UNSUPPORTED_DEFINER=>19CANT_RESTART_RUNNING_MIGRATION=>21SOURCE_ALREADY_SETUP=>23TABLES_WITH_LIMITED_SUPPORT=>24UNSUPPORTED_DATABASE_LOCALE=>25UNSUPPORTED_DATABASE_FDW_CONFIG=>26ERROR_RDBMS=>27SOURCE_SIZE_EXCEEDS_THRESHOLD=>28EXISTING_CONFLICTING_DATABASES=>29PARALLEL_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
$msg->name()/$msg->name($value)Type:
StringThe name of the resource.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The create time of the resource.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last update time of the resource.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnection::LabelsEntry)The resource labels for private connections 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:
StringThe private connection display name.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Clouddms::V1::PrivateConnection::State)Output only. The state of the private connection.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. The error details in case of state FAILED.
$msg->vpc_peering_config()/$msg->vpc_peering_config($value)Type:
Message(Google::Cloud::Clouddms::V1::ClouddmsResources::VpcPeeringConfig)VPC peering configuration.
Enum: PrivateConnection::State
STATE_UNSPECIFIED=>0CREATING=>1CREATED=>2FAILED=>3DELETING=>4FAILED_TO_DELETE=>5DELETED=>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:
StringRequired. Fully qualified name of the VPC that Database Migration Service will peer to.
$msg->subnet()/$msg->subnet($value)Type:
StringRequired. 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.