# Cloud Database Migration Service V1 API - Module Google::Cloud::CloudDMS::V1::MappingRule::State (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.2 1.1.0 1.0.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Cloud Database Migration Service V1 API module Google::Cloud::CloudDMS::V1::MappingRule::State.

The current mapping rule state such as enabled, disabled or deleted.

## Constants

### STATE_UNSPECIFIED

**value:** 0  
The state of the mapping rule is unknown.

### ENABLED

**value:** 1  
The rule is enabled.

### DISABLED

**value:** 2  
The rule is disabled.

### DELETED

**value:** 3  
The rule is logically deleted.