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.



430
431
432
# File 'lib/google/apis/dataproc_v1/classes.rb', line 430

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#accumullable_info_idFixnum

Corresponds to the JSON property accumullableInfoId

Returns:

  • (Fixnum)


413
414
415
# File 'lib/google/apis/dataproc_v1/classes.rb', line 413

def accumullable_info_id
  @accumullable_info_id
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


418
419
420
# File 'lib/google/apis/dataproc_v1/classes.rb', line 418

def name
  @name
end

#updateString

Corresponds to the JSON property update

Returns:

  • (String)


423
424
425
# File 'lib/google/apis/dataproc_v1/classes.rb', line 423

def update
  @update
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


428
429
430
# File 'lib/google/apis/dataproc_v1/classes.rb', line 428

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



435
436
437
438
439
440
# File 'lib/google/apis/dataproc_v1/classes.rb', line 435

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