class Google::Apis::TestingV1::AndroidDevice
A single Android device.
Attributes
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]
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]
Required. The locale the test device used for testing. Use the TestEnvironmentDiscoveryService to get supported options. Corresponds to the JSON property `locale` @return [String]
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
# File lib/google/apis/testing_v1/classes.rb, line 77 def initialize(**args) update!(**args) end
Public Instance Methods
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