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

The audit configuration for Compliance Manager.

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

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ destinations` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.AuditConfig.CmEligibleDestination>` Required. The list of destinations that can be selected for uploading audit reports to. |

### getDestinations

Required. The list of destinations that can be selected for uploading audit
reports to.

| **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.AuditConfig.CmEligibleDestination>` |   |

### setDestinations

Required. The list of destinations that can be selected for uploading audit
reports to.

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

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