# Google Cloud Security Compliance V1 Client - Class SimilarControls (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 SimilarControls.

The similar controls.

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

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ framework` | `string` The name of the framework. |
| `↳ control_id` | `string` The ID of the control. |

### getFramework

The name of the framework.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFramework

The name of the framework.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getControlId

The ID of the control.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setControlId

The ID of the control.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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