Class: Google::Apis::DataprocV1::ProcessSummary
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ProcessSummary
- 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
-
#add_time ⇒ String
Corresponds to the JSON property
addTime. -
#host_port ⇒ String
Corresponds to the JSON property
hostPort. -
#is_active ⇒ Boolean
(also: #is_active?)
Corresponds to the JSON property
isActive. -
#process_id ⇒ String
Corresponds to the JSON property
processId. -
#process_logs ⇒ Hash<String,String>
Corresponds to the JSON property
processLogs. -
#remove_time ⇒ String
Corresponds to the JSON property
removeTime. -
#total_cores ⇒ Fixnum
Corresponds to the JSON property
totalCores.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProcessSummary
constructor
A new instance of ProcessSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProcessSummary
Returns a new instance of ProcessSummary.
6294 6295 6296 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6294 def initialize(**args) update!(**args) end |
Instance Attribute Details
#add_time ⇒ String
Corresponds to the JSON property addTime
6261 6262 6263 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6261 def add_time @add_time end |
#host_port ⇒ String
Corresponds to the JSON property hostPort
6266 6267 6268 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6266 def host_port @host_port end |
#is_active ⇒ Boolean Also known as: is_active?
Corresponds to the JSON property isActive
6271 6272 6273 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6271 def is_active @is_active end |
#process_id ⇒ String
Corresponds to the JSON property processId
6277 6278 6279 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6277 def process_id @process_id end |
#process_logs ⇒ Hash<String,String>
Corresponds to the JSON property processLogs
6282 6283 6284 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6282 def process_logs @process_logs end |
#remove_time ⇒ String
Corresponds to the JSON property removeTime
6287 6288 6289 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6287 def remove_time @remove_time end |
#total_cores ⇒ Fixnum
Corresponds to the JSON property totalCores
6292 6293 6294 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6292 def total_cores @total_cores end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6299 6300 6301 6302 6303 6304 6305 6306 6307 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6299 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 |