Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1AppVersion

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

Overview

Representations of an app version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1AppVersion

Returns a new instance of GooglePlayDeveloperReportingV1beta1AppVersion.



220
221
222
# File 'lib/google/apis/playdeveloperreporting_v1beta1/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_v1beta1/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_v1beta1/classes.rb', line 225

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