Class: Google::Apis::DataprocV1::RddPartitionInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::RddPartitionInfo
- 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
-
#block_name ⇒ String
Corresponds to the JSON property
blockName
. -
#disk_used ⇒ Fixnum
Corresponds to the JSON property
diskUsed
. -
#executors ⇒ Array<String>
Corresponds to the JSON property
executors
. -
#memory_used ⇒ Fixnum
Corresponds to the JSON property
memoryUsed
. -
#storage_level ⇒ String
Corresponds to the JSON property
storageLevel
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RddPartitionInfo
constructor
A new instance of RddPartitionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RddPartitionInfo
Returns a new instance of RddPartitionInfo.
6468 6469 6470 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6468 def initialize(**args) update!(**args) end |
Instance Attribute Details
#block_name ⇒ String
Corresponds to the JSON property blockName
6446 6447 6448 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6446 def block_name @block_name end |
#disk_used ⇒ Fixnum
Corresponds to the JSON property diskUsed
6451 6452 6453 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6451 def disk_used @disk_used end |
#executors ⇒ Array<String>
Corresponds to the JSON property executors
6456 6457 6458 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6456 def executors @executors end |
#memory_used ⇒ Fixnum
Corresponds to the JSON property memoryUsed
6461 6462 6463 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6461 def memory_used @memory_used end |
#storage_level ⇒ String
Corresponds to the JSON property storageLevel
6466 6467 6468 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6466 def storage_level @storage_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6473 6474 6475 6476 6477 6478 6479 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6473 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 |