Class: Google::Apis::AndroidpublisherV2::Track
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidpublisherV2::Track
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v2/classes.rb,
 generated/google/apis/androidpublisher_v2/representations.rb,
 generated/google/apis/androidpublisher_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #track  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifier for this track. 
- 
  
    
      #user_fraction  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property userFraction.
- 
  
    
      #version_codes  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Version codes to make active on this track. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Track 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Track. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Track
Returns a new instance of Track
| 1680 1681 1682 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1680 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#track ⇒ String
Identifier for this track. One of "alpha", "beta", "production", "rollout" or "
internal".
Corresponds to the JSON property track
| 1666 1667 1668 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1666 def track @track end | 
#user_fraction ⇒ Float
Corresponds to the JSON property userFraction
| 1671 1672 1673 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1671 def user_fraction @user_fraction end | 
#version_codes ⇒ Array<Fixnum>
Version codes to make active on this track. 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
| 1678 1679 1680 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1678 def version_codes @version_codes end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1685 1686 1687 1688 1689 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1685 def update!(**args) @track = args[:track] if args.key?(:track) @user_fraction = args[:user_fraction] if args.key?(:user_fraction) @version_codes = args[:version_codes] if args.key?(:version_codes) end |