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.



6880
6881
6882
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6880

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

Instance Attribute Details

#addressString

Corresponds to the JSON property address

Returns:

  • (String)


6843
6844
6845
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6843

def address
  @address
end

#disk_usedFixnum

Corresponds to the JSON property diskUsed

Returns:

  • (Fixnum)


6848
6849
6850
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6848

def disk_used
  @disk_used
end

#memory_remainingFixnum

Corresponds to the JSON property memoryRemaining

Returns:

  • (Fixnum)


6853
6854
6855
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6853

def memory_remaining
  @memory_remaining
end

#memory_usedFixnum

Corresponds to the JSON property memoryUsed

Returns:

  • (Fixnum)


6858
6859
6860
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6858

def memory_used
  @memory_used
end

#off_heap_memory_remainingFixnum

Corresponds to the JSON property offHeapMemoryRemaining

Returns:

  • (Fixnum)


6863
6864
6865
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6863

def off_heap_memory_remaining
  @off_heap_memory_remaining
end

#off_heap_memory_usedFixnum

Corresponds to the JSON property offHeapMemoryUsed

Returns:

  • (Fixnum)


6868
6869
6870
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6868

def off_heap_memory_used
  @off_heap_memory_used
end

#on_heap_memory_remainingFixnum

Corresponds to the JSON property onHeapMemoryRemaining

Returns:

  • (Fixnum)


6873
6874
6875
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6873

def on_heap_memory_remaining
  @on_heap_memory_remaining
end

#on_heap_memory_usedFixnum

Corresponds to the JSON property onHeapMemoryUsed

Returns:

  • (Fixnum)


6878
6879
6880
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6878

def on_heap_memory_used
  @on_heap_memory_used
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6885

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