Class: Google::Apis::TestingV1::AndroidVersion
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::AndroidVersion
- 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 version of the Android OS.
Instance Attribute Summary collapse
-
#api_level ⇒ Fixnum
The API level for this Android version.
-
#code_name ⇒ String
The code name for this Android version.
-
#distribution ⇒ Google::Apis::TestingV1::Distribution
Data about the relative number of devices running a given configuration of the Android platform.
-
#id ⇒ String
An opaque id for this Android version.
-
#release_date ⇒ Google::Apis::TestingV1::Date
Represents a whole or partial calendar date, e.g.
-
#tags ⇒ Array<String>
Tags for this dimension.
-
#version_string ⇒ String
A string representing this version of the Android OS.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidVersion
constructor
A new instance of AndroidVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidVersion
Returns a new instance of AndroidVersion
602 603 604 |
# File 'generated/google/apis/testing_v1/classes.rb', line 602 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_level ⇒ Fixnum
The API level for this Android version.
Examples: 18, 19.
Corresponds to the JSON property apiLevel
558 559 560 |
# File 'generated/google/apis/testing_v1/classes.rb', line 558 def api_level @api_level end |
#code_name ⇒ String
The code name for this Android version.
Examples: "JellyBean", "KitKat".
Corresponds to the JSON property codeName
564 565 566 |
# File 'generated/google/apis/testing_v1/classes.rb', line 564 def code_name @code_name end |
#distribution ⇒ Google::Apis::TestingV1::Distribution
Data about the relative number of devices running a
given configuration of the Android platform.
Corresponds to the JSON property distribution
570 571 572 |
# File 'generated/google/apis/testing_v1/classes.rb', line 570 def distribution @distribution end |
#id ⇒ String
An opaque id for this Android version.
Use this id to invoke the TestExecutionService.
Corresponds to the JSON property id
576 577 578 |
# File 'generated/google/apis/testing_v1/classes.rb', line 576 def id @id end |
#release_date ⇒ Google::Apis::TestingV1::Date
Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent:
- A full date, with non-zero year, month and day values
- A month and day value, with a zero year, e.g. an anniversary
- A year on its own, with zero month and day values
- A year and month value, with a zero day, e.g. a credit card expiration date
Related types are google.type.TimeOfDay and
google.protobuf.Timestamp
. Corresponds to the JSON propertyreleaseDate
588 589 590 |
# File 'generated/google/apis/testing_v1/classes.rb', line 588 def release_date @release_date end |
#tags ⇒ Array<String>
Tags for this dimension.
Examples: "default", "preview", "deprecated".
Corresponds to the JSON property tags
594 595 596 |
# File 'generated/google/apis/testing_v1/classes.rb', line 594 def @tags end |
#version_string ⇒ String
A string representing this version of the Android OS.
Examples: "4.3", "4.4".
Corresponds to the JSON property versionString
600 601 602 |
# File 'generated/google/apis/testing_v1/classes.rb', line 600 def version_string @version_string end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
607 608 609 610 611 612 613 614 615 |
# File 'generated/google/apis/testing_v1/classes.rb', line 607 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 |