Enum ContentPolicyVerdict (3.103.0)

public enum ContentPolicyVerdict extends Enum<ContentPolicyVerdict> implements ProtocolMessageEnum

Possible results of applying a content policy. This may expand to include additional result types in the future.

Protobuf enum google.privacy.dlp.v2.ContentPolicyVerdict

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALLOW

The policy allows the provided content to be used.

ALLOW = 1;

ALLOW_VALUE

The policy allows the provided content to be used.

ALLOW = 1;

BLOCK

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

BLOCK = 2;

BLOCK_VALUE

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

BLOCK = 2;

CONTENT_POLICY_VERDICT_UNSPECIFIED

Not used.

CONTENT_POLICY_VERDICT_UNSPECIFIED = 0;

CONTENT_POLICY_VERDICT_UNSPECIFIED_VALUE

Not used.

CONTENT_POLICY_VERDICT_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()