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

The details for a cloud control audit.

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

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cloud_control` | `string` Output only. The name of the cloud control. |
| `↳ cloud_control_id` | `string` Output only. The ID of the cloud control. |
| `↳ cloud_control_description` | `string` Output only. The description of the cloud control. |
| `↳ compliance_state` | `int` Output only. The overall status of the findings for the control. |
| `↳ report_summary` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.ReportSummary` Output only. The summary of the report. |
| `↳ findings` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.FindingDetails>` Output only. The findings for the control. |

### getCloudControl

Output only. The name of the cloud control.

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

### setCloudControl

Output only. The name of the cloud control.

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

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

### getCloudControlId

Output only. The ID of the cloud control.

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

### setCloudControlId

Output only. The ID of the cloud control.

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

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

### getCloudControlDescription

Output only. The description of the cloud control.

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

### setCloudControlDescription

Output only. The description of the cloud control.

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

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

### getComplianceState

Output only. The 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-securitycompliance/latest/V1.ComplianceState). |

### setComplianceState

Output only. The 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-securitycompliance/latest/V1.ComplianceState). |

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

### getReportSummary

Output only. The summary of the report.

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

### hasReportSummary

### clearReportSummary

### setReportSummary

Output only. The summary of the report.

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

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

### getFindings

Output only. The findings for the control.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.FindingDetails>` |   |

### setFindings

Output only. The findings for the control.

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

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