1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class Enrollment : IMessage<Enrollment>, IEquatable<Enrollment>, IDeepCloneable<Enrollment>, IBufferMessage, IMessage

Reference documentation and code samples for the Audit Manager v1 API class Enrollment.

Organization, folder, or project to enroll for audit reports.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Enrollment

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Enrollment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AuditManager.V1/latest/Google.Cloud.AuditManager.V1.Enrollment.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Enrollment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AuditManager.V1/latest/Google.Cloud.AuditManager.V1.Enrollment.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Enrollment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AuditManager.V1/latest/Google.Cloud.AuditManager.V1.Enrollment.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AuditManager.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AuditManager.V1/latest/Google.Cloud.AuditManager.V1.md.txt)

## Assembly

Google.Cloud.AuditManager.V1.dll

## Constructors

### Enrollment()

    public Enrollment()

### Enrollment(Enrollment)

    public Enrollment(Enrollment other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Enrollment` |

## Properties

### DestinationDetails

    public RepeatedField<DestinationDetails> DestinationDetails { get; }

Output only. Cloud Storage buckets where you want to upload the audit
reports.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldDestinationDetails` |   |

### EnrollmentName

    public EnrollmentName EnrollmentName { get; set; }

[EnrollmentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AuditManager.V1/latest/Google.Cloud.AuditManager.V1.EnrollmentName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AuditManager.V1/latest/Google.Cloud.AuditManager.V1.Enrollment.md.txt#Google_Cloud_AuditManager_V1_Enrollment_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `EnrollmentName` |   |

### Name

    public string Name { get; set; }

Identifier. Name of the enrollment, in one of the following formats:

- `projects/{project}/locations/{location}/enrollments/{enrollment}`
- `folders/{folder}/locations/{location}/enrollments/{enrollment}`
- `organizations/{organization}/locations/{location}/enrollments/{enrollment}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |