Google Cloud Dms V1 Client - Class UpdateConnectionProfileRequest (2.0.1)

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
Name Description
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
Type Description
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
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getConnectionProfile

Required. The connection profile parameters to update.

Returns
Type Description
Google\Cloud\CloudDms\V1\ConnectionProfile|null

hasConnectionProfile

clearConnectionProfile

setConnectionProfile

Required. The connection profile parameters to update.

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

getValidateOnly

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

Returns
Type Description
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
Name Description
var bool
Returns
Type Description
$this

getSkipValidation

Optional. Update the connection profile without validating it.

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

Returns
Type Description
bool

setSkipValidation

Optional. Update the connection profile without validating it.

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

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\CloudDms\V1\UpdateConnectionProfileRequest