Method: projects.locations.migrationJobs.create

Creates a new migration job in a given project and location.

HTTP request

POST https://datamigration.googleapis.com/v1/{parent}/migrationJobs

Path parameters

Parameters
parent

string

Required. The parent which owns this collection of migration jobs.

Authorization requires the following IAM permission on the specified resource parent:

  • datamigration.migrationjobs.create

Query parameters

Parameters
migrationJobId

string

Required. The ID of the instance to create.

Authorization requires the following IAM permission on the specified resource migrationJobId:

  • datamigration.migrationjobs.create
requestId

string

Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is 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.