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.



1173
1174
1175
# File 'generated/google/apis/testing_v1/classes.rb', line 1173

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

Instance Attribute Details

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

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



1156
1157
1158
# File 'generated/google/apis/testing_v1/classes.rb', line 1156

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



1161
1162
1163
# File 'generated/google/apis/testing_v1/classes.rb', line 1161

def runtime_configuration
  @runtime_configuration
end

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

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



1166
1167
1168
# File 'generated/google/apis/testing_v1/classes.rb', line 1166

def versions
  @versions
end

#xcode_versionsArray<Google::Apis::TestingV1::XcodeVersion>

The set of supported Xcode versions. Corresponds to the JSON property xcodeVersions



1171
1172
1173
# File 'generated/google/apis/testing_v1/classes.rb', line 1171

def xcode_versions
  @xcode_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1178
1179
1180
1181
1182
1183
# File 'generated/google/apis/testing_v1/classes.rb', line 1178

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)
  @xcode_versions = args[:xcode_versions] if args.key?(:xcode_versions)
end