public sealed class PolicyViolation : IMessage<PolicyViolation>, IEquatable<PolicyViolation>, IDeepCloneable<PolicyViolation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Deploy v1 API class PolicyViolation.
Returned from an action if one or more policies were
violated, and therefore the action was prevented. Contains information about
what policies were violated and why.
[[["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 `PolicyViolation` class within the Google Cloud Deploy v1 API, spanning versions from 1.0.0 to the latest 3.4.0."],["The `PolicyViolation` class, which is part of the `Google.Cloud.Deploy.V1` namespace, represents an action that was prevented due to one or more policy violations."],["The class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, with inheritance from `object`."],["It includes a `PolicyViolationDetails` property, a `RepeatedField` that contains specific details about the policy violations that occurred."],["The documentation also provides the inherited members, as well as the constuctors that can be used for the class, detailing the parameters and their descriptions."]]],[]]