[[["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-04 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eMqttState\u003c/code\u003e enum within the Google Cloud IoT v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMqttState\u003c/code\u003e enum defines the status of an MQTT connection, indicating whether it is enabled, disabled, or unspecified.\u003c/p\u003e\n"],["\u003cp\u003eThere are three possible values for \u003ccode\u003eMqttState\u003c/code\u003e: \u003ccode\u003eMqttDisabled\u003c/code\u003e to disable the connection, \u003ccode\u003eMqttEnabled\u003c/code\u003e to enable it, and \u003ccode\u003eUnspecified\u003c/code\u003e, which defaults to enabled.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 2.2.0, and previous versions dating back to 1.0.0 are also available.\u003c/p\u003e\n"]]],[],null,["# Cloud IoT v1 API - Enum MqttState (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.MqttState)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.1.0/Google.Cloud.Iot.V1.MqttState)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.0.0/Google.Cloud.Iot.V1.MqttState)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.2.0/Google.Cloud.Iot.V1.MqttState)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.1.0/Google.Cloud.Iot.V1.MqttState)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.0.0/Google.Cloud.Iot.V1.MqttState) \n\n public enum MqttState\n\nReference documentation and code samples for the Cloud IoT v1 API enum MqttState.\n\nIndicates whether an MQTT connection is enabled or disabled. See the field\ndescription for details.\n\nNamespace\n---------\n\n[Google.Cloud.Iot.V1](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Iot.V1.dll"]]