Class: Google::Apis::TestingV1::AndroidDeviceCatalog

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#modelsArray<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_configurationGoogle::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

#versionsArray<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