Google Cloud Dms V1 Client - Class CreatePrivateConnectionRequest (1.1.0)

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

Request message to create a new private connection in the specified project and region.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent that owns the collection of PrivateConnections.

↳ private_connection_id string

Required. The private connection identifier.

↳ private_connection Google\Cloud\CloudDms\V1\PrivateConnection

Required. The private connection resource to create.

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

↳ skip_validation bool

Optional. If set to true, will skip validations.

getParent

Required. The parent that owns the collection of PrivateConnections.

Returns
TypeDescription
string

setParent

Required. The parent that owns the collection of PrivateConnections.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPrivateConnectionId

Required. The private connection identifier.

Returns
TypeDescription
string

setPrivateConnectionId

Required. The private connection identifier.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPrivateConnection

Required. The private connection resource to create.

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

hasPrivateConnection

clearPrivateConnection

setPrivateConnection

Required. The private connection resource to create.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\PrivateConnection
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

getSkipValidation

Optional. If set to true, will skip validations.

Returns
TypeDescription
bool

setSkipValidation

Optional. If set to true, will skip validations.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this