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

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

An audit report.

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

## Namespace

Google \\ Cloud \\ AuditManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The name of this Audit Report, in the format of scope given in request. |
| `↳ report_summary` | `https://docs.cloud.google.com/php/docs/reference/cloud-auditmanager/latest/V1.ReportSummary` Output only. Report summary with compliance, violation counts etc. |
| `↳ operation_id` | `string` Output only. ClientOperationId |
| `↳ destination_details` | `https://docs.cloud.google.com/php/docs/reference/cloud-auditmanager/latest/V1.DestinationDetails` Output only. The location where the generated report will be uploaded. |
| `↳ compliance_standard` | `string` Output only. Compliance Standard. |
| `↳ scope` | `string` Output only. The parent scope on which the report was generated. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Creation time of the audit report. |
| `↳ control_details` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-auditmanager/latest/V1.ControlDetails>` Output only. The overall status of controls |
| `↳ report_generation_state` | `int` Output only. The state of Audit Report Generation. |
| `↳ compliance_framework` | `string` Output only. Compliance Framework of Audit Report |
| `↳ scope_id` | `string` Output only. The ID/ Number for the scope on which the audit report was generated. |

### getName

Identifier. The name of this Audit Report, in the format of scope given in
request.

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

### setName

Identifier. The name of this Audit Report, in the format of scope given in
request.

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

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

### getReportSummary

Output only. Report summary with compliance, violation counts etc.

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

### hasReportSummary

### clearReportSummary

### setReportSummary

Output only. 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` |   |

### getOperationId

Output only. ClientOperationId

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

### setOperationId

Output only. ClientOperationId

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

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

### getDestinationDetails

Output only. The location where the generated report will be uploaded.

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

### hasDestinationDetails

### clearDestinationDetails

### setDestinationDetails

Output only. The location where the generated report will be uploaded.

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

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

### getComplianceStandard

Output only. Compliance Standard.

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

### setComplianceStandard

Output only. Compliance Standard.

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

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

### getScope

Output only. The parent scope on which the report was generated.

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

### setScope

Output only. The parent scope on which the report was generated.

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

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

### getCreateTime

Output only. Creation time of the audit report.

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

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Creation time of the audit report.

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

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

### getControlDetails

Output only. The overall status of controls

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

### setControlDetails

Output only. The overall status of controls

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

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

### getReportGenerationState

Output only. The state of Audit Report Generation.

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

### setReportGenerationState

Output only. The state of Audit Report Generation.

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

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

### getComplianceFramework

Output only. Compliance Framework of Audit Report

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

### setComplianceFramework

Output only. Compliance Framework of Audit Report

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

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

### getScopeId

Output only. The ID/ Number for the scope on which the audit report was
generated.

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

### setScopeId

Output only. The ID/ Number for the scope on which the audit report was
generated.

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

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