Class: Google::Apis::DataprocV1::RddStorageInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::RddStorageInfo
- 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
Overall data about RDD storage.
Instance Attribute Summary collapse
-
#data_distribution ⇒ Array<Google::Apis::DataprocV1::RddDataDistribution>
Corresponds to the JSON property
dataDistribution. -
#disk_used ⇒ Fixnum
Corresponds to the JSON property
diskUsed. -
#memory_used ⇒ Fixnum
Corresponds to the JSON property
memoryUsed. -
#name ⇒ String
Corresponds to the JSON property
name. -
#num_cached_partitions ⇒ Fixnum
Corresponds to the JSON property
numCachedPartitions. -
#num_partitions ⇒ Fixnum
Corresponds to the JSON property
numPartitions. -
#partitions ⇒ Array<Google::Apis::DataprocV1::RddPartitionInfo>
Corresponds to the JSON property
partitions. -
#rdd_storage_id ⇒ Fixnum
Corresponds to the JSON property
rddStorageId. -
#storage_level ⇒ String
Corresponds to the JSON property
storageLevel.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RddStorageInfo
constructor
A new instance of RddStorageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RddStorageInfo
Returns a new instance of RddStorageInfo.
6958 6959 6960 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6958 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_distribution ⇒ Array<Google::Apis::DataprocV1::RddDataDistribution>
Corresponds to the JSON property dataDistribution
6916 6917 6918 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6916 def data_distribution @data_distribution end |
#disk_used ⇒ Fixnum
Corresponds to the JSON property diskUsed
6921 6922 6923 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6921 def disk_used @disk_used end |
#memory_used ⇒ Fixnum
Corresponds to the JSON property memoryUsed
6926 6927 6928 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6926 def memory_used @memory_used end |
#name ⇒ String
Corresponds to the JSON property name
6931 6932 6933 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6931 def name @name end |
#num_cached_partitions ⇒ Fixnum
Corresponds to the JSON property numCachedPartitions
6936 6937 6938 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6936 def num_cached_partitions @num_cached_partitions end |
#num_partitions ⇒ Fixnum
Corresponds to the JSON property numPartitions
6941 6942 6943 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6941 def num_partitions @num_partitions end |
#partitions ⇒ Array<Google::Apis::DataprocV1::RddPartitionInfo>
Corresponds to the JSON property partitions
6946 6947 6948 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6946 def partitions @partitions end |
#rdd_storage_id ⇒ Fixnum
Corresponds to the JSON property rddStorageId
6951 6952 6953 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6951 def rdd_storage_id @rdd_storage_id end |
#storage_level ⇒ String
Corresponds to the JSON property storageLevel
6956 6957 6958 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6956 def storage_level @storage_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6963 def update!(**args) @data_distribution = args[:data_distribution] if args.key?(:data_distribution) @disk_used = args[:disk_used] if args.key?(:disk_used) @memory_used = args[:memory_used] if args.key?(:memory_used) @name = args[:name] if args.key?(:name) @num_cached_partitions = args[:num_cached_partitions] if args.key?(:num_cached_partitions) @num_partitions = args[:num_partitions] if args.key?(:num_partitions) @partitions = args[:partitions] if args.key?(:partitions) @rdd_storage_id = args[:rdd_storage_id] if args.key?(:rdd_storage_id) @storage_level = args[:storage_level] if args.key?(:storage_level) end |