Class: Google::Apis::AndroidpublisherV3::DeviceRam
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::DeviceRam
- 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
Conditions about a device's RAM capabilities.
Instance Attribute Summary collapse
-
#max_bytes ⇒ Fixnum
Maximum RAM in bytes (bound excluded).
-
#min_bytes ⇒ Fixnum
Minimum RAM in bytes (bound included).
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceRam
constructor
A new instance of DeviceRam.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceRam
Returns a new instance of DeviceRam.
1885 1886 1887 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1885 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_bytes ⇒ Fixnum
Maximum RAM in bytes (bound excluded).
Corresponds to the JSON property maxBytes
1878 1879 1880 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1878 def max_bytes @max_bytes end |
#min_bytes ⇒ Fixnum
Minimum RAM in bytes (bound included).
Corresponds to the JSON property minBytes
1883 1884 1885 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1883 def min_bytes @min_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1890 1891 1892 1893 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1890 def update!(**args) @max_bytes = args[:max_bytes] if args.key?(:max_bytes) @min_bytes = args[:min_bytes] if args.key?(:min_bytes) end |