Class: Google::Apis::DataprocV1::ProcessSummary

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

Overview

Process Summary

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProcessSummary

Returns a new instance of ProcessSummary.



6288
6289
6290
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6288

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

Instance Attribute Details

#add_timeString

Corresponds to the JSON property addTime

Returns:

  • (String)


6255
6256
6257
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6255

def add_time
  @add_time
end

#host_portString

Corresponds to the JSON property hostPort

Returns:

  • (String)


6260
6261
6262
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6260

def host_port
  @host_port
end

#is_activeBoolean Also known as: is_active?

Corresponds to the JSON property isActive

Returns:

  • (Boolean)


6265
6266
6267
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6265

def is_active
  @is_active
end

#process_idString

Corresponds to the JSON property processId

Returns:

  • (String)


6271
6272
6273
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6271

def process_id
  @process_id
end

#process_logsHash<String,String>

Corresponds to the JSON property processLogs

Returns:

  • (Hash<String,String>)


6276
6277
6278
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6276

def process_logs
  @process_logs
end

#remove_timeString

Corresponds to the JSON property removeTime

Returns:

  • (String)


6281
6282
6283
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6281

def remove_time
  @remove_time
end

#total_coresFixnum

Corresponds to the JSON property totalCores

Returns:

  • (Fixnum)


6286
6287
6288
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6286

def total_cores
  @total_cores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6293
6294
6295
6296
6297
6298
6299
6300
6301
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6293

def update!(**args)
  @add_time = args[:add_time] if args.key?(:add_time)
  @host_port = args[:host_port] if args.key?(:host_port)
  @is_active = args[:is_active] if args.key?(:is_active)
  @process_id = args[:process_id] if args.key?(:process_id)
  @process_logs = args[:process_logs] if args.key?(:process_logs)
  @remove_time = args[:remove_time] if args.key?(:remove_time)
  @total_cores = args[:total_cores] if args.key?(:total_cores)
end