Class: Google::Apis::AndroidpublisherV3::TrackRelease
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::TrackRelease
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb
Instance Attribute Summary collapse
-
#controls ⇒ Array<Google::Apis::AndroidpublisherV3::Control>
Corresponds to the JSON property
controls
. -
#country_targeting ⇒ Google::Apis::AndroidpublisherV3::CountryTargeting
Corresponds to the JSON property
countryTargeting
. -
#in_app_update_priority ⇒ Fixnum
In-app update priority of the release.
-
#name ⇒ String
The release name, used to identify this release in the Play Console UI.
-
#release_notes ⇒ Array<Google::Apis::AndroidpublisherV3::LocalizedText>
The description of what is new in the app in this release.
-
#sampling ⇒ Google::Apis::AndroidpublisherV3::Sampling
Corresponds to the JSON property
sampling
. -
#status ⇒ String
The desired status of this release.
-
#user_fraction ⇒ Float
Fraction of users who are eligible to receive the release.
-
#version_codes ⇒ Array<Fixnum>
A list of all version codes of APKs that will be exposed to the users of this track when this release is rolled out.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TrackRelease
constructor
A new instance of TrackRelease.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TrackRelease
Returns a new instance of TrackRelease.
2046 2047 2048 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2046 def initialize(**args) update!(**args) end |
Instance Attribute Details
#controls ⇒ Array<Google::Apis::AndroidpublisherV3::Control>
Corresponds to the JSON property controls
1995 1996 1997 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1995 def controls @controls end |
#country_targeting ⇒ Google::Apis::AndroidpublisherV3::CountryTargeting
Corresponds to the JSON property countryTargeting
2000 2001 2002 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2000 def country_targeting @country_targeting end |
#in_app_update_priority ⇒ Fixnum
In-app update priority of the release. All newly added APKs in the release
will be considered at this priority. in_app_update_priority can take values
between [0, 5]. 5 is the highest priority. Default priority is 0. See https://
developer.android.com/guide/playcore/in-app-updates.
Corresponds to the JSON property inAppUpdatePriority
2008 2009 2010 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2008 def in_app_update_priority @in_app_update_priority end |
#name ⇒ String
The release name, used to identify this release in the Play Console UI. Not
required to be unique. This is optional, if not set it will be generated from
the version_name in the APKs.
Corresponds to the JSON property name
2015 2016 2017 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2015 def name @name end |
#release_notes ⇒ Array<Google::Apis::AndroidpublisherV3::LocalizedText>
The description of what is new in the app in this release.
Corresponds to the JSON property releaseNotes
2020 2021 2022 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2020 def release_notes @release_notes end |
#sampling ⇒ Google::Apis::AndroidpublisherV3::Sampling
Corresponds to the JSON property sampling
2025 2026 2027 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2025 def sampling @sampling end |
#status ⇒ String
The desired status of this release.
Corresponds to the JSON property status
2030 2031 2032 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2030 def status @status end |
#user_fraction ⇒ Float
Fraction of users who are eligible to receive the release. 0 < fraction < 1.
To be set, release status must be "inProgress" or "halted".
Corresponds to the JSON property userFraction
2036 2037 2038 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2036 def user_fraction @user_fraction end |
#version_codes ⇒ Array<Fixnum>
A list of all version codes of APKs that will be exposed to the users of this
track when this release is rolled out. Note that this list should contain all
versions you wish to be active, including those you wish to retain from
previous releases.
Corresponds to the JSON property versionCodes
2044 2045 2046 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2044 def version_codes @version_codes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2051 def update!(**args) @controls = args[:controls] if args.key?(:controls) @country_targeting = args[:country_targeting] if args.key?(:country_targeting) @in_app_update_priority = args[:in_app_update_priority] if args.key?(:in_app_update_priority) @name = args[:name] if args.key?(:name) @release_notes = args[:release_notes] if args.key?(:release_notes) @sampling = args[:sampling] if args.key?(:sampling) @status = args[:status] if args.key?(:status) @user_fraction = args[:user_fraction] if args.key?(:user_fraction) @version_codes = args[:version_codes] if args.key?(:version_codes) end |