Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::MqttConfig.
The configuration of MQTT for a device registry.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#mqtt_enabled_state
def mqtt_enabled_state() -> ::Google::Cloud::Iot::V1::MqttState
Returns
- (::Google::Cloud::Iot::V1::MqttState) — If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
#mqtt_enabled_state=
def mqtt_enabled_state=(value) -> ::Google::Cloud::Iot::V1::MqttState
Parameter
- value (::Google::Cloud::Iot::V1::MqttState) — If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
Returns
- (::Google::Cloud::Iot::V1::MqttState) — If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.