class Google::Apis::AndroidenterpriseV1::AppVersion

This represents a single version of the app.

Attributes

is_production[RW]

True if this version is a production APK. Corresponds to the JSON property `isProduction` @return [Boolean]

is_production?[RW]

True if this version is a production APK. Corresponds to the JSON property `isProduction` @return [Boolean]

track[RW]

Deprecated, use trackId instead. Corresponds to the JSON property `track` @return [String]

track_id[RW]

Track ids that the app version is published in. Replaces the track field ( deprecated), but doesn't include the production track (see isProduction instead). Corresponds to the JSON property `trackId` @return [Array<String>]

version_code[RW]

Unique increasing identifier for the app version. Corresponds to the JSON property `versionCode` @return [Fixnum]

version_string[RW]

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` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidenterprise_v1/classes.rb, line 505
def update!(**args)
  @is_production = args[:is_production] if args.key?(:is_production)
  @track = args[:track] if args.key?(:track)
  @track_id = args[:track_id] if args.key?(:track_id)
  @version_code = args[:version_code] if args.key?(:version_code)
  @version_string = args[:version_string] if args.key?(:version_string)
end