Google Cloud Dms V1 Client - Class CreateConnectionProfileRequest (1.4.2)

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

Request message for 'CreateConnectionProfile' request.

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

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent which owns this collection of connection profiles.

↳ connection_profile_id string

Required. The connection profile identifier.

↳ connection_profile Google\Cloud\CloudDms\V1\ConnectionProfile

Required. The create request body including the connection profile data

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

↳ validate_only bool

Optional. Only validate the connection profile, but don't create any resources. The default is false. Only supported for Oracle connection profiles.

↳ skip_validation bool

Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles.

getParent

Required. The parent which owns this collection of connection profiles.

Returns
TypeDescription
string

setParent

Required. The parent which owns this collection of connection profiles.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConnectionProfileId

Required. The connection profile identifier.

Returns
TypeDescription
string

setConnectionProfileId

Required. The connection profile identifier.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConnectionProfile

Required. The create request body including the connection profile data

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

hasConnectionProfile

clearConnectionProfile

setConnectionProfile

Required. The create request body including the connection profile data

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

getValidateOnly

Optional. Only validate the connection profile, but don't create any resources. The default is false. Only supported for Oracle connection profiles.

Returns
TypeDescription
bool

setValidateOnly

Optional. Only validate the connection profile, but don't create any resources. The default is false. Only supported for Oracle connection profiles.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSkipValidation

Optional. Create the connection profile without validating it.

The default is false. Only supported for Oracle connection profiles.

Returns
TypeDescription
bool

setSkipValidation

Optional. Create the connection profile without validating it.

The default is false. Only supported for Oracle connection profiles.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The parent which owns this collection of connection profiles. Please see Google\Cloud\CloudDms\V1\DataMigrationServiceClient::locationName() for help formatting this field.

connectionProfile Google\Cloud\CloudDms\V1\ConnectionProfile

Required. The create request body including the connection profile data

connectionProfileId string

Required. The connection profile identifier.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\CreateConnectionProfileRequest