# Google Cloud OS Config v1alpha API - Class ListOSPolicyAssignmentRevisionsResponse (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.ListOSPolicyAssignmentRevisionsResponse)
- [2.0.0-alpha06](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/2.0.0-alpha06/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentRevisionsResponse)
- [1.0.0-alpha04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/1.0.0-alpha04/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentRevisionsResponse)

    public sealed class ListOSPolicyAssignmentRevisionsResponse : IPageResponse<OSPolicyAssignment>, IEnumerable<OSPolicyAssignment>, IEnumerable, IMessage<ListOSPolicyAssignmentRevisionsResponse>, IEquatable<ListOSPolicyAssignmentRevisionsResponse>, IDeepCloneable<ListOSPolicyAssignmentRevisionsResponse>, IBufferMessage, IMessage

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

A response message for listing all revisions for a OS policy assignment.

## Inheritance

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

## Implements

[IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)[OSPolicyAssignment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.OSPolicyAssignment), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[OSPolicyAssignment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.OSPolicyAssignment), [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)[ListOSPolicyAssignmentRevisionsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentRevisionsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListOSPolicyAssignmentRevisionsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentRevisionsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListOSPolicyAssignmentRevisionsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.ListOSPolicyAssignmentRevisionsResponse), [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

### ListOSPolicyAssignmentRevisionsResponse()

    public ListOSPolicyAssignmentRevisionsResponse()

### ListOSPolicyAssignmentRevisionsResponse(ListOSPolicyAssignmentRevisionsResponse)

    public ListOSPolicyAssignmentRevisionsResponse(ListOSPolicyAssignmentRevisionsResponse other)

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

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

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

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

### OsPolicyAssignments

    public RepeatedField<OSPolicyAssignment> OsPolicyAssignments { get; }

The OS policy assignment revisions

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

## Methods

### GetEnumerator()

    public IEnumerator<OSPolicyAssignment> 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.OSPolicyAssignment` |   |