- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Creates a new migration job in a given project and location.
HTTP request
POST https://datamigration.googleapis.com/v1alpha2/{parent}/migrationJobs
Path parameters
Parameters | |
---|---|
parent |
Required. The parent, which owns this collection of migration jobs. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
migrationJobId |
Required. The ID of the instance to create. Authorization requires the following IAM permission on the specified resource
|
requestId |
A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. |
Request body
The request body contains an instance of MigrationJob
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.