Class: Google::Apis::DataprocV1::RddDataDistribution

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RddDataDistribution

Returns a new instance of RddDataDistribution.



6713
6714
6715
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6713

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#addressString

Corresponds to the JSON property address

Returns:

  • (String)


6676
6677
6678
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6676

def address
  @address
end

#disk_usedFixnum

Corresponds to the JSON property diskUsed

Returns:

  • (Fixnum)


6681
6682
6683
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6681

def disk_used
  @disk_used
end

#memory_remainingFixnum

Corresponds to the JSON property memoryRemaining

Returns:

  • (Fixnum)


6686
6687
6688
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6686

def memory_remaining
  @memory_remaining
end

#memory_usedFixnum

Corresponds to the JSON property memoryUsed

Returns:

  • (Fixnum)


6691
6692
6693
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6691

def memory_used
  @memory_used
end

#off_heap_memory_remainingFixnum

Corresponds to the JSON property offHeapMemoryRemaining

Returns:

  • (Fixnum)


6696
6697
6698
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6696

def off_heap_memory_remaining
  @off_heap_memory_remaining
end

#off_heap_memory_usedFixnum

Corresponds to the JSON property offHeapMemoryUsed

Returns:

  • (Fixnum)


6701
6702
6703
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6701

def off_heap_memory_used
  @off_heap_memory_used
end

#on_heap_memory_remainingFixnum

Corresponds to the JSON property onHeapMemoryRemaining

Returns:

  • (Fixnum)


6706
6707
6708
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6706

def on_heap_memory_remaining
  @on_heap_memory_remaining
end

#on_heap_memory_usedFixnum

Corresponds to the JSON property onHeapMemoryUsed

Returns:

  • (Fixnum)


6711
6712
6713
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6711

def on_heap_memory_used
  @on_heap_memory_used
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6718

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