Get desktop application:
View/edit binary Protocol Buffers messages
Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.
Used in:
Required. The AlloyDB cluster ID that this connection profile is associated with.
Immutable. Metadata used to create the destination AlloyDB cluster.
Settings for creating an AlloyDB cluster.
Used in:
Required. 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.
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
Settings for the cluster's primary instance
Used in:
Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression "[a-z0-9-]+".
Configuration for the machines that host the underlying database engine.
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.
Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', 'value' pairs.
Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.
MachineConfig describes the configuration of a machine.
Used in:
The number of CPU's in the VM instance.
The username/password for a database user. Used for specifying initial users at cluster creation time.
The database username.
Output only. Indicates if the initial_user.password field has been set.
Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.
Used in:
Output only. The Cloud SQL instance ID that this connection profile is associated with.
Immutable. Metadata used to create the destination Cloud SQL database.
Output only. The Cloud SQL database instance's private IP.
Output only. The Cloud SQL database instance's public IP.
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).
Settings for creating a Cloud SQL database instance.
Used in:
The database engine type and version.
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" }`.
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).
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
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.
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.
[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.
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" }.
The type of storage: `PD_SSD` (default) or `PD_HDD`.
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
The Google Cloud Platform zone where your Cloud SQL database instance is located.
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).
The Database Migration Service source connection profile ID, in the format: `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
Output only. Indicates If this connection profile root password is stored.
The Cloud SQL default instance level collation.
The KMS key name used for the csql instance.
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).
Specifies when the instance should be activated.
Used in:
unspecified policy.
The instance is always up and running.
The instance should never spin up.
The availability type of the given Cloud SQL instance.
Used in:
This is an unknown Availability type.
Zonal availablility instance.
Regional availability instance.
The storage options for Cloud SQL databases.
Used in:
Unspecified.
SSD disk.
HDD disk.
The database engine type and version.
Used in:
Unspecified version.
MySQL 5.6.
MySQL 5.7.
PostgreSQL 9.6.
PostgreSQL 11.
PostgreSQL 10.
MySQL 8.0.
PostgreSQL 12.
PostgreSQL 13.
PostgreSQL 14.
A connection profile definition.
Used in:
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
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".
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".
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" }`.
The current connection profile state (e.g. DRAFT, READY, or FAILED).
The connection profile display name.
The connection profile definition.
A MySQL database connection profile.
A PostgreSQL database connection profile.
A CloudSQL database connection profile.
An AlloyDB cluster connection profile.
Output only. The error details in case of state FAILED.
The database provider.
The current connection profile state (e.g. DRAFT, READY, or FAILED).
Used in:
The state of the connection profile is unknown.
The connection profile is in draft mode and fully editable.
The connection profile is being created.
The connection profile is ready.
The connection profile is being updated.
The connection profile is being deleted.
The connection profile has been deleted.
The last action on the connection profile failed.
The CloudEvent raised when a ConnectionProfile is created.
The data associated with the event.
The CloudEvent raised when a ConnectionProfile is deleted.
The data associated with the event.
The data within all ConnectionProfile events.
Used in:
, ,Optional. The ConnectionProfile event payload. Unset for deletion events.
The CloudEvent raised when a ConnectionProfile is updated.
The data associated with the event.
The database engine types.
Used in:
The source database engine of the migration job is unknown.
The source engine is MySQL.
The source engine is PostgreSQL.
The database providers.
Used in:
,The database provider is unknown.
CloudSQL runs the database.
RDS runs the database.
Amazon Aurora.
AlloyDB.
A message defining the database engine and provider.
Used in:
The database provider.
The database engine.
Represents a Database Migration Service migration job object.
Used in:
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
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".
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".
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" }`.
The migration job display name.
The current migration job state.
Output only. The current migration job phase.
Required. The migration job type.
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.
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
Required. The resource name (URI) of the source connection profile.
Required. The resource name (URI) of the destination connection profile.
The connectivity method.
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
The details of the VPC network that the source database is located in.
static ip connectivity data (default, no additional details needed).
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".
Output only. The error details in case of state FAILED.
The database engine type and provider of the source.
The database engine type and provider of the destination.
Output only. If the migration job is completed, the time when it was completed.
Dump flag definition.
Used in:
The name of the flag
The value of the flag.
Dump flags definition.
Used in:
The flags for the initial dump.
The current migration job phase.
Used in:
The phase of the migration job is unknown.
The migration job is in the full dump phase.
The migration job is CDC phase.
The migration job is running the promote phase.
Only RDS flow - waiting for source writes to stop
Only RDS flow - the sources writes stopped, waiting for dump to begin
The current migration job states.
Used in:
The state of the migration job is unknown.
The migration job is down for maintenance.
The migration job is in draft mode and no resources are created.
The migration job is being created.
The migration job is created and not started.
The migration job is running.
The migration job failed.
The migration job has been completed.
The migration job is being deleted.
The migration job is being stopped.
The migration job is currently stopped.
The migration job has been deleted.
The migration job is being updated.
The migration job is starting.
The migration job is restarting.
The migration job is resuming.
The type of migration job (one-time or continuous).
Used in:
The type of the migration job is unknown.
The migration job is a one time migration.
The migration job is a continuous migration.
The CloudEvent raised when a MigrationJob is created.
The data associated with the event.
The CloudEvent raised when a MigrationJob is deleted.
The data associated with the event.
The data within all MigrationJob events.
Used in:
, ,Optional. The MigrationJob event payload. Unset for deletion events.
The CloudEvent raised when a MigrationJob is updated.
The data associated with the event.
Specifies connection parameters required specifically for MySQL databases.
Used in:
Required. The IP or hostname of the source MySQL database.
Required. The network port of the source MySQL database.
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
Output only. Indicates If this connection profile password is stored.
SSL configuration for the destination to connect to the source database.
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
Used in:
Instance is in Cloud SQL's old producer network architecture.
Instance is in Cloud SQL's new producer network architecture.
Specifies connection parameters required specifically for PostgreSQL databases.
Used in:
Required. The IP or hostname of the source PostgreSQL database.
Required. The network port of the source PostgreSQL database.
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
Output only. Indicates If this connection profile password is stored.
SSL configuration for the destination to connect to the source database.
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
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.
Used in:
Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
The name of the VPC to peer with the Cloud SQL private network.
An entry for an Access Control list.
Used in:
The allowlisted value for the access control list.
The access control entry entry expiration.
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`.
A label to identify this entry.
IP Management configuration.
Used in:
Whether the instance should be assigned an IPv4 address or not.
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.
Whether SSL connections over IP should be enforced or not.
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`).
SSL configuration information.
Used in:
,Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.
Specifies The kind of ssl configuration used.
Used in:
Unspecified.
Only 'ca_certificate' specified.
Both server ('ca_certificate'), and client ('client_key', 'client_certificate') specified.
The source database will allow incoming connections from the destination database's public IP. You can retrieve the Cloud SQL instance's public IP from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required.
Used in:
(message has no fields)
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.
Used in:
The name of the VPC network to peer with the Cloud SQL private network.