[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud IoT Core V1 Client - Class MqttState (1.7.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.5 (latest)](/php/docs/reference/cloud-iot/latest/V1.MqttState)\n- [1.7.4](/php/docs/reference/cloud-iot/1.7.4/V1.MqttState)\n- [1.6.4](/php/docs/reference/cloud-iot/1.6.4/V1.MqttState)\n- [1.5.12](/php/docs/reference/cloud-iot/1.5.12/V1.MqttState) \nReference documentation and code samples for the Google Cloud IoT Core V1 Client class MqttState.\n\nIndicates whether an MQTT connection is enabled or disabled. See the field\ndescription for details.\n\nProtobuf type `google.cloud.iot.v1.MqttState`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iot \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### MQTT_STATE_UNSPECIFIED\n\n Value: 0\n\nNo MQTT state specified. If not specified, MQTT will be enabled by default.\n\nGenerated from protobuf enum `MQTT_STATE_UNSPECIFIED = 0;`\n\n### MQTT_ENABLED\n\n Value: 1\n\nEnables a MQTT connection.\n\nGenerated from protobuf enum `MQTT_ENABLED = 1;`\n\n### MQTT_DISABLED\n\n Value: 2\n\nDisables a MQTT connection.\n\nGenerated from protobuf enum `MQTT_DISABLED = 2;`"]]