# Google Cloud Audit Manager V1 Client - Class Control (0.1.1)

0.1.1 (latest) 0.1.0 Reference documentation and code samples for the Google Cloud Audit Manager V1 Client class Control.

A control.

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

## Namespace

Google \\ Cloud \\ AuditManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` Output only. The control identifier used to fetch the findings. This is same as the control report name. |
| `↳ display_name` | `string` Output only. Display name of the control. |
| `↳ family` | `int` Output only. Group where the control belongs. E.g. Access Control. |
| `↳ control_family` | `https://docs.cloud.google.com/php/docs/reference/cloud-auditmanager/latest/V1.ControlFamily` Output only. Regulatory Family of the control E.g. Access Control |
| `↳ description` | `string` Output only. Regulatory control ask of the control |
| `↳ responsibility_type` | `string` Output only. The type of responsibility for implementing this control. It can be google, customer or shared. |
| `↳ google_responsibility_description` | `string` Output only. Description of the google responsibility for implementing this control. |
| `↳ google_responsibility_implementation` | `string` Output only. Implementation of the google responsibility for implementing this control. |
| `↳ customer_responsibility_description` | `string` Output only. Description of the customer responsibility for implementing this control. |
| `↳ customer_responsibility_implementation` | `string` Output only. Implementation of the customer responsibility for implementing this control. |

### getId

Output only. The control identifier used to fetch the findings. This is
same as the control report name.

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

### setId

Output only. The control identifier used to fetch the findings. This is
same as the control report name.

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

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

### getDisplayName

Output only. Display name of the control.

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

### setDisplayName

Output only. Display name of the control.

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

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

### getFamily

Output only. Group where the control belongs. E.g. Access Control.

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

### setFamily

Output only. Group where the control belongs. E.g. Access Control.

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

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

### getControlFamily

Output only. Regulatory Family of the control E.g. Access Control

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

### hasControlFamily

### clearControlFamily

### setControlFamily

Output only. Regulatory Family of the control E.g. Access Control

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

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

### getDescription

Output only. Regulatory control ask of the control

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

### setDescription

Output only. Regulatory control ask of the control

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

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

### getResponsibilityType

Output only. The type of responsibility for implementing this control. It
can be google, customer or shared.

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

### setResponsibilityType

Output only. The type of responsibility for implementing this control. It
can be google, customer or shared.

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

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

### getGoogleResponsibilityDescription

Output only. Description of the google responsibility for implementing this
control.

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

### setGoogleResponsibilityDescription

Output only. Description of the google responsibility for implementing this
control.

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

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

### getGoogleResponsibilityImplementation

Output only. Implementation of the google responsibility for implementing
this control.

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

### setGoogleResponsibilityImplementation

Output only. Implementation of the google responsibility for implementing
this control.

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

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

### getCustomerResponsibilityDescription

Output only. Description of the customer responsibility for implementing
this control.

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

### setCustomerResponsibilityDescription

Output only. Description of the customer responsibility for implementing
this control.

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

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

### getCustomerResponsibilityImplementation

Output only. Implementation of the customer responsibility for implementing
this control.

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

### setCustomerResponsibilityImplementation

Output only. Implementation of the customer responsibility for implementing
this control.

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

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