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.
5081 5082 5083 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#total_off_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property totalOffHeapStorageMemory
5064 5065 5066 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5064 def total_off_heap_storage_memory @total_off_heap_storage_memory end |
#total_on_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property totalOnHeapStorageMemory
5069 5070 5071 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5069 def total_on_heap_storage_memory @total_on_heap_storage_memory end |
#used_off_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property usedOffHeapStorageMemory
5074 5075 5076 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5074 def used_off_heap_storage_memory @used_off_heap_storage_memory end |
#used_on_heap_storage_memory ⇒ Fixnum
Corresponds to the JSON property usedOnHeapStorageMemory
5079 5080 5081 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5079 def used_on_heap_storage_memory @used_on_heap_storage_memory end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5086 5087 5088 5089 5090 5091 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5086 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 |