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

Constructor Details

#initialize(**args) ⇒ AndroidDeviceCatalog

Returns a new instance of AndroidDeviceCatalog.



109
110
111
# File 'generated/google/apis/testing_v1/classes.rb', line 109

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



97
98
99
# File 'generated/google/apis/testing_v1/classes.rb', line 97

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



102
103
104
# File 'generated/google/apis/testing_v1/classes.rb', line 102

def runtime_configuration
  @runtime_configuration
end

#versionsArray<Google::Apis::TestingV1::AndroidVersion>

The set of supported Android OS versions. Corresponds to the JSON property versions



107
108
109
# File 'generated/google/apis/testing_v1/classes.rb', line 107

def versions
  @versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



114
115
116
117
118
# File 'generated/google/apis/testing_v1/classes.rb', line 114

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