# Google Cloud Security Compliance V1 Client - Class UpdateCloudControlRequest (0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class UpdateCloudControlRequest.

The request message for UpdateCloudControl.

Generated from protobuf message `google.cloud.cloudsecuritycompliance.v1.UpdateCloudControlRequest`

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ 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` Optional. Use a field mask to specify the fields to be overwritten in the cloud control during the update. The fields that you specify in the `update_mask` are relative to the cloud control, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask, all fields in the request are updated. You can update the following fields: - Display name - Description - Parameters - Rules - Parameter specification |
| `↳ cloud_control` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.CloudControl` Required. The cloud control that you're updating. |

### getUpdateMask

Optional. Use a field mask to specify the fields to be overwritten in the
cloud control during the update.

The fields that you specify in the `update_mask` are relative to the
cloud control, not the full request. A field is overwritten if it is in
the mask. If you don't provide a mask, all fields in the request
are updated.
You can update the following fields:

- Display name
- Description
- Parameters
- Rules
- Parameter specification

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. Use a field mask to specify the fields to be overwritten in the
cloud control during the update.

The fields that you specify in the `update_mask` are relative to the
cloud control, not the full request. A field is overwritten if it is in
the mask. If you don't provide a mask, all fields in the request
are updated.
You can update the following fields:

- Display name
- Description
- Parameters
- Rules
- Parameter specification

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### getCloudControl

Required. The cloud control that you're updating.

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

### hasCloudControl

### clearCloudControl

### setCloudControl

Required. The cloud control that you're updating.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `cloudControl` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.CloudControl` Required. The cloud control that you're updating. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Use a field mask to specify the fields to be overwritten in the cloud control during the update. The fields that you specify in the `update_mask` are relative to the cloud control, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask, all fields in the request are updated. You can update the following fields: - Display name - Description - Parameters - Rules - Parameter specification |

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