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.



354
355
356
# File 'lib/google/apis/dataproc_v1/classes.rb', line 354

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

Instance Attribute Details

#accumullable_info_idFixnum

Corresponds to the JSON property accumullableInfoId

Returns:

  • (Fixnum)


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

def accumullable_info_id
  @accumullable_info_id
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#updateString

Corresponds to the JSON property update

Returns:

  • (String)


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

def update
  @update
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


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