Class: Google::Apis::DataprocV1::RddPartitionInfo

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

Information about RDD partitions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RddPartitionInfo

Returns a new instance of RddPartitionInfo.



6741
6742
6743
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6741

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

Instance Attribute Details

#block_nameString

Corresponds to the JSON property blockName

Returns:

  • (String)


6719
6720
6721
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6719

def block_name
  @block_name
end

#disk_usedFixnum

Corresponds to the JSON property diskUsed

Returns:

  • (Fixnum)


6724
6725
6726
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6724

def disk_used
  @disk_used
end

#executorsArray<String>

Corresponds to the JSON property executors

Returns:

  • (Array<String>)


6729
6730
6731
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6729

def executors
  @executors
end

#memory_usedFixnum

Corresponds to the JSON property memoryUsed

Returns:

  • (Fixnum)


6734
6735
6736
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6734

def memory_used
  @memory_used
end

#storage_levelString

Corresponds to the JSON property storageLevel

Returns:

  • (String)


6739
6740
6741
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6739

def storage_level
  @storage_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6746
6747
6748
6749
6750
6751
6752
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6746

def update!(**args)
  @block_name = args[:block_name] if args.key?(:block_name)
  @disk_used = args[:disk_used] if args.key?(:disk_used)
  @executors = args[:executors] if args.key?(:executors)
  @memory_used = args[:memory_used] if args.key?(:memory_used)
  @storage_level = args[:storage_level] if args.key?(:storage_level)
end