Imports a snapshot of the source database into the conversion workspace.
HTTP request
POST https://datamigration.googleapis.com/v1/{name}:seed
Path parameters
Parameters | |
---|---|
name |
Name of the conversion workspace resource to seed with new database structure, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversionWorkspace}. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "autoCommit": boolean, // Union field |
Fields | |
---|---|
autoCommit |
Should the conversion workspace be committed automatically after the seed operation. |
Union field seed_from . The input to be used for seeding the conversion workspace. The input can either be from the source or destination databases and it can be provided through a connection profile or a DDL file. seed_from can be only one of the following: |
|
sourceConnectionProfile |
Optional. Fully qualified (Uri) name of the source connection profile. |
destinationConnectionProfile |
Optional. Fully qualified (Uri) name of the destination connection profile. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.