1.3.0 (latest) 1.2.0 1.1.0 1.0.0-beta02

    public sealed class ListViolationsRequest : IPageRequest, IMessage<ListViolationsRequest>, IEquatable<ListViolationsRequest>, IDeepCloneable<ListViolationsRequest>, IBufferMessage, IMessage

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

Message for requesting list of Violations

## Inheritance

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

## Implements

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

### ListViolationsRequest()

    public ListViolationsRequest()

### ListViolationsRequest(ListViolationsRequest)

    public ListViolationsRequest(ListViolationsRequest other)

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

## Properties

### Filter

    public string Filter { get; set; }

Optional. Filtering results

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

### Interval

    public Interval Interval { get; set; }

Optional. Specifies the interval for retrieving violations.
if unspecified, all violations will be returned.

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

### OrderBy

    public string OrderBy { get; set; }

Optional. Hint for how to order the results

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

### PageSize

    public int PageSize { get; set; }

Optional. The maximum number of customers row to return. The service may
return fewer than this value. If unspecified, at most 10 customers will be
returned.

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

### PageToken

    public string PageToken { get; set; }

Optional. A page token, received from a previous `ListViolations` call.
Provide this to retrieve the subsequent page.

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

### Parent

    public string Parent { get; set; }

Required. Parent resource
Format
`organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`

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

### ParentAsWorkloadName

    public WorkloadName ParentAsWorkloadName { get; set; }

[WorkloadName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/latest/Google.Cloud.CloudControlsPartner.V1.WorkloadName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudControlsPartner.V1/latest/Google.Cloud.CloudControlsPartner.V1.ListViolationsRequest.md.txt#Google_Cloud_CloudControlsPartner_V1_ListViolationsRequest_Parent) resource name property.

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