Class: Google::Apis::TestingV1::DirectAccessVersionInfo

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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DirectAccessVersionInfo

Returns a new instance of DirectAccessVersionInfo.



1078
1079
1080
# File 'lib/google/apis/testing_v1/classes.rb', line 1078

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

Instance Attribute Details

#direct_access_supportedBoolean Also known as: direct_access_supported?

Whether direct access is supported at all. Clients are expected to filter down the device list to only android models and versions which support Direct Access when that is the user intent. Corresponds to the JSON property directAccessSupported

Returns:

  • (Boolean)


1068
1069
1070
# File 'lib/google/apis/testing_v1/classes.rb', line 1068

def direct_access_supported
  @direct_access_supported
end

#minimum_android_studio_versionString

Output only. Indicates client-device compatibility, where a device is known to work only with certain workarounds implemented in the Android Studio client. Expected format "major.minor.micro.patch", e.g. "5921.22.2211.8881706". Corresponds to the JSON property minimumAndroidStudioVersion

Returns:

  • (String)


1076
1077
1078
# File 'lib/google/apis/testing_v1/classes.rb', line 1076

def minimum_android_studio_version
  @minimum_android_studio_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1083
1084
1085
1086
# File 'lib/google/apis/testing_v1/classes.rb', line 1083

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