Class: Google::Apis::TestingV1::PerAndroidVersionInfo

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PerAndroidVersionInfo

Returns a new instance of PerAndroidVersionInfo.



1862
1863
1864
# File 'lib/google/apis/testing_v1/classes.rb', line 1862

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#device_capacityString

The number of online devices for an Android version. Corresponds to the JSON property deviceCapacity

Returns:

  • (String)


1855
1856
1857
# File 'lib/google/apis/testing_v1/classes.rb', line 1855

def device_capacity
  @device_capacity
end

#version_idString

An Android version. Corresponds to the JSON property versionId

Returns:

  • (String)


1860
1861
1862
# File 'lib/google/apis/testing_v1/classes.rb', line 1860

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1867
1868
1869
1870
# File 'lib/google/apis/testing_v1/classes.rb', line 1867

def update!(**args)
  @device_capacity = args[:device_capacity] if args.key?(:device_capacity)
  @version_id = args[:version_id] if args.key?(:version_id)
end