# Service Usage V1 API - Module Google::Cloud::ServiceUsage::V1::State (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.1 0.2.1 0.1.4 Reference documentation and code samples for the Service Usage V1 API module Google::Cloud::ServiceUsage::V1::State.

Whether or not a service has been enabled for use by a consumer.

## Constants

### STATE_UNSPECIFIED

**value:** 0  
The default value, which indicates that the enabled state of the service
is unspecified or not meaningful. Currently, all consumers other than
projects (such as folders and organizations) are always in this state.

### DISABLED

**value:** 1  
The service cannot be used by this consumer. It has either been explicitly
disabled, or has never been enabled.

### ENABLED

**value:** 2  
The service has been explicitly enabled for use by this consumer.