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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eGetViolationRequest\u003c/code\u003e class within the Google Cloud Assured Workloads v1 API, specifically version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetViolationRequest\u003c/code\u003e is a class used to fetch a Workload Violation, implementing 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 class includes a constructor \u003ccode\u003eGetViolationRequest\u003c/code\u003e which may include another object of type \u003ccode\u003eGetViolationRequest\u003c/code\u003e as a parameter, along with a parameter named \u003ccode\u003eother\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has two properties: \u003ccode\u003eName\u003c/code\u003e, a string representing the resource name of the Violation, and \u003ccode\u003eViolationName\u003c/code\u003e, a typed view over the \u003ccode\u003eName\u003c/code\u003e resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version available is 2.6.0 and this document refers to version 2.2.0, also provided are versions 2.5.0, 2.4.0, 2.3.0, 2.1.0, 2.0.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]