Reference documentation and code samples for the Google Cloud Dms V1 Client class DeleteMigrationJobRequest.
Request message for 'DeleteMigrationJob' request.
Generated from protobuf messagegoogle.cloud.clouddms.v1.DeleteMigrationJobRequest
Namespace
Google \ Cloud \ CloudDms \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Name of the migration job resource to delete.
↳ 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.
↳ force
bool
The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted.
getName
Required. Name of the migration job resource to delete.
Returns
Type
Description
string
setName
Required. Name of the migration job resource to delete.
Parameter
Name
Description
var
string
Returns
Type
Description
$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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$this
getForce
The destination CloudSQL connection profile is always deleted with the
migration job. In case of force delete, the destination CloudSQL replica
database is also deleted.
Returns
Type
Description
bool
setForce
The destination CloudSQL connection profile is always deleted with the
migration job. In case of force delete, the destination CloudSQL replica
database is also deleted.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. Name of the migration job resource to delete. Please seeDataMigrationServiceClient::migrationJobName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dms V1 Client - Class DeleteMigrationJobRequest (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-dms/latest/V1.DeleteMigrationJobRequest)\n- [2.0.5](/php/docs/reference/cloud-dms/2.0.5/V1.DeleteMigrationJobRequest)\n- [1.5.5](/php/docs/reference/cloud-dms/1.5.5/V1.DeleteMigrationJobRequest)\n- [1.4.2](/php/docs/reference/cloud-dms/1.4.2/V1.DeleteMigrationJobRequest)\n- [1.3.0](/php/docs/reference/cloud-dms/1.3.0/V1.DeleteMigrationJobRequest)\n- [1.2.1](/php/docs/reference/cloud-dms/1.2.1/V1.DeleteMigrationJobRequest)\n- [1.1.0](/php/docs/reference/cloud-dms/1.1.0/V1.DeleteMigrationJobRequest)\n- [1.0.5](/php/docs/reference/cloud-dms/1.0.5/V1.DeleteMigrationJobRequest) \nReference documentation and code samples for the Google Cloud Dms V1 Client class DeleteMigrationJobRequest.\n\nRequest message for 'DeleteMigrationJob' request.\n\nGenerated from protobuf message `google.cloud.clouddms.v1.DeleteMigrationJobRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudDms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Name of the migration job resource to delete.\n\n### setName\n\nRequired. Name of the migration job resource to delete.\n\n### getRequestId\n\nA unique ID used to identify the request. If the server receives two\nrequests with the same ID, then the second request is ignored.\n\nIt is recommended to always set this value to a UUID.\nThe ID must contain only letters (a-z, A-Z), numbers (0-9), underscores\n(_), and hyphens (-). The maximum length is 40 characters.\n\n### setRequestId\n\nA unique ID used to identify the request. If the server receives two\nrequests with the same ID, then the second request is ignored.\n\nIt is recommended to always set this value to a UUID.\nThe ID must contain only letters (a-z, A-Z), numbers (0-9), underscores\n(_), and hyphens (-). The maximum length is 40 characters.\n\n### getForce\n\nThe destination CloudSQL connection profile is always deleted with the\nmigration job. In case of force delete, the destination CloudSQL replica\ndatabase is also deleted.\n\n### setForce\n\nThe destination CloudSQL connection profile is always deleted with the\nmigration job. In case of force delete, the destination CloudSQL replica\ndatabase is also deleted.\n\n### static::build"]]