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.



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

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)


2028
2029
2030
# File 'lib/google/apis/testing_v1/classes.rb', line 2028

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



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

def direct_access_version_info
  @direct_access_version_info
end

#version_idString

An Android version. Corresponds to the JSON property versionId

Returns:

  • (String)


2041
2042
2043
# File 'lib/google/apis/testing_v1/classes.rb', line 2041

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2048
2049
2050
2051
2052
# File 'lib/google/apis/testing_v1/classes.rb', line 2048

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