Class: Google::Apis::CloudiotV1::MqttConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudiotV1::MqttConfig
 
- Defined in:
- generated/google/apis/cloudiot_v1/classes.rb,
 generated/google/apis/cloudiot_v1/representations.rb,
 generated/google/apis/cloudiot_v1/representations.rb
Overview
The configuration of MQTT for a device registry.
Instance Attribute Summary collapse
- 
  
    
      #mqtt_enabled_state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If enabled, allows connections using the MQTT protocol. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MqttConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of MqttConfig. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ MqttConfig
Returns a new instance of MqttConfig
| 632 633 634 | # File 'generated/google/apis/cloudiot_v1/classes.rb', line 632 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#mqtt_enabled_state ⇒ String
If enabled, allows connections using the MQTT protocol. Otherwise, MQTT
connections to this registry will fail.
Corresponds to the JSON property mqttEnabledState
| 630 631 632 | # File 'generated/google/apis/cloudiot_v1/classes.rb', line 630 def mqtt_enabled_state @mqtt_enabled_state end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 637 638 639 | # File 'generated/google/apis/cloudiot_v1/classes.rb', line 637 def update!(**args) @mqtt_enabled_state = args[:mqtt_enabled_state] if args.key?(:mqtt_enabled_state) end |