Class: Google::Apis::AndroidpublisherV3::DeviceRam

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceRam

Returns a new instance of DeviceRam.



1884
1885
1886
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1884

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

Instance Attribute Details

#max_bytesFixnum

Maximum RAM in bytes (bound excluded). Corresponds to the JSON property maxBytes

Returns:

  • (Fixnum)


1877
1878
1879
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1877

def max_bytes
  @max_bytes
end

#min_bytesFixnum

Minimum RAM in bytes (bound included). Corresponds to the JSON property minBytes

Returns:

  • (Fixnum)


1882
1883
1884
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1882

def min_bytes
  @min_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1889
1890
1891
1892
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1889

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