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
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
MigrationJob
Required. Represents a migration job object. |
↳ request_id |
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. |
getParent
Required. The parent which owns this collection of migration jobs.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent which owns this collection of migration jobs.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMigrationJobId
Required. The ID of the instance to create.
Returns | |
---|---|
Type | Description |
string |
setMigrationJobId
Required. The ID of the instance to create.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMigrationJob
Required. Represents a migration job object.
Returns | |
---|---|
Type | Description |
MigrationJob|null |
hasMigrationJob
clearMigrationJob
setMigrationJob
Required. Represents a migration job object.
Parameter | |
---|---|
Name | Description |
var |
MigrationJob
|
Returns | |
---|---|
Type | Description |
$this |
getRequestId
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.
Returns | |
---|---|
Type | Description |
string |
setRequestId
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The parent which owns this collection of migration jobs. Please see DataMigrationServiceClient::locationName() for help formatting this field. |
migrationJob |
MigrationJob
Required. Represents a migration job object. |
migrationJobId |
string
Required. The ID of the instance to create. |
Returns | |
---|---|
Type | Description |
CreateMigrationJobRequest |