# Google Cloud Security Center Management V1 Client - Class EnablementState (1.4.0)

1.4.0 (latest) 1.3.3 1.2.1 1.1.3 1.0.0 0.3.2 0.2.7 0.1.0 Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class EnablementState.

The enablement state of the module.

Protobuf type `google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule.EnablementState`

## Namespace

Google \\ Cloud \\ SecurityCenterManagement \\ V1 \\ EventThreatDetectionCustomModule

## Methods

### static::name

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

### static::value

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

## Constants

### ENABLEMENT_STATE_UNSPECIFIED

    Value: 0

Unspecified enablement state.

Generated from protobuf enum `ENABLEMENT_STATE_UNSPECIFIED = 0;`

### ENABLED

    Value: 1

The module is enabled at the given level.

Generated from protobuf enum `ENABLED = 1;`

### DISABLED

    Value: 2

The module is disabled at the given level.

Generated from protobuf enum `DISABLED = 2;`

### INHERITED

    Value: 3

State is inherited from an ancestor module. The module will either be
effectively `ENABLED` or `DISABLED` based on its closest non-inherited
ancestor module in the CRM hierarchy. If you try to set a top-level
module (a module with no parent) to the `INHERITED` state, you receive an
`INVALID_ARGUMENT` error.

Generated from protobuf enum `INHERITED = 3;`