Class: Google::Apis::CloudiotV1beta1::ListDeviceConfigVersionsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudiot_v1beta1/classes.rb,
generated/google/apis/cloudiot_v1beta1/representations.rb,
generated/google/apis/cloudiot_v1beta1/representations.rb

Overview

Response for ListDeviceConfigVersions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListDeviceConfigVersionsResponse

Returns a new instance of ListDeviceConfigVersionsResponse



554
555
556
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 554

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#device_configsArray<Google::Apis::CloudiotV1beta1::DeviceConfig>

The device configuration for the last few versions. Versions are listed in decreasing order, starting from the most recent one. Corresponds to the JSON property deviceConfigs



552
553
554
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 552

def device_configs
  @device_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



559
560
561
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 559

def update!(**args)
  @device_configs = args[:device_configs] if args.key?(:device_configs)
end