# Google Cloud OS Config v1alpha API - Class ListOSPolicyAssignmentReportsResponse (2.0.0-alpha07)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-alpha07 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentReportsResponse)
- [2.0.0-alpha06](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/2.0.0-alpha06/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentReportsResponse)
- [1.0.0-alpha04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/1.0.0-alpha04/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentReportsResponse)

    public sealed class ListOSPolicyAssignmentReportsResponse : IPageResponse<OSPolicyAssignmentReport>, IEnumerable<OSPolicyAssignmentReport>, IEnumerable, IMessage<ListOSPolicyAssignmentReportsResponse>, IEquatable<ListOSPolicyAssignmentReportsResponse>, IDeepCloneable<ListOSPolicyAssignmentReportsResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud OS Config v1alpha API class ListOSPolicyAssignmentReportsResponse.

A response message for listing OS Policy assignment reports including the
page of results and page token.

## Inheritance

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

## Implements

[IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)[OSPolicyAssignmentReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.OSPolicyAssignmentReport), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[OSPolicyAssignmentReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.OSPolicyAssignmentReport), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListOSPolicyAssignmentReportsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentReportsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListOSPolicyAssignmentReportsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentReportsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListOSPolicyAssignmentReportsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentReportsResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.OsConfig.V1Alpha](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha)

## Assembly

Google.Cloud.OsConfig.V1Alpha.dll

## Constructors

### ListOSPolicyAssignmentReportsResponse()

    public ListOSPolicyAssignmentReportsResponse()

### ListOSPolicyAssignmentReportsResponse(ListOSPolicyAssignmentReportsResponse)

    public ListOSPolicyAssignmentReportsResponse(ListOSPolicyAssignmentReportsResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentReportsResponse` |

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

The pagination token to retrieve the next page of OS policy assignment
report objects.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### OsPolicyAssignmentReports

    public RepeatedField<OSPolicyAssignmentReport> OsPolicyAssignmentReports { get; }

List of OS policy assignment reports.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.OSPolicyAssignmentReport` |   |

## Methods

### GetEnumerator()

    public IEnumerator<OSPolicyAssignmentReport> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.OSPolicyAssignmentReport` |   |