Reference documentation and code samples for the Google Cloud Design Center V1 Client class UpdateConnectionRequest.

Message for updating a connection.

Generated from protobuf message `google.cloud.designcenter.v1.UpdateConnectionRequest`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ update_mask` | `Google\Protobuf\FieldMask` Optional. Fields to overwrite in the connection update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
| `↳ connection` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Connection` Required. The connection to update. |

### getUpdateMask

Optional. Fields to overwrite in the connection update.

The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If you
don't provide a mask, all fields are overwritten.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. Fields to overwrite in the connection update.

The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If you
don't provide a mask, all fields are overwritten.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\FieldMask` |

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

### getConnection

Required. The connection to update.

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

### hasConnection

### clearConnection

### setConnection

Required. The connection to update.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Connection` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Connection` Required. The connection to update. |
| `updateMask` | `Google\Protobuf\FieldMask` Optional. Fields to overwrite in the connection update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.UpdateConnectionRequest` |   |