Optional. Value that is being checked for the policy.
This could be in encrypted form (if pii sensitive).
This field will only be emitted in LIST_POLICY types
[[["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-08-28 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eViolationInfo\u003c/code\u003e class within the Google Cloud Audit API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eViolationInfo\u003c/code\u003e class is 2.5.0, with documentation available for versions ranging from 1.0.0 to 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eViolationInfo\u003c/code\u003e provides detailed information about policy violations related to requests and inherits from various interfaces and object.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties like \u003ccode\u003eCheckedValue\u003c/code\u003e, \u003ccode\u003eConstraint\u003c/code\u003e, \u003ccode\u003eErrorMessage\u003c/code\u003e, and \u003ccode\u003ePolicyType\u003c/code\u003e which describe the policy violation in detail.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eViolationInfo\u003c/code\u003e class also includes constructors to create new instances, either empty or by cloning an existing instance.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Audit API - Class ViolationInfo (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ViolationInfo)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Audit/2.4.0/Google.Cloud.Audit.ViolationInfo)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Audit/2.3.0/Google.Cloud.Audit.ViolationInfo)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Audit/2.2.0/Google.Cloud.Audit.ViolationInfo)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Audit/2.1.0/Google.Cloud.Audit.ViolationInfo)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Audit/2.0.0/Google.Cloud.Audit.ViolationInfo)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Audit/1.1.0/Google.Cloud.Audit.ViolationInfo)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Audit/1.0.0/Google.Cloud.Audit.ViolationInfo) \n\n public sealed class ViolationInfo : IMessage\u003cViolationInfo\u003e, IEquatable\u003cViolationInfo\u003e, IDeepCloneable\u003cViolationInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Audit API class ViolationInfo.\n\nProvides information about the Policy violation info for this request. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ViolationInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ViolationInfo](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ViolationInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ViolationInfo](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ViolationInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ViolationInfo](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ViolationInfo), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Audit](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit)\n\nAssembly\n--------\n\nGoogle.Cloud.Audit.dll\n\nConstructors\n------------\n\n### ViolationInfo()\n\n public ViolationInfo()\n\n### ViolationInfo(ViolationInfo)\n\n public ViolationInfo(ViolationInfo other)\n\nProperties\n----------\n\n### CheckedValue\n\n public string CheckedValue { get; set; }\n\nOptional. Value that is being checked for the policy.\nThis could be in encrypted form (if pii sensitive).\nThis field will only be emitted in LIST_POLICY types\n\n### Constraint\n\n public string Constraint { get; set; }\n\nOptional. Constraint name\n\n### ErrorMessage\n\n public string ErrorMessage { get; set; }\n\nOptional. Error message that policy is indicating.\n\n### PolicyType\n\n public ViolationInfo.Types.PolicyType PolicyType { get; set; }\n\nOptional. Indicates the type of the policy."]]