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

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

The enrollment resource.

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

## 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 Enrollment, in the format of scope given in request. |
| `↳ destination_details` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-auditmanager/latest/V1.DestinationDetails>` Output only. The locations where the generated reports can be uploaded. |

### getName

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

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

### setName

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

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

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

### getDestinationDetails

Output only. The locations where the generated reports can be uploaded.

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

### setDestinationDetails

Output only. The locations where the generated reports can be uploaded.

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

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