Class: Google::Apis::DataprocV1::RddDataDistribution
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::RddDataDistribution
- 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
Overview
Details about RDD usage.
Instance Attribute Summary collapse
-
#address ⇒ String
Corresponds to the JSON property
address. -
#disk_used ⇒ Fixnum
Corresponds to the JSON property
diskUsed. -
#memory_remaining ⇒ Fixnum
Corresponds to the JSON property
memoryRemaining. -
#memory_used ⇒ Fixnum
Corresponds to the JSON property
memoryUsed. -
#off_heap_memory_remaining ⇒ Fixnum
Corresponds to the JSON property
offHeapMemoryRemaining. -
#off_heap_memory_used ⇒ Fixnum
Corresponds to the JSON property
offHeapMemoryUsed. -
#on_heap_memory_remaining ⇒ Fixnum
Corresponds to the JSON property
onHeapMemoryRemaining. -
#on_heap_memory_used ⇒ Fixnum
Corresponds to the JSON property
onHeapMemoryUsed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RddDataDistribution
constructor
A new instance of RddDataDistribution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RddDataDistribution
Returns a new instance of RddDataDistribution.
6693 6694 6695 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6693 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
Corresponds to the JSON property address
6656 6657 6658 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6656 def address @address end |
#disk_used ⇒ Fixnum
Corresponds to the JSON property diskUsed
6661 6662 6663 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6661 def disk_used @disk_used end |
#memory_remaining ⇒ Fixnum
Corresponds to the JSON property memoryRemaining
6666 6667 6668 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6666 def memory_remaining @memory_remaining end |
#memory_used ⇒ Fixnum
Corresponds to the JSON property memoryUsed
6671 6672 6673 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6671 def memory_used @memory_used end |
#off_heap_memory_remaining ⇒ Fixnum
Corresponds to the JSON property offHeapMemoryRemaining
6676 6677 6678 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6676 def off_heap_memory_remaining @off_heap_memory_remaining end |
#off_heap_memory_used ⇒ Fixnum
Corresponds to the JSON property offHeapMemoryUsed
6681 6682 6683 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6681 def off_heap_memory_used @off_heap_memory_used end |
#on_heap_memory_remaining ⇒ Fixnum
Corresponds to the JSON property onHeapMemoryRemaining
6686 6687 6688 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6686 def on_heap_memory_remaining @on_heap_memory_remaining end |
#on_heap_memory_used ⇒ Fixnum
Corresponds to the JSON property onHeapMemoryUsed
6691 6692 6693 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6691 def on_heap_memory_used @on_heap_memory_used end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6698 def update!(**args) @address = args[:address] if args.key?(:address) @disk_used = args[:disk_used] if args.key?(:disk_used) @memory_remaining = args[:memory_remaining] if args.key?(:memory_remaining) @memory_used = args[:memory_used] if args.key?(:memory_used) @off_heap_memory_remaining = args[:off_heap_memory_remaining] if args.key?(:off_heap_memory_remaining) @off_heap_memory_used = args[:off_heap_memory_used] if args.key?(:off_heap_memory_used) @on_heap_memory_remaining = args[:on_heap_memory_remaining] if args.key?(:on_heap_memory_remaining) @on_heap_memory_used = args[:on_heap_memory_used] if args.key?(:on_heap_memory_used) end |