Class: Google::Apis::AndroidpublisherV3::TrackRelease
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidpublisherV3::TrackRelease
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb 
Overview
A release within a track.
Instance Attribute Summary collapse
- 
  
    
      #country_targeting  ⇒ Google::Apis::AndroidpublisherV3::CountryTargeting 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Country targeting specification.
 - 
  
    
      #in_app_update_priority  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
In-app update priority of the release.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The release name.
 - 
  
    
      #release_notes  ⇒ Array<Google::Apis::AndroidpublisherV3::LocalizedText> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A description of what is new in this release.
 - 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The status of the release.
 - 
  
    
      #user_fraction  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Fraction of users who are eligible for a staged release.
 - 
  
    
      #version_codes  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Version codes of all APKs in the release.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TrackRelease 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TrackRelease.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ TrackRelease
Returns a new instance of TrackRelease.
      6814 6815 6816  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6814 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#country_targeting ⇒ Google::Apis::AndroidpublisherV3::CountryTargeting
Country targeting specification.
Corresponds to the JSON property countryTargeting
      6774 6775 6776  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6774 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. 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 https://developer.android.com/
guide/playcore/in-app-updates.
Corresponds to the JSON property inAppUpdatePriority
      6783 6784 6785  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6783 def in_app_update_priority @in_app_update_priority end  | 
  
#name ⇒ String
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
      6790 6791 6792  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6790 def name @name end  | 
  
#release_notes ⇒ Array<Google::Apis::AndroidpublisherV3::LocalizedText>
A description of what is new in this release.
Corresponds to the JSON property releaseNotes
      6795 6796 6797  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6795 def release_notes @release_notes end  | 
  
#status ⇒ String
The status of the release.
Corresponds to the JSON property status
      6800 6801 6802  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6800 def status @status end  | 
  
#user_fraction ⇒ Float
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
      6806 6807 6808  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6806 def user_fraction @user_fraction end  | 
  
#version_codes ⇒ Array<Fixnum>
Version codes of all APKs in the release. Must include version codes to retain
from previous releases.
Corresponds to the JSON property versionCodes
      6812 6813 6814  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6812 def version_codes @version_codes end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      6819 6820 6821 6822 6823 6824 6825 6826 6827  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6819 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  |