[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eListViolationsResponse\u003c/code\u003e class within the Assured Workloads v1 API, detailing its structure, usage, and implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListViolationsResponse\u003c/code\u003e class is designed to handle the response from the \u003ccode\u003eListViolations\u003c/code\u003e endpoint, encapsulating a list of \u003ccode\u003eViolation\u003c/code\u003e resources and handling pagination with a \u003ccode\u003eNextPageToken\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, \u003ccode\u003eIPageResponse\u003c/code\u003e, and \u003ccode\u003eIEnumerable\u003c/code\u003e, ensuring compatibility with various .NET functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.6.0, with prior versions from 2.5.0 back to 1.0.0 also documented for reference and usage, it is found within the Google.Cloud.AssuredWorkloads.V1 namespace.\u003c/p\u003e\n"]]],[],null,["# Assured Workloads v1 API - Class ListViolationsResponse (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.5.0/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.4.0/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.3.0/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.2.0/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.1.0/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.0.0/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/1.1.0/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/1.0.0/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse) \n\n public sealed class ListViolationsResponse : IMessage\u003cListViolationsResponse\u003e, IEquatable\u003cListViolationsResponse\u003e, IDeepCloneable\u003cListViolationsResponse\u003e, IBufferMessage, IMessage, IPageResponse\u003cViolation\u003e, IEnumerable\u003cViolation\u003e, IEnumerable\n\nReference documentation and code samples for the Assured Workloads v1 API class ListViolationsResponse.\n\nResponse of ListViolations endpoint. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListViolationsResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListViolationsResponse](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListViolationsResponse](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListViolationsResponse](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponse), [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://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/PagedEnumerableCommon.cs)[Violation](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Violation), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[Violation](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Violation), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AssuredWorkloads.V1](/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AssuredWorkloads.V1.dll\n\nConstructors\n------------\n\n### ListViolationsResponse()\n\n public ListViolationsResponse()\n\n### ListViolationsResponse(ListViolationsResponse)\n\n public ListViolationsResponse(ListViolationsResponse other)\n\nProperties\n----------\n\n### NextPageToken\n\n public string NextPageToken { get; set; }\n\nThe next page token. Returns empty if reached the last page.\n\n### Violations\n\n public RepeatedField\u003cViolation\u003e Violations { get; }\n\nList of Violations under a Workload.\n\nMethods\n-------\n\n### GetEnumerator()\n\n public IEnumerator\u003cViolation\u003e GetEnumerator()\n\nReturns an enumerator that iterates through the resources in this response."]]