class Google::Apis::AndroidpublisherV3::TrackRelease

A release within a track.

Attributes

country_targeting[RW]

Country targeting specification. Corresponds to the JSON property `countryTargeting` @return [Google::Apis::AndroidpublisherV3::CountryTargeting]

in_app_update_priority[RW]

In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See developer.android.com/ guide/playcore/in-app-updates. Corresponds to the JSON property `inAppUpdatePriority` @return [Fixnum]

name[RW]

The release name. Not required to be unique. If not set, the name is generated from the APK's version_name. If the release contains multiple APKs, the name is generated from the date. Corresponds to the JSON property `name` @return [String]

release_notes[RW]

A description of what is new in this release. Corresponds to the JSON property `releaseNotes` @return [Array<Google::Apis::AndroidpublisherV3::LocalizedText>]

status[RW]

The status of the release. Corresponds to the JSON property `status` @return [String]

user_fraction[RW]

Fraction of users who are eligible for a staged release. 0 < fraction < 1. Can only be set when status is “inProgress” or “halted”. Corresponds to the JSON property `userFraction` @return [Float]

version_codes[RW]

Version codes of all APKs in the release. Must include version codes to retain from previous releases. Corresponds to the JSON property `versionCodes` @return [Array<Fixnum>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidpublisher_v3/classes.rb, line 1983
def update!(**args)
  @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)
  @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