(::Google::Cloud::Iot::V1::HttpState) — If enabled, allows devices to use DeviceService via the HTTP protocol.
Otherwise, any requests to DeviceService will fail for this registry.
value (::Google::Cloud::Iot::V1::HttpState) — If enabled, allows devices to use DeviceService via the HTTP protocol.
Otherwise, any requests to DeviceService will fail for this registry.
Returns
(::Google::Cloud::Iot::V1::HttpState) — If enabled, allows devices to use DeviceService via the HTTP protocol.
Otherwise, any requests to DeviceService will fail for this registry.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud IoT V1 API - Class Google::Cloud::Iot::V1::HttpConfig (v0.9.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.9.2 (latest)](/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Cloud-Iot-V1-HttpConfig)\n- [0.9.1](/ruby/docs/reference/google-cloud-iot-v1/0.9.1/Google-Cloud-Iot-V1-HttpConfig)\n- [0.8.0](/ruby/docs/reference/google-cloud-iot-v1/0.8.0/Google-Cloud-Iot-V1-HttpConfig)\n- [0.7.1](/ruby/docs/reference/google-cloud-iot-v1/0.7.1/Google-Cloud-Iot-V1-HttpConfig)\n- [0.6.0](/ruby/docs/reference/google-cloud-iot-v1/0.6.0/Google-Cloud-Iot-V1-HttpConfig)\n- [0.5.0](/ruby/docs/reference/google-cloud-iot-v1/0.5.0/Google-Cloud-Iot-V1-HttpConfig)\n- [0.4.0](/ruby/docs/reference/google-cloud-iot-v1/0.4.0/Google-Cloud-Iot-V1-HttpConfig)\n- [0.3.5](/ruby/docs/reference/google-cloud-iot-v1/0.3.5/Google-Cloud-Iot-V1-HttpConfig) \nReference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::HttpConfig.\n\nThe configuration of the HTTP bridge for a device registry. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #http_enabled_state\n\n def http_enabled_state() -\u003e ::Google::Cloud::Iot::V1::HttpState\n\n**Returns**\n\n- ([::Google::Cloud::Iot::V1::HttpState](./Google-Cloud-Iot-V1-HttpState)) --- If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.\n\n### #http_enabled_state=\n\n def http_enabled_state=(value) -\u003e ::Google::Cloud::Iot::V1::HttpState\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Iot::V1::HttpState](./Google-Cloud-Iot-V1-HttpState)) --- If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry. \n**Returns**\n\n- ([::Google::Cloud::Iot::V1::HttpState](./Google-Cloud-Iot-V1-HttpState)) --- If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry."]]