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.



6539
6540
6541
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6539

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

Instance Attribute Details

#addressString

Corresponds to the JSON property address

Returns:

  • (String)


6502
6503
6504
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6502

def address
  @address
end

#disk_usedFixnum

Corresponds to the JSON property diskUsed

Returns:

  • (Fixnum)


6507
6508
6509
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6507

def disk_used
  @disk_used
end

#memory_remainingFixnum

Corresponds to the JSON property memoryRemaining

Returns:

  • (Fixnum)


6512
6513
6514
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6512

def memory_remaining
  @memory_remaining
end

#memory_usedFixnum

Corresponds to the JSON property memoryUsed

Returns:

  • (Fixnum)


6517
6518
6519
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6517

def memory_used
  @memory_used
end

#off_heap_memory_remainingFixnum

Corresponds to the JSON property offHeapMemoryRemaining

Returns:

  • (Fixnum)


6522
6523
6524
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6522

def off_heap_memory_remaining
  @off_heap_memory_remaining
end

#off_heap_memory_usedFixnum

Corresponds to the JSON property offHeapMemoryUsed

Returns:

  • (Fixnum)


6527
6528
6529
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6527

def off_heap_memory_used
  @off_heap_memory_used
end

#on_heap_memory_remainingFixnum

Corresponds to the JSON property onHeapMemoryRemaining

Returns:

  • (Fixnum)


6532
6533
6534
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6532

def on_heap_memory_remaining
  @on_heap_memory_remaining
end

#on_heap_memory_usedFixnum

Corresponds to the JSON property onHeapMemoryUsed

Returns:

  • (Fixnum)


6537
6538
6539
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6537

def on_heap_memory_used
  @on_heap_memory_used
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6544

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