Google Cloud Dms V1 Client - Class CreateMigrationJobRequest (1.0.5)

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

Request message to create a new Database Migration Service migration job in the specified project and region.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ migration_job_id string

Required. The ID of the instance to create.

↳ migration_job Google\Cloud\CloudDms\V1\MigrationJob

Required. Represents a migration job object.

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

getParent

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

Returns
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMigrationJobId

Required. The ID of the instance to create.

Returns
TypeDescription
string

setMigrationJobId

Required. The ID of the instance to create.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMigrationJob

Required. Represents a migration job object.

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

hasMigrationJob

clearMigrationJob

setMigrationJob

Required. Represents a migration job object.

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this