Class: Google::Apis::CloudiotV1beta1::HttpDeviceConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudiotV1beta1::HttpDeviceConfig
- 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 device configuration obtained from Cloud IoT Core.
Instance Attribute Summary collapse
-
#binary_data ⇒ String
Data in binary format.
-
#version ⇒ Fixnum
The version of the configuration in Cloud IoT Core.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpDeviceConfig
constructor
A new instance of HttpDeviceConfig.
-
#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) ⇒ HttpDeviceConfig
Returns a new instance of HttpDeviceConfig
559 560 561 |
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 559 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binary_data ⇒ String
Data in binary format.
Corresponds to the JSON property binaryData
NOTE: Values are automatically base64 encoded/decoded in the client library.
552 553 554 |
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 552 def binary_data @binary_data end |
#version ⇒ Fixnum
The version of the configuration in Cloud IoT Core.
Corresponds to the JSON property version
557 558 559 |
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 557 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
564 565 566 567 |
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 564 def update!(**args) @binary_data = args[:binary_data] if args.key?(:binary_data) @version = args[:version] if args.key?(:version) end |