# Cloud IoT V1 API - Module Google::Cloud::Iot::V1::HttpState (v0.9.2)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.9.2 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Cloud-Iot-V1-HttpState)
- [0.9.1](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.9.1/Google-Cloud-Iot-V1-HttpState)
- [0.8.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.8.0/Google-Cloud-Iot-V1-HttpState)
- [0.7.1](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.7.1/Google-Cloud-Iot-V1-HttpState)
- [0.6.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.6.0/Google-Cloud-Iot-V1-HttpState)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.5.0/Google-Cloud-Iot-V1-HttpState)
- [0.4.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.4.0/Google-Cloud-Iot-V1-HttpState)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.3.5/Google-Cloud-Iot-V1-HttpState)
Reference documentation and code samples for the Cloud IoT V1 API module Google::Cloud::Iot::V1::HttpState.

Indicates whether DeviceService (HTTP) is enabled or disabled for the
registry. See the field description for details.

## Constants

### HTTP_STATE_UNSPECIFIED

**value:** 0  
No HTTP state specified. If not specified, DeviceService will be
enabled by default.

### HTTP_ENABLED

**value:** 1  
Enables DeviceService (HTTP) service for the registry.

### HTTP_DISABLED

**value:** 2  
Disables DeviceService (HTTP) service for the registry.