Class: Google::Apis::TestingV1::IosVersion
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::IosVersion
- 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
An iOS version.
Instance Attribute Summary collapse
-
#id ⇒ String
An opaque id for this iOS version.
-
#major_version ⇒ Fixnum
An integer representing the major iOS version.
-
#minor_version ⇒ Fixnum
An integer representing the minor iOS version.
-
#supported_xcode_version_ids ⇒ Array<String>
The available Xcode versions for this version.
-
#tags ⇒ Array<String>
Tags for this dimension.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IosVersion
constructor
A new instance of IosVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IosVersion
Returns a new instance of IosVersion
1329 1330 1331 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1329 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
An opaque id for this iOS version.
Use this id to invoke the TestExecutionService.
Corresponds to the JSON property id
1304 1305 1306 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1304 def id @id end |
#major_version ⇒ Fixnum
An integer representing the major iOS version.
Examples: "8", "9".
Corresponds to the JSON property majorVersion
1310 1311 1312 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1310 def major_version @major_version end |
#minor_version ⇒ Fixnum
An integer representing the minor iOS version.
Examples: "1", "2".
Corresponds to the JSON property minorVersion
1316 1317 1318 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1316 def minor_version @minor_version end |
#supported_xcode_version_ids ⇒ Array<String>
The available Xcode versions for this version.
Corresponds to the JSON property supportedXcodeVersionIds
1321 1322 1323 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1321 def supported_xcode_version_ids @supported_xcode_version_ids end |
#tags ⇒ Array<String>
Tags for this dimension.
Examples: "default", "preview", "deprecated".
Corresponds to the JSON property tags
1327 1328 1329 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1327 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1334 1335 1336 1337 1338 1339 1340 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1334 def update!(**args) @id = args[:id] if args.key?(:id) @major_version = args[:major_version] if args.key?(:major_version) @minor_version = args[:minor_version] if args.key?(:minor_version) @supported_xcode_version_ids = args[:supported_xcode_version_ids] if args.key?(:supported_xcode_version_ids) @tags = args[:tags] if args.key?(:tags) end |