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."],[[["The latest version available for the Google Cloud Deploy v1 API class PolicyViolation is 3.4.0, with numerous previous versions also documented, ranging back to version 1.0.0."],["The `PolicyViolation` class, part of the `Google.Cloud.Deploy.V1` namespace, provides information on policy violations that prevent actions, and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `PolicyViolation` class contains a `PolicyViolationDetails` property which holds a collection of specific details about the policy violations that have occurred, and it is of type `RepeatedField`."],["This documentation includes information about inheritance and lists the implemented interfaces, as well as the constructors, members, and the assembly `Google.Cloud.Deploy.V1.dll` to which the class belongs."]]],[]]