class Google::Apis::TestingV1::AndroidMatrix

A set of Android device configuration permutations is defined by the the cross- product of the given axes. Internally, the given AndroidMatrix will be expanded into a set of AndroidDevices. Only supported permutations will be instantiated. Invalid permutations (e.g., incompatible models/versions) are ignored.

Attributes

android_model_ids[RW]

Required. The ids of the set of Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `androidModelIds` @return [Array<String>]

android_version_ids[RW]

Required. The ids of the set of Android OS version to be used. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `androidVersionIds` @return [Array<String>]

locales[RW]

Required. The set of locales the test device will enable for testing. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `locales` @return [Array<String>]

orientations[RW]

Required. The set of orientations to test with. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `orientations` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 258
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 263
def update!(**args)
  @android_model_ids = args[:android_model_ids] if args.key?(:android_model_ids)
  @android_version_ids = args[:android_version_ids] if args.key?(:android_version_ids)
  @locales = args[:locales] if args.key?(:locales)
  @orientations = args[:orientations] if args.key?(:orientations)
end