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"]],[["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-03-21 UTC."],[[["This webpage provides documentation for the `PolicyViolationDetails` class within the Google Cloud Deploy v1 API, covering versions from 1.0.0 up to the latest, 3.4.0."],["The `PolicyViolationDetails` class is used to represent details about policy violations and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has properties `FailureMessage`, `Policy`, and `RuleId`, 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."],["The class also implements constructors that allow the creation of new `PolicyViolationDetails` objects, one of which is a default, and another that takes in a `PolicyViolationDetails` object as a parameter."]]],[]]