Class: Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudiot_v1/classes.rb,
generated/google/apis/cloudiot_v1/representations.rb,
generated/google/apis/cloudiot_v1/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.


682
683
684
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 682

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

Instance Attribute Details

#device_configsArray<Google::Apis::CloudiotV1::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


680
681
682
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 680

def device_configs
  @device_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


687
688
689
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 687

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