Class: Google::Apis::TestingV1::PerAndroidVersionInfo
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::PerAndroidVersionInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/testing_v1/classes.rb,
lib/google/apis/testing_v1/representations.rb,
lib/google/apis/testing_v1/representations.rb
Overview
A version-specific information of an Android model.
Instance Attribute Summary collapse
-
#device_capacity ⇒ String
The number of online devices for an Android version.
-
#version_id ⇒ String
An Android version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerAndroidVersionInfo
constructor
A new instance of PerAndroidVersionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PerAndroidVersionInfo
Returns a new instance of PerAndroidVersionInfo.
1811 1812 1813 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1811 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_capacity ⇒ String
The number of online devices for an Android version.
Corresponds to the JSON property deviceCapacity
1804 1805 1806 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1804 def device_capacity @device_capacity end |
#version_id ⇒ String
An Android version.
Corresponds to the JSON property versionId
1809 1810 1811 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1809 def version_id @version_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1816 1817 1818 1819 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1816 def update!(**args) @device_capacity = args[:device_capacity] if args.key?(:device_capacity) @version_id = args[:version_id] if args.key?(:version_id) end |