0.10.0 (latest) 0.9.0 0.8.4 0.7.0 0.6.0 0.5.3 0.4.0 0.3.1 0.2.0 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Model Armor V1beta Client class EnforcementType.

Enforcement type for Model Armor filters.

Protobuf type `google.cloud.modelarmor.v1beta.Template.TemplateMetadata.EnforcementType`

## Namespace

Google \\ Cloud \\ ModelArmor \\ V1beta \\ Template \\ TemplateMetadata

## Methods

### 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;`