Class: Google::Apis::TestingV1::IosVersion

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ IosVersion

Returns a new instance of IosVersion



1309
1310
1311
# File 'generated/google/apis/testing_v1/classes.rb', line 1309

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idString

Output only. An opaque id for this iOS version. Use this id to invoke the TestExecutionService. Corresponds to the JSON property id

Returns:

  • (String)


1289
1290
1291
# File 'generated/google/apis/testing_v1/classes.rb', line 1289

def id
  @id
end

#major_versionFixnum

Output only. An integer representing the major iOS version. Examples: "8", "9" Corresponds to the JSON property majorVersion

Returns:

  • (Fixnum)


1295
1296
1297
# File 'generated/google/apis/testing_v1/classes.rb', line 1295

def major_version
  @major_version
end

#minor_versionFixnum

Output only. An integer representing the minor iOS version. Examples: "1", "2" Corresponds to the JSON property minorVersion

Returns:

  • (Fixnum)


1301
1302
1303
# File 'generated/google/apis/testing_v1/classes.rb', line 1301

def minor_version
  @minor_version
end

#tagsArray<String>

Output only. Tags for this dimension. Examples: "default", "preview", "deprecated" Corresponds to the JSON property tags

Returns:

  • (Array<String>)


1307
1308
1309
# File 'generated/google/apis/testing_v1/classes.rb', line 1307

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1314
1315
1316
1317
1318
1319
# File 'generated/google/apis/testing_v1/classes.rb', line 1314

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