# Google Cloud Dms V1 Client - Class UpdateConnectionProfileRequest (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 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` | `https://protobuf.dev/reference/php/api-docs/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` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/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** |
| `https://protobuf.dev/reference/php/api-docs/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` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConnectionProfile

Required. The connection profile parameters to update.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ConnectionProfile|null` |   |

### hasConnectionProfile

### clearConnectionProfile

### setConnectionProfile

Required. The connection profile parameters to update.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/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` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ConnectionProfile` Required. The connection profile parameters to update. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.UpdateConnectionProfileRequest` |   |