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

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

The evaluation details for a control.

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

## Namespace

Google \\ Cloud \\ AuditManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ control` | `https://docs.cloud.google.com/php/docs/reference/cloud-auditmanager/latest/V1.Control` The control for which the findings are being reported. |
| `↳ compliance_state` | `int` Output only. Overall status of the findings for the control. |
| `↳ control_report_summary` | `https://docs.cloud.google.com/php/docs/reference/cloud-auditmanager/latest/V1.ReportSummary` Report summary with compliance, violation counts etc. |

### getControl

The control for which the findings are being reported.

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

### hasControl

### clearControl

### setControl

The control for which the findings are being reported.

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

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

### getComplianceState

Output only. Overall status of the findings for the control.

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

### setComplianceState

Output only. Overall status of the findings for the control.

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

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

### getControlReportSummary

Report summary with compliance, violation counts etc.

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

### hasControlReportSummary

### clearControlReportSummary

### setControlReportSummary

Report summary with compliance, violation counts etc.

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

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