Class: Google::Apis::TestingV1::AndroidDeviceCatalog
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::AndroidDeviceCatalog
- 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 Android devices.
Instance Attribute Summary collapse
-
#models ⇒ Array<Google::Apis::TestingV1::AndroidModel>
The set of supported Android device models.
-
#runtime_configuration ⇒ Google::Apis::TestingV1::AndroidRuntimeConfiguration
Android configuration that can be selected at the time a test is run.
-
#versions ⇒ Array<Google::Apis::TestingV1::AndroidVersion>
The set of supported Android OS versions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidDeviceCatalog
constructor
A new instance of AndroidDeviceCatalog.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidDeviceCatalog
Returns a new instance of AndroidDeviceCatalog
110 111 112 |
# File 'generated/google/apis/testing_v1/classes.rb', line 110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#models ⇒ Array<Google::Apis::TestingV1::AndroidModel>
The set of supported Android device models.
Corresponds to the JSON property models
98 99 100 |
# File 'generated/google/apis/testing_v1/classes.rb', line 98 def models @models end |
#runtime_configuration ⇒ Google::Apis::TestingV1::AndroidRuntimeConfiguration
Android configuration that can be selected at the time a test is run.
Corresponds to the JSON property runtimeConfiguration
103 104 105 |
# File 'generated/google/apis/testing_v1/classes.rb', line 103 def runtime_configuration @runtime_configuration end |
#versions ⇒ Array<Google::Apis::TestingV1::AndroidVersion>
The set of supported Android OS versions.
Corresponds to the JSON property versions
108 109 110 |
# File 'generated/google/apis/testing_v1/classes.rb', line 108 def versions @versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
115 116 117 118 119 |
# File 'generated/google/apis/testing_v1/classes.rb', line 115 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) end |