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

A framework audit.

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

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. Identifier. The name of the framework audit. |
| `↳ framework_audit_id` | `string` Output only. The ID of the framework audit. |
| `↳ compliance_framework` | `string` Output only. The compliance framework used for the audit. |
| `↳ scope` | `string` Output only. The scope of the audit. |
| `↳ framework_audit_destination` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.FrameworkAuditDestination` Required. The destination for the audit reports. |
| `↳ start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The time that the audit started. |
| `↳ finish_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The time that the audit finished. |
| `↳ compliance_state` | `int` Output only. The overall compliance state of the audit. |
| `↳ report_summary` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.ReportSummary` Output only. The summary of the report. |
| `↳ cloud_control_group_audit_details` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.CloudControlGroupAuditDetails>` Optional. The details for the cloud control groups within this audit. |
| `↳ cloud_control_audit_details` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.CloudControlAuditDetails>` Optional. The details for the cloud controls within this audit. |
| `↳ operation_id` | `string` Output only. The ID of the long-running operation. |
| `↳ state` | `int` Output only. The framework audit state of the audit. |

### getName

Output only. Identifier. The name of the framework audit.

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

### setName

Output only. Identifier. The name of the framework audit.

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

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

### getFrameworkAuditId

Output only. The ID of the framework audit.

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

### setFrameworkAuditId

Output only. The ID of the framework audit.

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

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

### getComplianceFramework

Output only. The compliance framework used for the audit.

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

### setComplianceFramework

Output only. The compliance framework used for the audit.

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

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

### getScope

Output only. The scope of the audit.

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

### setScope

Output only. The scope of the audit.

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

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

### getFrameworkAuditDestination

Required. The destination for the audit reports.

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

### hasFrameworkAuditDestination

### clearFrameworkAuditDestination

### setFrameworkAuditDestination

Required. The destination for the audit reports.

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

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

### getStartTime

Output only. The time that the audit started.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

Output only. The time that the audit started.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getFinishTime

Output only. The time that the audit finished.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasFinishTime

### clearFinishTime

### setFinishTime

Output only. The time that the audit finished.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getComplianceState

Output only. The overall compliance state of the audit.

| **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 compliance state of the audit.

| **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` |   |

### getCloudControlGroupAuditDetails

Optional. The details for the cloud control groups within this audit.

| **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.CloudControlGroupAuditDetails>` |   |

### setCloudControlGroupAuditDetails

Optional. The details for the cloud control groups within this audit.

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

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

### getCloudControlAuditDetails

Optional. The details for the cloud controls within this audit.

| **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.CloudControlAuditDetails>` |   |

### setCloudControlAuditDetails

Optional. The details for the cloud controls within this audit.

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

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

### getOperationId

Output only. The ID of the long-running operation.

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

### setOperationId

Output only. The ID of the long-running operation.

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

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

### getState

Output only. The framework audit state of the audit.

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

### setState

Output only. The framework audit state of the audit.

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

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