Reference documentation and code samples for the Google Cloud Model Armor V1 Client class EnforcementType.
Enforcement type for Model Armor filters.
Protobuf type google.cloud.modelarmor.v1.Template.TemplateMetadata.EnforcementType
Namespace
Google \ Cloud \ ModelArmor \ V1 \ Template \ TemplateMetadataMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ENFORCEMENT_TYPE_UNSPECIFIED
Value: 0
Default value. Same as INSPECT_AND_BLOCK.
Generated from protobuf enum ENFORCEMENT_TYPE_UNSPECIFIED = 0;
INSPECT_ONLY
Value: 1
Model Armor filters will run in inspect only mode. No action will be taken on the request.
Generated from protobuf enum INSPECT_ONLY = 1;
INSPECT_AND_BLOCK
Value: 2
Model Armor filters will run in inspect and block mode. Requests that trip Model Armor filters will be blocked.
Generated from protobuf enum INSPECT_AND_BLOCK = 2;