Google Cloud Dms V1 Client - Class UpdateMigrationJobRequest (1.2.1)

Reference documentation and code samples for the Google Cloud Dms V1 Client class UpdateMigrationJobRequest.

Request message for 'UpdateMigrationJob' request.

Generated from protobuf message google.cloud.clouddms.v1.UpdateMigrationJobRequest

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

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

↳ migration_job Google\Cloud\CloudDms\V1\MigrationJob

Required. The migration job parameters to update.

↳ request_id string

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.

getUpdateMask

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

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getMigrationJob

Required. The migration job parameters to update.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\MigrationJob|null

hasMigrationJob

clearMigrationJob

setMigrationJob

Required. The migration job parameters to update.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\MigrationJob
Returns
TypeDescription
$this

getRequestId

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.

Returns
TypeDescription
string

setRequestId

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
migrationJob Google\Cloud\CloudDms\V1\MigrationJob

Required. The migration job parameters to update.

updateMask Google\Protobuf\FieldMask

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

Returns
TypeDescription
Google\Cloud\CloudDms\V1\UpdateMigrationJobRequest