Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1OsVersion

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

Representation of an OS version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1OsVersion

Returns a new instance of GooglePlayDeveloperReportingV1beta1OsVersion.



1009
1010
1011
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 1009

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

Instance Attribute Details

#api_levelFixnum

Numeric version code of the OS - API level Corresponds to the JSON property apiLevel

Returns:

  • (Fixnum)


1007
1008
1009
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 1007

def api_level
  @api_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1014
1015
1016
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 1014

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