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.
5352 5353 5354 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5352 def initialize(**args) update!(**args) end |
Instance Attribute Details
#total_off_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property totalOffHeapStorageMemory
5335 5336 5337 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5335 def total_off_heap_storage_memory @total_off_heap_storage_memory end |
#total_on_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property totalOnHeapStorageMemory
5340 5341 5342 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5340 def total_on_heap_storage_memory @total_on_heap_storage_memory end |
#used_off_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property usedOffHeapStorageMemory
5345 5346 5347 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5345 def used_off_heap_storage_memory @used_off_heap_storage_memory end |
#used_on_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property usedOnHeapStorageMemory
5350 5351 5352 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5350 def used_on_heap_storage_memory @used_on_heap_storage_memory end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5357 5358 5359 5360 5361 5362 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5357 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 |