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.
355 356 357 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 355 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accumullable_info_id ⇒ Fixnum
Corresponds to the JSON property accumullableInfoId
338 339 340 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 338 def accumullable_info_id @accumullable_info_id end |
#name ⇒ String
Corresponds to the JSON property name
343 344 345 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 343 def name @name end |
#update ⇒ String
Corresponds to the JSON property update
348 349 350 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 348 def update @update end |
#value ⇒ String
Corresponds to the JSON property value
353 354 355 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 353 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
360 361 362 363 364 365 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 360 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 |