Google Cloud Dms V1 Client - Class DeletePrivateConnectionRequest (1.2.1)

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

Request message to delete a private connection.

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

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setName

Required. The name of the private connection to delete.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the private connection to delete. Please see Google\Cloud\CloudDms\V1\DataMigrationServiceClient::privateConnectionName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\DeletePrivateConnectionRequest