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
string
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 seed_from can be only one of the following:"sourceConnectionProfile": string,"destinationConnectionProfile": string// End of list of possible types for union field seed_from.}
Fields
autoCommit
boolean
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
string
Optional. Fully qualified (Uri) name of the source connection profile.
destinationConnectionProfile
string
Optional. Fully qualified (Uri) name of the destination connection profile.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003eThis webpage details the process of importing a database snapshot into a conversion workspace using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePOST\u003c/code\u003e request requires a specific URL format, including path parameters like the conversion workspace's name, which must be provided as a string.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a JSON object specifying whether to \u003ccode\u003eautoCommit\u003c/code\u003e and either a \u003ccode\u003esourceConnectionProfile\u003c/code\u003e or \u003ccode\u003edestinationConnectionProfile\u003c/code\u003e for seeding.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the API will return an \u003ccode\u003eOperation\u003c/code\u003e instance within the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to perform this action requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]