Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1AppVersion

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/representations.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/representations.rb

Overview

Representations of an app version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1AppVersion

Returns a new instance of GooglePlayDeveloperReportingV1alpha1AppVersion.



220
221
222
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 220

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#version_codeFixnum

Numeric version code of the app version (set by the app's developer). Corresponds to the JSON property versionCode

Returns:

  • (Fixnum)


218
219
220
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 218

def version_code
  @version_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



225
226
227
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 225

def update!(**args)
  @version_code = args[:version_code] if args.key?(:version_code)
end