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