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.



2095
2096
2097
# File 'lib/google/apis/testing_v1/classes.rb', line 2095

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)


2074
2075
2076
# File 'lib/google/apis/testing_v1/classes.rb', line 2074

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



2082
2083
2084
# File 'lib/google/apis/testing_v1/classes.rb', line 2082

def direct_access_version_info
  @direct_access_version_info
end

#interactive_device_availability_estimateString

Output only. The estimated wait time for a single interactive device session using Direct Access. Corresponds to the JSON property interactiveDeviceAvailabilityEstimate

Returns:

  • (String)


2088
2089
2090
# File 'lib/google/apis/testing_v1/classes.rb', line 2088

def interactive_device_availability_estimate
  @interactive_device_availability_estimate
end

#version_idString

An Android version. Corresponds to the JSON property versionId

Returns:

  • (String)


2093
2094
2095
# File 'lib/google/apis/testing_v1/classes.rb', line 2093

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2100
2101
2102
2103
2104
2105
# File 'lib/google/apis/testing_v1/classes.rb', line 2100

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)
  @interactive_device_availability_estimate = args[:interactive_device_availability_estimate] if args.key?(:interactive_device_availability_estimate)
  @version_id = args[:version_id] if args.key?(:version_id)
end