public enum ContentPolicyVerdict extends Enum<ContentPolicyVerdict> implements ProtocolMessageEnumPossible 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
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ALLOW |
The policy allows the provided content to be used. |
ALLOW_VALUE |
The policy allows the provided content to be used. |
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_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). |
CONTENT_POLICY_VERDICT_UNSPECIFIED |
Not used. |
CONTENT_POLICY_VERDICT_UNSPECIFIED_VALUE |
Not used. |
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() |
|