Google Cloud IoT Core V1 Client - Class MqttState (1.5.12)

Reference documentation and code samples for the Google Cloud IoT Core V1 Client class MqttState.

Indicates whether an MQTT connection is enabled or disabled. See the field description for details.

Protobuf type google.cloud.iot.v1.MqttState

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

MQTT_STATE_UNSPECIFIED

Value: 0

No MQTT state specified. If not specified, MQTT will be enabled by default.

Generated from protobuf enum MQTT_STATE_UNSPECIFIED = 0;

MQTT_ENABLED

Value: 1

Enables a MQTT connection.

Generated from protobuf enum MQTT_ENABLED = 1;

MQTT_DISABLED

Value: 2

Disables a MQTT connection.

Generated from protobuf enum MQTT_DISABLED = 2;