Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1AppVersion
- Inherits:
-
Object
- Object
- Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1AppVersion
- 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
-
#version_code ⇒ Fixnum
Numeric version code of the app version (set by the app's developer).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1AppVersion
constructor
A new instance of GooglePlayDeveloperReportingV1beta1AppVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_code ⇒ Fixnum
Numeric version code of the app version (set by the app's developer).
Corresponds to the JSON property versionCode
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 |