Data Loss Prevention V2 Client - Class ContentPolicyVerdict (2.15.2)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Data Loss Prevention V2 Client class ContentPolicyVerdict.
Possible results of applying a content policy. This may expand to include
additional result types in the future.
Protobuf type google.privacy.dlp.v2.ContentPolicyVerdict
Namespace
Google \ Cloud \ Dlp \ V2
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
CONTENT_POLICY_VERDICT_UNSPECIFIED
Value: 0
Not used.
Generated from protobuf enum CONTENT_POLICY_VERDICT_UNSPECIFIED = 0;
ALLOW
Value: 1
The policy allows the provided content to be used.
Generated from protobuf enum ALLOW = 1;
BLOCK
Value: 2
The policy prevents the provided content from being used. This should
result in a blocked file upload, exclusion from training dataset, or
other similar block action. (specific action will depend on the caller).
[[["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 2026-10-01 UTC."],[],[]]