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
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
116 117 118 |
# File 'generated/google/apis/testing_v1/classes.rb', line 116 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
103 104 105 |
# File 'generated/google/apis/testing_v1/classes.rb', line 103 def models @models end |
#runtime_configuration ⇒ Google::Apis::TestingV1::AndroidRuntimeConfiguration
Configuration that can be selected at the time a test is run.
Corresponds to the JSON property runtimeConfiguration
108 109 110 |
# File 'generated/google/apis/testing_v1/classes.rb', line 108 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
114 115 116 |
# File 'generated/google/apis/testing_v1/classes.rb', line 114 def versions @versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
121 122 123 124 125 |
# File 'generated/google/apis/testing_v1/classes.rb', line 121 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 |