Class: Google::Apis::CloudiotV1beta1::DeviceConfigData
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudiotV1beta1::DeviceConfigData
 
- Defined in:
- generated/google/apis/cloudiot_v1beta1/classes.rb,
 generated/google/apis/cloudiot_v1beta1/representations.rb,
 generated/google/apis/cloudiot_v1beta1/representations.rb
Overview
The data for a device configuration. Only binary data is currently supported.
Instance Attribute Summary collapse
- 
  
    
      #binary_data  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The configuration sent to the device, as bytes. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DeviceConfigData 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DeviceConfigData. 
- 
  
    
      #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) ⇒ DeviceConfigData
Returns a new instance of DeviceConfigData
| 390 391 392 | # File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 390 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#binary_data ⇒ String
The configuration sent to the device, as bytes.
Corresponds to the JSON property binaryData
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 388 389 390 | # File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 388 def binary_data @binary_data end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 395 396 397 | # File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 395 def update!(**args) @binary_data = args[:binary_data] if args.key?(:binary_data) end |