Class: Google::Apis::AndroidpublisherV3::CatalogSdkVersion
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::CatalogSdkVersion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
Defines a range of SDK versions. A device is considered compatible uf its\ SDK version falls within the min_sdk_version and max_sdk_version range.
Instance Attribute Summary collapse
-
#max_sdk_version ⇒ Fixnum
The maximum SDK version required for the app (inclusive).
-
#min_sdk_version ⇒ Fixnum
The minimum SDK version required for the app (inclusive).
-
#target_sdk_version ⇒ Fixnum
The target SDK version for the app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CatalogSdkVersion
constructor
A new instance of CatalogSdkVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CatalogSdkVersion
Returns a new instance of CatalogSdkVersion.
2337 2338 2339 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2337 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_sdk_version ⇒ Fixnum
The maximum SDK version required for the app (inclusive).
Corresponds to the JSON property maxSdkVersion
2325 2326 2327 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2325 def max_sdk_version @max_sdk_version end |
#min_sdk_version ⇒ Fixnum
The minimum SDK version required for the app (inclusive).
Corresponds to the JSON property minSdkVersion
2330 2331 2332 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2330 def min_sdk_version @min_sdk_version end |
#target_sdk_version ⇒ Fixnum
The target SDK version for the app.
Corresponds to the JSON property targetSdkVersion
2335 2336 2337 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2335 def target_sdk_version @target_sdk_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2342 2343 2344 2345 2346 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2342 def update!(**args) @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version) @min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version) @target_sdk_version = args[:target_sdk_version] if args.key?(:target_sdk_version) end |