Method: projects.locations.migrationJobs.patch

Updates the parameters of a single migration job.

HTTP request

PATCH https://datamigration.googleapis.com/v1alpha2/{migrationJob.name}

Path parameters

Parameters
migrationJob.name

string

The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

requestId

string

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 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.