public sealed class PolicyViolationDetails : IMessage<PolicyViolationDetails>, IEquatable<PolicyViolationDetails>, IDeepCloneable<PolicyViolationDetails>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Deploy v1 API class PolicyViolationDetails.
[[["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 webpage provides documentation for the \u003ccode\u003ePolicyViolationDetails\u003c/code\u003e class within the Google Cloud Deploy v1 API, covering versions from 1.0.0 up to the latest, 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyViolationDetails\u003c/code\u003e class is used to represent details about policy violations and 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 class has properties \u003ccode\u003eFailureMessage\u003c/code\u003e, \u003ccode\u003ePolicy\u003c/code\u003e, and \u003ccode\u003eRuleId\u003c/code\u003e, which provide details about the violation, such as a user-readable message, the name of the violated policy, and the rule ID that triggered the violation.\u003c/p\u003e\n"],["\u003cp\u003eThe class also implements constructors that allow the creation of new \u003ccode\u003ePolicyViolationDetails\u003c/code\u003e objects, one of which is a default, and another that takes in a \u003ccode\u003ePolicyViolationDetails\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]