Google Cloud Dms V1 Client - Class UpdateConnectionProfileRequest (1.3.0)

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

Request message for 'UpdateConnectionProfile' request.

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

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

↳ connection_profile Google\Cloud\CloudDms\V1\ConnectionProfile

Required. The connection profile parameters to update.

↳ 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 update any resources. The default is false. Only supported for Oracle connection profiles.

↳ skip_validation bool

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

getUpdateMask

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getConnectionProfile

Required. The connection profile parameters to update.

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

hasConnectionProfile

clearConnectionProfile

setConnectionProfile

Required. The connection profile parameters to update.

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 update 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 update any resources. The default is false. Only supported for Oracle connection profiles.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSkipValidation

Optional. Update the connection profile without validating it.

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

Returns
TypeDescription
bool

setSkipValidation

Optional. Update 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
connectionProfile Google\Cloud\CloudDms\V1\ConnectionProfile

Required. The connection profile parameters to update.

updateMask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\UpdateConnectionProfileRequest