Class: Google::Apis::DataprocV1::AccumulableInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idFixnum

Corresponds to the JSON property accumullableInfoId

Returns:

  • (Fixnum)


338
339
340
# File 'lib/google/apis/dataproc_v1/classes.rb', line 338

def accumullable_info_id
  @accumullable_info_id
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


343
344
345
# File 'lib/google/apis/dataproc_v1/classes.rb', line 343

def name
  @name
end

#updateString

Corresponds to the JSON property update

Returns:

  • (String)


348
349
350
# File 'lib/google/apis/dataproc_v1/classes.rb', line 348

def update
  @update
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


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