Class: Google::Apis::TestingV1::AndroidMatrix
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::TestingV1::AndroidMatrix
 
- 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 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.
Instance Attribute Summary collapse
- 
  
    
      #android_model_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ids of the set of Android device to be used. 
- 
  
    
      #android_version_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ids of the set of Android OS version to be used. 
- 
  
    
      #locales  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The set of locales the test device will enable for testing. 
- 
  
    
      #orientations  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The set of orientations to test with. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AndroidMatrix 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AndroidMatrix. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidMatrix
Returns a new instance of AndroidMatrix
| 266 267 268 | # File 'generated/google/apis/testing_v1/classes.rb', line 266 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#android_model_ids ⇒ Array<String>
The ids of the set of Android device to be used.
Use the EnvironmentDiscoveryService to get supported options.
Required
Corresponds to the JSON property androidModelIds
| 243 244 245 | # File 'generated/google/apis/testing_v1/classes.rb', line 243 def android_model_ids @android_model_ids end | 
#android_version_ids ⇒ Array<String>
The ids of the set of Android OS version to be used.
Use the EnvironmentDiscoveryService to get supported options.
Required
Corresponds to the JSON property androidVersionIds
| 250 251 252 | # File 'generated/google/apis/testing_v1/classes.rb', line 250 def android_version_ids @android_version_ids end | 
#locales ⇒ Array<String>
The set of locales the test device will enable for testing.
Use the EnvironmentDiscoveryService to get supported options.
Required
Corresponds to the JSON property locales
| 257 258 259 | # File 'generated/google/apis/testing_v1/classes.rb', line 257 def locales @locales end | 
#orientations ⇒ Array<String>
The set of orientations to test with.
Use the EnvironmentDiscoveryService to get supported options.
Required
Corresponds to the JSON property orientations
| 264 265 266 | # File 'generated/google/apis/testing_v1/classes.rb', line 264 def orientations @orientations end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 271 272 273 274 275 276 | # File 'generated/google/apis/testing_v1/classes.rb', line 271 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 |