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

The regulatory control.

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

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. The name of a regulatory control, in one of the following formats: - `organizations/{organization}/locations/{location}/controls/{control}` - `projects/{project}/locations/{location}/controls/{control}`. The only supported location is `global`. |
| `↳ display_name` | `string` Output only. The friendly name for the regulatory control. |
| `↳ description` | `string` Output only. The description of the regulatory control. |
| `↳ family` | `int` Output only. The regulatory group that the control belongs to. |
| `↳ control_family` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.ControlFamily` Output only. The regulatory family that the control belongs to. |
| `↳ responsibility_type` | `int` Output only. The entity that's responsible for the control, whether Google, you as the customer, or both. |
| `↳ google_responsibility_description` | `string` Output only. A description of Google's responsibility for the regulatory control. |
| `↳ google_responsibility_implementation` | `string` Output only. A description of Google's responsibility for implementing the regulatory control. |
| `↳ customer_responsibility_description` | `string` Output only. A description of your responsibility for the regulatory control. |
| `↳ customer_responsibility_implementation` | `string` Output only. A description of the your responsibility for implementing the regulatory control. |
| `↳ shared_responsibility_description` | `string` Output only. A description of the responsibility that's shared between Google and you in implementing this control. |
| `↳ additional_content_uri` | `string` Output only. A link to the documentation that's related to this control. |
| `↳ related_frameworks` | `string[]` Output only. The frameworks that include this control. |

### getName

Output only. The name of a regulatory control, in one of the following
formats:

- `organizations/{organization}/locations/{location}/controls/{control}`
- `projects/{project}/locations/{location}/controls/{control}`.

The only supported location is `global`.

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

### setName

Output only. The name of a regulatory control, in one of the following
formats:

- `organizations/{organization}/locations/{location}/controls/{control}`
- `projects/{project}/locations/{location}/controls/{control}`.

The only supported location is `global`.

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

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

### getDisplayName

Output only. The friendly name for the regulatory control.

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

### setDisplayName

Output only. The friendly name for the regulatory control.

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

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

### getDescription

Output only. The description of the regulatory control.

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

### setDescription

Output only. The description of the regulatory control.

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

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

### getFamily

Output only. The regulatory group that the control belongs to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Family](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Control.Family). |

### setFamily

Output only. The regulatory group that the control belongs to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Family](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Control.Family). |

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

### getControlFamily

Output only. The regulatory family that the control belongs to.

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

### hasControlFamily

### clearControlFamily

### setControlFamily

Output only. The regulatory family that the control belongs to.

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

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

### getResponsibilityType

Output only. The entity that's responsible for the control, whether Google,
you as the customer, or both.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [RegulatoryControlResponsibilityType](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.RegulatoryControlResponsibilityType). |

### setResponsibilityType

Output only. The entity that's responsible for the control, whether Google,
you as the customer, or both.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [RegulatoryControlResponsibilityType](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.RegulatoryControlResponsibilityType). |

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

### getGoogleResponsibilityDescription

Output only. A description of Google's responsibility for the regulatory
control.

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

### setGoogleResponsibilityDescription

Output only. A description of Google's responsibility for the regulatory
control.

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

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

### getGoogleResponsibilityImplementation

Output only. A description of Google's responsibility for implementing the
regulatory control.

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

### setGoogleResponsibilityImplementation

Output only. A description of Google's responsibility for implementing the
regulatory control.

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

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

### getCustomerResponsibilityDescription

Output only. A description of your responsibility for the regulatory
control.

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

### setCustomerResponsibilityDescription

Output only. A description of your responsibility for the regulatory
control.

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

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

### getCustomerResponsibilityImplementation

Output only. A description of the your responsibility for implementing the
regulatory control.

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

### setCustomerResponsibilityImplementation

Output only. A description of the your responsibility for implementing the
regulatory control.

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

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

### getSharedResponsibilityDescription

Output only. A description of the responsibility that's shared between
Google and you in implementing this control.

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

### setSharedResponsibilityDescription

Output only. A description of the responsibility that's shared between
Google and you in implementing this control.

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

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

### getAdditionalContentUri

Output only. A link to the documentation that's related to this control.

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

### setAdditionalContentUri

Output only. A link to the documentation that's related to this control.

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

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

### getRelatedFrameworks

Output only. The frameworks that include this control.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setRelatedFrameworks

Output only. The frameworks that include this control.

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

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