class Google::Apis::TestingV1::AndroidVersion

A version of the Android OS.

Attributes

api_level[RW]

The API level for this Android version. Examples: 18, 19. Corresponds to the JSON property `apiLevel` @return [Fixnum]

code_name[RW]

The code name for this Android version. Examples: “JellyBean”, “KitKat”. Corresponds to the JSON property `codeName` @return [String]

distribution[RW]

Data about the relative number of devices running a given configuration of the Android platform. Corresponds to the JSON property `distribution` @return [Google::Apis::TestingV1::Distribution]

id[RW]

An opaque id for this Android version. Use this id to invoke the TestExecutionService. Corresponds to the JSON property `id` @return [String]

release_date[RW]

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and ` google.protobuf.Timestamp`. Corresponds to the JSON property `releaseDate` @return [Google::Apis::TestingV1::Date]

tags[RW]

Tags for this dimension. Examples: “default”, “preview”, “deprecated”. Corresponds to the JSON property `tags` @return [Array<String>]

version_string[RW]

A string representing this version of the Android OS. Examples: “4.3”, “4.4”. Corresponds to the JSON property `versionString` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 594
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/testing_v1/classes.rb, line 599
def update!(**args)
  @api_level = args[:api_level] if args.key?(:api_level)
  @code_name = args[:code_name] if args.key?(:code_name)
  @distribution = args[:distribution] if args.key?(:distribution)
  @id = args[:id] if args.key?(:id)
  @release_date = args[:release_date] if args.key?(:release_date)
  @tags = args[:tags] if args.key?(:tags)
  @version_string = args[:version_string] if args.key?(:version_string)
end