Reference documentation and code samples for the Google Cloud Dms V1 Client class DeletePrivateConnectionRequest.
Request message to delete a private connection.
Generated from protobuf messagegoogle.cloud.clouddms.v1.DeletePrivateConnectionRequest
Namespace
Google \ Cloud \ CloudDms \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the private connection to delete.
↳ 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.
getName
Required. The name of the private connection to delete.
Returns
Type
Description
string
setName
Required. The name of the private connection to delete.
Parameter
Name
Description
var
string
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
Parameter
Name
Description
name
string
Required. The name of the private connection to delete. Please seeDataMigrationServiceClient::privateConnectionName()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 DeletePrivateConnectionRequest (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-dms/latest/V1.DeletePrivateConnectionRequest)\n- [2.0.5](/php/docs/reference/cloud-dms/2.0.5/V1.DeletePrivateConnectionRequest)\n- [1.5.5](/php/docs/reference/cloud-dms/1.5.5/V1.DeletePrivateConnectionRequest)\n- [1.4.2](/php/docs/reference/cloud-dms/1.4.2/V1.DeletePrivateConnectionRequest)\n- [1.3.0](/php/docs/reference/cloud-dms/1.3.0/V1.DeletePrivateConnectionRequest)\n- [1.2.1](/php/docs/reference/cloud-dms/1.2.1/V1.DeletePrivateConnectionRequest)\n- [1.1.0](/php/docs/reference/cloud-dms/1.1.0/V1.DeletePrivateConnectionRequest)\n- [1.0.5](/php/docs/reference/cloud-dms/1.0.5/V1.DeletePrivateConnectionRequest) \nReference documentation and code samples for the Google Cloud Dms V1 Client class DeletePrivateConnectionRequest.\n\nRequest message to delete a private connection.\n\nGenerated from protobuf message `google.cloud.clouddms.v1.DeletePrivateConnectionRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudDms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the private connection to delete.\n\n### setName\n\nRequired. The name of the private connection to delete.\n\n### getRequestId\n\nOptional. A unique ID used to identify the request. If the server receives\ntwo requests 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\nOptional. A unique ID used to identify the request. If the server receives\ntwo requests 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### static::build"]]