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
- 
  
    
      #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. 
- 
  
    
      #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
| 1694 1695 1696 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1694 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#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
| 1668 1669 1670 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1668 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
| 1673 1674 1675 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1673 def release_notes @release_notes end | 
#status ⇒ String
The desired status of this release.
Corresponds to the JSON property status
| 1678 1679 1680 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1678 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
| 1684 1685 1686 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1684 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
| 1692 1693 1694 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1692 def version_codes @version_codes end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1699 1700 1701 1702 1703 1704 1705 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1699 def update!(**args) @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 |