# Data Loss Prevention V2 Client - Class EventType (2.13.0)

2.13.0 (latest) 2.12.0 2.11.0 2.10.0 2.9.2 2.8.1 2.7.0 2.6.1 2.4.1 2.3.0 2.2.3 2.1.0 2.0.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.1 1.14.0 1.13.2 1.12.0 1.11.0 1.10.2 1.9.0 1.8.6 Reference documentation and code samples for the Data Loss Prevention V2 Client class EventType.

Types of event that can trigger an action.

Protobuf type `google.privacy.dlp.v2.DataProfileAction.EventType`

## Namespace

Google \\ Cloud \\ Dlp \\ V2 \\ DataProfileAction

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### EVENT_TYPE_UNSPECIFIED

    Value: 0

Unused.

Generated from protobuf enum `EVENT_TYPE_UNSPECIFIED = 0;`

### NEW_PROFILE

    Value: 1

New profile (not a re-profile).

Generated from protobuf enum `NEW_PROFILE = 1;`

### CHANGED_PROFILE

    Value: 2

One of the following profile metrics changed: Data risk score,
Sensitivity score, Resource visibility, Encryption type, Predicted
infoTypes, Other infoTypes

Generated from protobuf enum `CHANGED_PROFILE = 2;`

### SCORE_INCREASED

    Value: 3

Table data risk score or sensitivity score increased.

Generated from protobuf enum `SCORE_INCREASED = 3;`

### ERROR_CHANGED

    Value: 4

A user (non-internal) error occurred.

Generated from protobuf enum `ERROR_CHANGED = 4;`