Class: Google::Apis::DataprocV1::AccumulableInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::AccumulableInfo
- 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
Instance Attribute Summary collapse
-
#accumullable_info_id ⇒ Fixnum
Corresponds to the JSON property
accumullableInfoId. -
#name ⇒ String
Corresponds to the JSON property
name. -
#update ⇒ String
Corresponds to the JSON property
update. -
#value ⇒ String
Corresponds to the JSON property
value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccumulableInfo
constructor
A new instance of AccumulableInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccumulableInfo
Returns a new instance of AccumulableInfo.
354 355 356 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 354 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accumullable_info_id ⇒ Fixnum
Corresponds to the JSON property accumullableInfoId
337 338 339 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 337 def accumullable_info_id @accumullable_info_id end |
#name ⇒ String
Corresponds to the JSON property name
342 343 344 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 342 def name @name end |
#update ⇒ String
Corresponds to the JSON property update
347 348 349 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 347 def update @update end |
#value ⇒ String
Corresponds to the JSON property value
352 353 354 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 352 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
359 360 361 362 363 364 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 359 def update!(**args) @accumullable_info_id = args[:accumullable_info_id] if args.key?(:accumullable_info_id) @name = args[:name] if args.key?(:name) @update = args[:update] if args.key?(:update) @value = args[:value] if args.key?(:value) end |