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



666
667
668
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 666

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



664
665
666
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 664

def device_configs
  @device_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



671
672
673
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 671

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