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
Output only.
-
#major_version ⇒ Fixnum
Output only.
-
#minor_version ⇒ Fixnum
Output only.
-
#tags ⇒ Array<String>
Output only.
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
1299 1300 1301 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1299 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Output only. An opaque id for this iOS version.
Use this id to invoke the TestExecutionService.
Corresponds to the JSON property id
1279 1280 1281 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1279 def id @id end |
#major_version ⇒ Fixnum
Output only. An integer representing the major iOS version.
Examples: "8", "9"
Corresponds to the JSON property majorVersion
1285 1286 1287 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1285 def major_version @major_version end |
#minor_version ⇒ Fixnum
Output only. An integer representing the minor iOS version.
Examples: "1", "2"
Corresponds to the JSON property minorVersion
1291 1292 1293 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1291 def minor_version @minor_version end |
#tags ⇒ Array<String>
Output only. Tags for this dimension.
Examples: "default", "preview", "deprecated"
Corresponds to the JSON property tags
1297 1298 1299 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1297 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1304 1305 1306 1307 1308 1309 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1304 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) @tags = args[:tags] if args.key?(:tags) end |