# Google Cloud Security Compliance V1 Client - Class EnforcementMode (0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class EnforcementMode.

The enforcement mode for the cloud control.

Protobuf type `google.cloud.cloudsecuritycompliance.v1.EnforcementMode`

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### static::name

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

### static::value

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

## Constants

### ENFORCEMENT_MODE_UNSPECIFIED

    Value: 0

Default value. This value is unused.

Generated from protobuf enum `ENFORCEMENT_MODE_UNSPECIFIED = 0;`

### PREVENTIVE

    Value: 1

The cloud control is enforced to prevent non-compliance.

Generated from protobuf enum `PREVENTIVE = 1;`

### DETECTIVE

    Value: 2

The cloud control is enforced to detect non-compliance.

Generated from protobuf enum `DETECTIVE = 2;`

### AUDIT

    Value: 3

The cloud control is enforced to audit for non-compliance.

Generated from protobuf enum `AUDIT = 3;`