class Google::Apis::TestingV1::IosDevice

A single iOS device.

Attributes

ios_model_id[RW]

Required. The id of the iOS device to be used. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `iosModelId` @return [String]

ios_version_id[RW]

Required. The id of the iOS major software version to be used. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `iosVersionId` @return [String]

locale[RW]

Required. The locale the test device used for testing. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `locale` @return [String]

orientation[RW]

Required. How the device is oriented during the test. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `orientation` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 1181
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/testing_v1/classes.rb, line 1186
def update!(**args)
  @ios_model_id = args[:ios_model_id] if args.key?(:ios_model_id)
  @ios_version_id = args[:ios_version_id] if args.key?(:ios_version_id)
  @locale = args[:locale] if args.key?(:locale)
  @orientation = args[:orientation] if args.key?(:orientation)
end