Class: Google::Apis::AndroidenterpriseV1::AppVersion
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidenterpriseV1::AppVersion
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb 
Overview
This represents a single version of the app.
Instance Attribute Summary collapse
- 
  
    
      #track  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The track that this app was published in.
 - 
  
    
      #version_code  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Unique increasing identifier for the app version.
 - 
  
    
      #version_string  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The string used in the Play store by the app developer to identify the version.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AppVersion 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AppVersion.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AppVersion
Returns a new instance of AppVersion
      446 447 448  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 446 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#track ⇒ String
The track that this app was published in. For example if track is "alpha",
this is an alpha version of the app.
Corresponds to the JSON property track
      432 433 434  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 432 def track @track end  | 
  
#version_code ⇒ Fixnum
Unique increasing identifier for the app version.
Corresponds to the JSON property versionCode
      437 438 439  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 437 def version_code @version_code end  | 
  
#version_string ⇒ String
The string used in the Play store by the app developer to identify the version.
The string is not necessarily unique or localized (for example, the string
could be "1.4").
Corresponds to the JSON property versionString
      444 445 446  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 444 def version_string @version_string end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      451 452 453 454 455  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 451 def update!(**args) @track = args[:track] if args.key?(:track) @version_code = args[:version_code] if args.key?(:version_code) @version_string = args[:version_string] if args.key?(:version_string) end  |