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

    [Obsolete]
    public sealed class ListInstanceOSPoliciesCompliancesResponse : IMessage<ListInstanceOSPoliciesCompliancesResponse>, IEquatable<ListInstanceOSPoliciesCompliancesResponse>, IDeepCloneable<ListInstanceOSPoliciesCompliancesResponse>, IBufferMessage, IMessage, IPageResponse<InstanceOSPoliciesCompliance>, IEnumerable<InstanceOSPoliciesCompliance>, IEnumerable

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

A response message for listing OS policies compliance data for all Compute
Engine VMs in the given location.

## Inheritance

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

## Implements

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

## 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

### ListInstanceOSPoliciesCompliancesResponse()

    public ListInstanceOSPoliciesCompliancesResponse()

### ListInstanceOSPoliciesCompliancesResponse(ListInstanceOSPoliciesCompliancesResponse)

    public ListInstanceOSPoliciesCompliancesResponse(ListInstanceOSPoliciesCompliancesResponse other)

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

## Properties

### InstanceOsPoliciesCompliances

    [Obsolete]
    public RepeatedField<InstanceOSPoliciesCompliance> InstanceOsPoliciesCompliances { get; }

List of instance OS policies compliance objects.

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

### NextPageToken

    public string NextPageToken { get; set; }

The pagination token to retrieve the next page of instance OS policies
compliance objects.

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

## Methods

### GetEnumerator()

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