1.3.0 (latest) 1.2.0 1.1.0 1.0.0-beta02

    public sealed class ListViolationsResponse : IPageResponse<Violation>, IEnumerable<Violation>, IEnumerable, IMessage<ListViolationsResponse>, IEquatable<ListViolationsResponse>, IDeepCloneable<ListViolationsResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Controls Partner v1 API class ListViolationsResponse.

Response message for list customer violation requests

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.CloudControlsPartner.V1.dll

## Constructors

### ListViolationsResponse()

    public ListViolationsResponse()

### ListViolationsResponse(ListViolationsResponse)

    public ListViolationsResponse(ListViolationsResponse other)

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

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

A token that can be sent as `page_token` to retrieve the next page.
If this field is omitted, there are no subsequent pages.

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

### Unreachable

    public RepeatedField<string> Unreachable { get; }

Workloads that could not be reached due to permission errors or any other
error. Ref: <https://google.aip.dev/217>

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

### Violations

    public RepeatedField<Violation> Violations { get; }

List of violation

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

## Methods

### GetEnumerator()

    public IEnumerator<Violation> GetEnumerator()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IEnumeratorViolation` |   |