Class: Google::Apis::ToolresultsV1beta3::MemoryInfo
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::MemoryInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb
Instance Attribute Summary collapse
-
#memory_cap_in_kibibyte ⇒ Fixnum
Maximum memory that can be allocated to the process in KiB Corresponds to the JSON property
memoryCapInKibibyte
. -
#memory_total_in_kibibyte ⇒ Fixnum
Total memory available on the device in KiB Corresponds to the JSON property
memoryTotalInKibibyte
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MemoryInfo
constructor
A new instance of MemoryInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MemoryInfo
Returns a new instance of MemoryInfo
1246 1247 1248 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#memory_cap_in_kibibyte ⇒ Fixnum
Maximum memory that can be allocated to the process in KiB
Corresponds to the JSON property memoryCapInKibibyte
1239 1240 1241 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1239 def memory_cap_in_kibibyte @memory_cap_in_kibibyte end |
#memory_total_in_kibibyte ⇒ Fixnum
Total memory available on the device in KiB
Corresponds to the JSON property memoryTotalInKibibyte
1244 1245 1246 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1244 def memory_total_in_kibibyte @memory_total_in_kibibyte end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1251 1252 1253 1254 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1251 def update!(**args) @memory_cap_in_kibibyte = args[:memory_cap_in_kibibyte] if args.key?(:memory_cap_in_kibibyte) @memory_total_in_kibibyte = args[:memory_total_in_kibibyte] if args.key?(:memory_total_in_kibibyte) end |