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.
5259 5260 5261 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#total_off_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property totalOffHeapStorageMemory
5242 5243 5244 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5242 def total_off_heap_storage_memory @total_off_heap_storage_memory end |
#total_on_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property totalOnHeapStorageMemory
5247 5248 5249 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5247 def total_on_heap_storage_memory @total_on_heap_storage_memory end |
#used_off_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property usedOffHeapStorageMemory
5252 5253 5254 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5252 def used_off_heap_storage_memory @used_off_heap_storage_memory end |
#used_on_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property usedOnHeapStorageMemory
5257 5258 5259 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5257 def used_on_heap_storage_memory @used_on_heap_storage_memory end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5264 5265 5266 5267 5268 5269 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5264 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 |