Data Loss Prevention V2 Client - Class ContentPolicyVerdict (2.15.2)

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).

Generated from protobuf enum BLOCK = 2;