[[["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 reference documentation for the \u003ccode\u003eViolationInfo.Types.PolicyType\u003c/code\u003e enum within the Google Cloud Audit API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 2.5.0, but documentation for versions 2.4.0 down to 1.0.0 are also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyType\u003c/code\u003e enum, found in the \u003ccode\u003eGoogle.Cloud.Audit\u003c/code\u003e namespace, defines four possible fields: \u003ccode\u003eBooleanConstraint\u003c/code\u003e, \u003ccode\u003eCustomConstraint\u003c/code\u003e, \u003ccode\u003eListConstraint\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e field within the \u003ccode\u003ePolicyType\u003c/code\u003e enum is the default value and is not intended for direct use.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Audit API - Enum ViolationInfo.Types.PolicyType (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.Types.PolicyType)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Audit/2.4.0/Google.Cloud.Audit.ViolationInfo.Types.PolicyType)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Audit/2.3.0/Google.Cloud.Audit.ViolationInfo.Types.PolicyType)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Audit/2.2.0/Google.Cloud.Audit.ViolationInfo.Types.PolicyType)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Audit/2.1.0/Google.Cloud.Audit.ViolationInfo.Types.PolicyType)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Audit/2.0.0/Google.Cloud.Audit.ViolationInfo.Types.PolicyType)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Audit/1.1.0/Google.Cloud.Audit.ViolationInfo.Types.PolicyType)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Audit/1.0.0/Google.Cloud.Audit.ViolationInfo.Types.PolicyType) \n\n public enum ViolationInfo.Types.PolicyType\n\nReference documentation and code samples for the Google Cloud Audit API enum ViolationInfo.Types.PolicyType.\n\nPolicy Type enum\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"]]