[[["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-08-28 UTC."],[],[],null,["# Cloud IoT V1 API - Module Google::Cloud::Iot::V1::MqttState (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-MqttState)\n- [0.9.1](/ruby/docs/reference/google-cloud-iot-v1/0.9.1/Google-Cloud-Iot-V1-MqttState)\n- [0.8.0](/ruby/docs/reference/google-cloud-iot-v1/0.8.0/Google-Cloud-Iot-V1-MqttState)\n- [0.7.1](/ruby/docs/reference/google-cloud-iot-v1/0.7.1/Google-Cloud-Iot-V1-MqttState)\n- [0.6.0](/ruby/docs/reference/google-cloud-iot-v1/0.6.0/Google-Cloud-Iot-V1-MqttState)\n- [0.5.0](/ruby/docs/reference/google-cloud-iot-v1/0.5.0/Google-Cloud-Iot-V1-MqttState)\n- [0.4.0](/ruby/docs/reference/google-cloud-iot-v1/0.4.0/Google-Cloud-Iot-V1-MqttState)\n- [0.3.5](/ruby/docs/reference/google-cloud-iot-v1/0.3.5/Google-Cloud-Iot-V1-MqttState) \nReference documentation and code samples for the Cloud IoT V1 API module Google::Cloud::Iot::V1::MqttState.\n\nIndicates whether an MQTT connection is enabled or disabled. See the field\ndescription for details.\n\nConstants\n---------\n\n### MQTT_STATE_UNSPECIFIED\n\n**value:** 0 \nNo MQTT state specified. If not specified, MQTT will be enabled by default.\n\n### MQTT_ENABLED\n\n**value:** 1 \nEnables a MQTT connection.\n\n### MQTT_DISABLED\n\n**value:** 2 \nDisables a MQTT connection."]]