class Google::Apis::TestingV1::AndroidDevice

A single Android device.

Attributes

android_model_id[RW]

Required. The id of the Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `androidModelId` @return [String]

android_version_id[RW]

Required. The id of the Android OS version to be used. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `androidVersionId` @return [String]

locale[RW]

Required. The locale the test device used for testing. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `locale` @return [String]

orientation[RW]

Required. How the device is oriented during the test. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `orientation` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 77
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/testing_v1/classes.rb, line 82
def update!(**args)
  @android_model_id = args[:android_model_id] if args.key?(:android_model_id)
  @android_version_id = args[:android_version_id] if args.key?(:android_version_id)
  @locale = args[:locale] if args.key?(:locale)
  @orientation = args[:orientation] if args.key?(:orientation)
end