Class: Google::Apis::TestingV1::IosDevice
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::IosDevice
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/testing_v1/classes.rb,
generated/google/apis/testing_v1/representations.rb,
generated/google/apis/testing_v1/representations.rb
Overview
A single iOS device.
Instance Attribute Summary collapse
-
#ios_model_id ⇒ String
Required.
-
#ios_version_id ⇒ String
Required.
-
#locale ⇒ String
Required.
-
#orientation ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IosDevice
constructor
A new instance of IosDevice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IosDevice
Returns a new instance of IosDevice
1124 1125 1126 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ios_model_id ⇒ String
Required. The id of the iOS device to be used.
Use the EnvironmentDiscoveryService to get supported options.
Corresponds to the JSON property iosModelId
1104 1105 1106 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1104 def ios_model_id @ios_model_id end |
#ios_version_id ⇒ String
Required. The id of the iOS major software version to be used.
Use the EnvironmentDiscoveryService to get supported options.
Corresponds to the JSON property iosVersionId
1110 1111 1112 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1110 def ios_version_id @ios_version_id end |
#locale ⇒ String
Required. The locale the test device used for testing.
Use the EnvironmentDiscoveryService to get supported options.
Corresponds to the JSON property locale
1116 1117 1118 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1116 def locale @locale end |
#orientation ⇒ String
Required. How the device is oriented during the test.
Use the EnvironmentDiscoveryService to get supported options.
Corresponds to the JSON property orientation
1122 1123 1124 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1122 def orientation @orientation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1129 1130 1131 1132 1133 1134 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1129 def update!(**args) @ios_model_id = args[:ios_model_id] if args.key?(:ios_model_id) @ios_version_id = args[:ios_version_id] if args.key?(:ios_version_id) @locale = args[:locale] if args.key?(:locale) @orientation = args[:orientation] if args.key?(:orientation) end |