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\u003eThe page provides documentation for the \u003ccode\u003ePolicyViolationDetails\u003c/code\u003e class within the Google Cloud Deploy v1 API, covering versions from 1.0.0 to 3.4.0 (latest).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyViolationDetails\u003c/code\u003e class is used to represent details about policy violations and it 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 contains properties such as \u003ccode\u003eFailureMessage\u003c/code\u003e, \u003ccode\u003ePolicy\u003c/code\u003e, and \u003ccode\u003eRuleId\u003c/code\u003e, which provide information about the policy violation, such as the user readable message, the name of the violated policy, and the rule ID.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyViolationDetails\u003c/code\u003e class has two constructors: one default and another that takes another \u003ccode\u003ePolicyViolationDetails\u003c/code\u003e object as input.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the PolicyViolationDetails class is \u003ccode\u003eGoogle.Cloud.Deploy.V1\u003c/code\u003e and it is housed within the Google.Cloud.Deploy.V1.dll assembly.\u003c/p\u003e\n"]]],[],null,[]]