[[["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."],[],[],null,["# Google Cloud IoT Core V1 Client - Class MqttConfig (1.7.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.5 (latest)](/php/docs/reference/cloud-iot/latest/V1.MqttConfig)\n- [1.7.4](/php/docs/reference/cloud-iot/1.7.4/V1.MqttConfig)\n- [1.6.4](/php/docs/reference/cloud-iot/1.6.4/V1.MqttConfig)\n- [1.5.12](/php/docs/reference/cloud-iot/1.5.12/V1.MqttConfig) \nReference documentation and code samples for the Google Cloud IoT Core V1 Client class MqttConfig.\n\nThe configuration of MQTT for a device registry.\n\nGenerated from protobuf message `google.cloud.iot.v1.MqttConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iot \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMqttEnabledState\n\nIf enabled, allows connections using the MQTT protocol. Otherwise, MQTT\nconnections to this registry will fail.\n\n### setMqttEnabledState\n\nIf enabled, allows connections using the MQTT protocol. Otherwise, MQTT\nconnections to this registry will fail."]]