public sealed class GetViolationRequest : IMessage<GetViolationRequest>, IEquatable<GetViolationRequest>, IDeepCloneable<GetViolationRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Assured Workloads v1 API class GetViolationRequest.
Required. The resource name of the Violation to fetch (ie. Violation.name).
Format:
organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGetViolationRequest\u003c/code\u003e class is used to fetch a specific Workload Violation in the Assured Workloads v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.AssuredWorkloads.V1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.AssuredWorkloads.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eGetViolationRequest\u003c/code\u003e API class is 2.6.0, and it provides documentation and examples, along with previous versions starting from 2.5.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetViolationRequest\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetViolationRequest\u003c/code\u003e class has two constructors and includes properties such as \u003ccode\u003eName\u003c/code\u003e (a string) and \u003ccode\u003eViolationName\u003c/code\u003e (a \u003ccode\u003eViolationName\u003c/code\u003e type) for identifying the violation being requested.\u003c/p\u003e\n"]]],[],null,[]]