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.



2037
2038
2039
# File 'lib/google/apis/testing_v1/classes.rb', line 2037

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)


2022
2023
2024
# File 'lib/google/apis/testing_v1/classes.rb', line 2022

def device_capacity
  @device_capacity
end

#direct_access_version_infoGoogle::Apis::TestingV1::DirectAccessVersionInfo

Denotes whether Direct Access is supported, and by which client versions. DirectAccessService is currently available as a preview to select developers. You can register today on behalf of you and your team at https://developer. android.com/studio/preview/android-device-streaming Corresponds to the JSON property directAccessVersionInfo



2030
2031
2032
# File 'lib/google/apis/testing_v1/classes.rb', line 2030

def direct_access_version_info
  @direct_access_version_info
end

#version_idString

An Android version. Corresponds to the JSON property versionId

Returns:

  • (String)


2035
2036
2037
# File 'lib/google/apis/testing_v1/classes.rb', line 2035

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2042
2043
2044
2045
2046
# File 'lib/google/apis/testing_v1/classes.rb', line 2042

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