Class: Google::Apis::TestingV1::IosDeviceCatalog

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

Overview

The currently supported iOS devices.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ IosDeviceCatalog

Returns a new instance of IosDeviceCatalog



1143
1144
1145
# File 'generated/google/apis/testing_v1/classes.rb', line 1143

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

Instance Attribute Details

#modelsArray<Google::Apis::TestingV1::IosModel>

Output only. The set of supported iOS device models. Corresponds to the JSON property models



1131
1132
1133
# File 'generated/google/apis/testing_v1/classes.rb', line 1131

def models
  @models
end

#runtime_configurationGoogle::Apis::TestingV1::IosRuntimeConfiguration

iOS configuration that can be selected at the time a test is run. Corresponds to the JSON property runtimeConfiguration



1136
1137
1138
# File 'generated/google/apis/testing_v1/classes.rb', line 1136

def runtime_configuration
  @runtime_configuration
end

#versionsArray<Google::Apis::TestingV1::IosVersion>

Output only. The set of supported iOS software versions. Corresponds to the JSON property versions



1141
1142
1143
# File 'generated/google/apis/testing_v1/classes.rb', line 1141

def versions
  @versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1148
1149
1150
1151
1152
# File 'generated/google/apis/testing_v1/classes.rb', line 1148

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