Class: Google::Apis::TestingV1::IosModel

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

A description of an iOS device tests may be run on.

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) ⇒ IosModel

Returns a new instance of IosModel



1210
1211
1212
# File 'generated/google/apis/testing_v1/classes.rb', line 1210

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

Instance Attribute Details

#device_capabilitiesArray<String>

Output only. Device capabilities. Copied from https://developer.apple.com/library/archive/documentation/DeviceInformation/ Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/ DeviceCompatibilityMatrix.html Corresponds to the JSON property deviceCapabilities

Returns:

  • (Array<String>)


1185
1186
1187
# File 'generated/google/apis/testing_v1/classes.rb', line 1185

def device_capabilities
  @device_capabilities
end

#idString

Output only. The unique opaque id for this model. Use this for invoking the TestExecutionService. Corresponds to the JSON property id

Returns:

  • (String)


1191
1192
1193
# File 'generated/google/apis/testing_v1/classes.rb', line 1191

def id
  @id
end

#nameString

Output only. The human-readable name for this device model. Examples: "iPhone 4s", "iPad Mini 2" Corresponds to the JSON property name

Returns:

  • (String)


1197
1198
1199
# File 'generated/google/apis/testing_v1/classes.rb', line 1197

def name
  @name
end

#supported_version_idsArray<String>

Output only. The set of iOS major software versions this device supports. Corresponds to the JSON property supportedVersionIds

Returns:

  • (Array<String>)


1202
1203
1204
# File 'generated/google/apis/testing_v1/classes.rb', line 1202

def supported_version_ids
  @supported_version_ids
end

#tagsArray<String>

Output only. Tags for this dimension. Examples: "default", "preview", "deprecated" Corresponds to the JSON property tags

Returns:

  • (Array<String>)


1208
1209
1210
# File 'generated/google/apis/testing_v1/classes.rb', line 1208

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1215
1216
1217
1218
1219
1220
1221
# File 'generated/google/apis/testing_v1/classes.rb', line 1215

def update!(**args)
  @device_capabilities = args[:device_capabilities] if args.key?(:device_capabilities)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids)
  @tags = args[:tags] if args.key?(:tags)
end