Class: Google::Apis::DataprocV1::MemoryMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::MemoryMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Instance Attribute Summary collapse
-
#total_off_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property
totalOffHeapStorageMemory. -
#total_on_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property
totalOnHeapStorageMemory. -
#used_off_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property
usedOffHeapStorageMemory. -
#used_on_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property
usedOnHeapStorageMemory.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MemoryMetrics
constructor
A new instance of MemoryMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MemoryMetrics
Returns a new instance of MemoryMetrics.
5374 5375 5376 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5374 def initialize(**args) update!(**args) end |
Instance Attribute Details
#total_off_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property totalOffHeapStorageMemory
5357 5358 5359 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5357 def total_off_heap_storage_memory @total_off_heap_storage_memory end |
#total_on_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property totalOnHeapStorageMemory
5362 5363 5364 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5362 def total_on_heap_storage_memory @total_on_heap_storage_memory end |
#used_off_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property usedOffHeapStorageMemory
5367 5368 5369 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5367 def used_off_heap_storage_memory @used_off_heap_storage_memory end |
#used_on_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property usedOnHeapStorageMemory
5372 5373 5374 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5372 def used_on_heap_storage_memory @used_on_heap_storage_memory end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5379 5380 5381 5382 5383 5384 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5379 def update!(**args) @total_off_heap_storage_memory = args[:total_off_heap_storage_memory] if args.key?(:total_off_heap_storage_memory) @total_on_heap_storage_memory = args[:total_on_heap_storage_memory] if args.key?(:total_on_heap_storage_memory) @used_off_heap_storage_memory = args[:used_off_heap_storage_memory] if args.key?(:used_off_heap_storage_memory) @used_on_heap_storage_memory = args[:used_on_heap_storage_memory] if args.key?(:used_on_heap_storage_memory) end |