Manage Cloud Database Migration Service resources on Google Cloud Platform.
- REST Resource: v1beta1.projects.locations
- REST Resource: v1beta1.projects.locations.connectionProfiles
- REST Resource: v1beta1.projects.locations.migrationJobs
- REST Resource: v1beta1.projects.locations.operations
- REST Resource: v1alpha2.projects.locations
- REST Resource: v1alpha2.projects.locations.connectionProfiles
- REST Resource: v1alpha2.projects.locations.migrationJobs
- REST Resource: v1alpha2.projects.locations.operations
- REST Resource: v1.projects.locations
- REST Resource: v1.projects.locations.connectionProfiles
- REST Resource: v1.projects.locations.conversionWorkspaces
- REST Resource: v1.projects.locations.conversionWorkspaces.mappingRules
- REST Resource: v1.projects.locations.migrationJobs
- REST Resource: v1.projects.locations.operations
- REST Resource: v1.projects.locations.privateConnections
Service: datamigration.googleapis.com
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
- https://datamigration.googleapis.com
REST Resource: v1beta1.projects.locations
| Methods | |
|---|---|
| get | GET /v1beta1/{name}Gets information about a location. | 
| list | GET /v1beta1/{name}/locationsLists information about the supported locations for this service. | 
REST Resource: v1beta1.projects.locations.connectionProfiles
| Methods | |
|---|---|
| create | POST /v1beta1/{parent}/connectionProfilesCreates a new connection profile in a given project and location. | 
| delete | DELETE /v1beta1/{name}Deletes a single Database Migration Service connection profile. | 
| get | GET /v1beta1/{name}Gets details of a single connection profile. | 
| getIamPolicy | GET /v1beta1/{resource}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1beta1/{parent}/connectionProfilesRetrieve a list of all connection profiles in a given project and location. | 
| patch | PATCH /v1beta1/{connectionProfile.name}Update the configuration of a single connection profile. | 
| setIamPolicy | POST /v1beta1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /v1beta1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
REST Resource: v1beta1.projects.locations.migrationJobs
| Methods | |
|---|---|
| create | POST /v1beta1/{parent}/migrationJobsCreates a new migration job in a given project and location. | 
| delete | DELETE /v1beta1/{name}Deletes a single migration job. | 
| generateSshScript | POST /v1beta1/{migrationJob}:generateSshScriptGenerate a SSH configuration script to configure the reverse SSH connectivity. | 
| get | GET /v1beta1/{name}Gets details of a single migration job. | 
| getIamPolicy | GET /v1beta1/{resource}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1beta1/{parent}/migrationJobsLists migration jobs in a given project and location. | 
| patch | PATCH /v1beta1/{migrationJob.name}Updates the parameters of a single migration job. | 
| promote | POST /v1beta1/{name}:promotePromote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. | 
| restart | POST /v1beta1/{name}:restartRestart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. | 
| resume | POST /v1beta1/{name}:resumeResume a migration job that is currently stopped and is resumable (was stopped during CDC phase). | 
| setIamPolicy | POST /v1beta1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| start | POST /v1beta1/{name}:startStart an already created migration job. | 
| stop | POST /v1beta1/{name}:stopStops a running migration job. | 
| testIamPermissions | POST /v1beta1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
| verify | POST /v1beta1/{name}:verifyVerify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. | 
REST Resource: v1beta1.projects.locations.operations
| Methods | |
|---|---|
| cancel | POST /v1beta1/{name}:cancelStarts asynchronous cancellation on a long-running operation. | 
| delete | DELETE /v1beta1/{name}Deletes a long-running operation. | 
| get | GET /v1beta1/{name}Gets the latest state of a long-running operation. | 
| list | GET /v1beta1/{name}/operationsLists operations that match the specified filter in the request. | 
REST Resource: v1alpha2.projects.locations
| Methods | |
|---|---|
| get | GET /v1alpha2/{name}Gets information about a location. | 
| list | GET /v1alpha2/{name}/locationsLists information about the supported locations for this service. | 
REST Resource: v1alpha2.projects.locations.connectionProfiles
| Methods | |
|---|---|
| create | POST /v1alpha2/{parent}/connectionProfilesCreates a new connection profile in a given project and location. | 
| delete | DELETE /v1alpha2/{name}Deletes a single Database Migration Service connection profile. | 
| get | GET /v1alpha2/{name}Gets details of a single connection profile. | 
| getIamPolicy | GET /v1alpha2/{resource}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1alpha2/{parent}/connectionProfilesRetrieve a list of all connection profiles in a given project and location. | 
| patch | PATCH /v1alpha2/{connectionProfile.name}Update the configuration of a single connection profile. | 
| setIamPolicy | POST /v1alpha2/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /v1alpha2/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
REST Resource: v1alpha2.projects.locations.migrationJobs
| Methods | |
|---|---|
| create | POST /v1alpha2/{parent}/migrationJobsCreates a new migration job in a given project and location. | 
| delete | DELETE /v1alpha2/{name}Deletes a single migration job. | 
| generateSshScript | POST /v1alpha2/{name}:generateSshScriptGenerate a SSH configuration script to configure the reverse SSH connectivity. | 
| get | GET /v1alpha2/{name}Gets details of a single migration job. | 
| getIamPolicy | GET /v1alpha2/{resource}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1alpha2/{parent}/migrationJobsLists migration jobs in a given project and location. | 
| patch | PATCH /v1alpha2/{migrationJob.name}Updates the parameters of a single migration job. | 
| promote | POST /v1alpha2/{name}:promotePromote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. | 
| restart | POST /v1alpha2/{name}:restartRestart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. | 
| resume | POST /v1alpha2/{name}:resumeResume a migration job that is currently stopped and is resumable (was stopped during CDC phase). | 
| setIamPolicy | POST /v1alpha2/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| start | POST /v1alpha2/{name}:startStart an already created migration job. | 
| stop | POST /v1alpha2/{name}:stopStops a running migration job. | 
| testIamPermissions | POST /v1alpha2/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
| verify | POST /v1alpha2/{name}:verifyVerify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. | 
REST Resource: v1alpha2.projects.locations.operations
| Methods | |
|---|---|
| cancel | POST /v1alpha2/{name}:cancelStarts asynchronous cancellation on a long-running operation. | 
| delete | DELETE /v1alpha2/{name}Deletes a long-running operation. | 
| get | GET /v1alpha2/{name}Gets the latest state of a long-running operation. | 
| list | GET /v1alpha2/{name}/operationsLists operations that match the specified filter in the request. | 
REST Resource: v1.projects.locations
| Methods | |
|---|---|
| fetchStaticIps | GET /v1/{name}:fetchStaticIpsFetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method. | 
| get | GET /v1/{name}Gets information about a location. | 
| list | GET /v1/{name}/locationsLists information about the supported locations for this service. | 
REST Resource: v1.projects.locations.connectionProfiles
| Methods | |
|---|---|
| create | POST /v1/{parent}/connectionProfilesCreates a new connection profile in a given project and location. | 
| delete | DELETE /v1/{name}Deletes a single Database Migration Service connection profile. | 
| get | GET /v1/{name}Gets details of a single connection profile. | 
| getIamPolicy | GET /v1/{resource}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1/{parent}/connectionProfilesRetrieves a list of all connection profiles in a given project and location. | 
| patch | PATCH /v1/{connectionProfile.name}Update the configuration of a single connection profile. | 
| setIamPolicy | POST /v1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
REST Resource: v1.projects.locations.conversionWorkspaces
| Methods | |
|---|---|
| apply | POST /v1/{name}:applyApplies draft tree onto a specific destination database. | 
| commit | POST /v1/{name}:commitMarks all the data in the conversion workspace as committed. | 
| convert | POST /v1/{name}:convertCreates a draft tree schema for the destination database. | 
| create | POST /v1/{parent}/conversionWorkspacesCreates a new conversion workspace in a given project and location. | 
| delete | DELETE /v1/{name}Deletes a single conversion workspace. | 
| describeConversionWorkspaceRevisions | GET /v1/{conversionWorkspace}:describeConversionWorkspaceRevisionsRetrieves a list of committed revisions of a specific conversion workspace. | 
| describeDatabaseEntities | GET /v1/{conversionWorkspace}:describeDatabaseEntitiesDescribes the database entities tree for a specific conversion workspace and a specific tree type. | 
| get | GET /v1/{name}Gets details of a single conversion workspace. | 
| getIamPolicy | GET /v1/{resource}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1/{parent}/conversionWorkspacesLists conversion workspaces in a given project and location. | 
| patch | PATCH /v1/{conversionWorkspace.name}Updates the parameters of a single conversion workspace. | 
| rollback | POST /v1/{name}:rollbackRolls back a conversion workspace to the last committed snapshot. | 
| searchBackgroundJobs | GET /v1/{conversionWorkspace}:searchBackgroundJobsSearches/lists the background jobs for a specific conversion workspace. | 
| seed | POST /v1/{name}:seedImports a snapshot of the source database into the conversion workspace. | 
| setIamPolicy | POST /v1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
REST Resource: v1.projects.locations.conversionWorkspaces.mappingRules
| Methods | |
|---|---|
| create | POST /v1/{parent}/mappingRulesCreates a new mapping rule for a given conversion workspace. | 
| delete | DELETE /v1/{name}Deletes a single mapping rule. | 
| get | GET /v1/{name}Gets the details of a mapping rule. | 
| import | POST /v1/{parent}/mappingRules:importImports the mapping rules for a given conversion workspace. | 
| list | GET /v1/{parent}/mappingRulesLists the mapping rules for a specific conversion workspace. | 
REST Resource: v1.projects.locations.migrationJobs
| Methods | |
|---|---|
| create | POST /v1/{parent}/migrationJobsCreates a new migration job in a given project and location. | 
| delete | DELETE /v1/{name}Deletes a single migration job. | 
| demoteDestination | POST /v1/{name}:demoteDestinationDemotes the destination database to become a read replica of the source. | 
| generateSshScript | POST /v1/{migrationJob}:generateSshScriptGenerate a SSH configuration script to configure the reverse SSH connectivity. | 
| generateTcpProxyScript | POST /v1/{migrationJob}:generateTcpProxyScriptGenerate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy. | 
| get | GET /v1/{name}Gets details of a single migration job. | 
| getIamPolicy | GET /v1/{resource}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1/{parent}/migrationJobsLists migration jobs in a given project and location. | 
| patch | PATCH /v1/{migrationJob.name}Updates the parameters of a single migration job. | 
| promote | POST /v1/{name}:promotePromote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. | 
| restart | POST /v1/{name}:restartRestart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. | 
| resume | POST /v1/{name}:resumeResume a migration job that is currently stopped and is resumable (was stopped during CDC phase). | 
| setIamPolicy | POST /v1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| start | POST /v1/{name}:startStart an already created migration job. | 
| stop | POST /v1/{name}:stopStops a running migration job. | 
| testIamPermissions | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
| verify | POST /v1/{name}:verifyVerify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. | 
REST Resource: v1.projects.locations.operations
| Methods | |
|---|---|
| cancel | POST /v1/{name}:cancelStarts asynchronous cancellation on a long-running operation. | 
| delete | DELETE /v1/{name}Deletes a long-running operation. | 
| get | GET /v1/{name}Gets the latest state of a long-running operation. | 
| list | GET /v1/{name}/operationsLists operations that match the specified filter in the request. | 
REST Resource: v1.projects.locations.privateConnections
| Methods | |
|---|---|
| create | POST /v1/{parent}/privateConnectionsCreates a new private connection in a given project and location. | 
| delete | DELETE /v1/{name}Deletes a single Database Migration Service private connection. | 
| get | GET /v1/{name}Gets details of a single private connection. | 
| getIamPolicy | GET /v1/{resource}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1/{parent}/privateConnectionsRetrieves a list of private connections in a given project and location. | 
| setIamPolicy | POST /v1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. |