Class: Google::Apis::DataprocV1::TaskData
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::TaskData
- 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
Data corresponding to tasks created by spark.
Instance Attribute Summary collapse
-
#accumulator_updates ⇒ Array<Google::Apis::DataprocV1::AccumulableInfo>
Corresponds to the JSON property
accumulatorUpdates. -
#attempt ⇒ Fixnum
Corresponds to the JSON property
attempt. -
#duration_millis ⇒ Fixnum
Corresponds to the JSON property
durationMillis. -
#error_message ⇒ String
Corresponds to the JSON property
errorMessage. -
#executor_id ⇒ String
Corresponds to the JSON property
executorId. -
#executor_logs ⇒ Hash<String,String>
Corresponds to the JSON property
executorLogs. -
#getting_result_time_millis ⇒ Fixnum
Corresponds to the JSON property
gettingResultTimeMillis. -
#has_metrics ⇒ Boolean
(also: #has_metrics?)
Corresponds to the JSON property
hasMetrics. -
#host ⇒ String
Corresponds to the JSON property
host. -
#index ⇒ Fixnum
Corresponds to the JSON property
index. -
#launch_time ⇒ String
Corresponds to the JSON property
launchTime. -
#partition_id ⇒ Fixnum
Corresponds to the JSON property
partitionId. -
#result_fetch_start ⇒ String
Corresponds to the JSON property
resultFetchStart. -
#scheduler_delay_millis ⇒ Fixnum
Corresponds to the JSON property
schedulerDelayMillis. -
#speculative ⇒ Boolean
(also: #speculative?)
Corresponds to the JSON property
speculative. -
#stage_attempt_id ⇒ Fixnum
Corresponds to the JSON property
stageAttemptId. -
#stage_id ⇒ Fixnum
Corresponds to the JSON property
stageId. -
#status ⇒ String
Corresponds to the JSON property
status. -
#task_id ⇒ Fixnum
Corresponds to the JSON property
taskId. -
#task_locality ⇒ String
Corresponds to the JSON property
taskLocality. -
#task_metrics ⇒ Google::Apis::DataprocV1::TaskMetrics
Executor Task Metrics Corresponds to the JSON property
taskMetrics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TaskData
constructor
A new instance of TaskData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TaskData
Returns a new instance of TaskData.
11273 11274 11275 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11273 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accumulator_updates ⇒ Array<Google::Apis::DataprocV1::AccumulableInfo>
Corresponds to the JSON property accumulatorUpdates
11169 11170 11171 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11169 def accumulator_updates @accumulator_updates end |
#attempt ⇒ Fixnum
Corresponds to the JSON property attempt
11174 11175 11176 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11174 def attempt @attempt end |
#duration_millis ⇒ Fixnum
Corresponds to the JSON property durationMillis
11179 11180 11181 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11179 def duration_millis @duration_millis end |
#error_message ⇒ String
Corresponds to the JSON property errorMessage
11184 11185 11186 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11184 def @error_message end |
#executor_id ⇒ String
Corresponds to the JSON property executorId
11189 11190 11191 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11189 def executor_id @executor_id end |
#executor_logs ⇒ Hash<String,String>
Corresponds to the JSON property executorLogs
11194 11195 11196 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11194 def executor_logs @executor_logs end |
#getting_result_time_millis ⇒ Fixnum
Corresponds to the JSON property gettingResultTimeMillis
11199 11200 11201 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11199 def getting_result_time_millis @getting_result_time_millis end |
#has_metrics ⇒ Boolean Also known as: has_metrics?
Corresponds to the JSON property hasMetrics
11204 11205 11206 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11204 def has_metrics @has_metrics end |
#host ⇒ String
Corresponds to the JSON property host
11210 11211 11212 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11210 def host @host end |
#index ⇒ Fixnum
Corresponds to the JSON property index
11215 11216 11217 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11215 def index @index end |
#launch_time ⇒ String
Corresponds to the JSON property launchTime
11220 11221 11222 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11220 def launch_time @launch_time end |
#partition_id ⇒ Fixnum
Corresponds to the JSON property partitionId
11225 11226 11227 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11225 def partition_id @partition_id end |
#result_fetch_start ⇒ String
Corresponds to the JSON property resultFetchStart
11230 11231 11232 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11230 def result_fetch_start @result_fetch_start end |
#scheduler_delay_millis ⇒ Fixnum
Corresponds to the JSON property schedulerDelayMillis
11235 11236 11237 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11235 def scheduler_delay_millis @scheduler_delay_millis end |
#speculative ⇒ Boolean Also known as: speculative?
Corresponds to the JSON property speculative
11240 11241 11242 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11240 def speculative @speculative end |
#stage_attempt_id ⇒ Fixnum
Corresponds to the JSON property stageAttemptId
11246 11247 11248 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11246 def stage_attempt_id @stage_attempt_id end |
#stage_id ⇒ Fixnum
Corresponds to the JSON property stageId
11251 11252 11253 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11251 def stage_id @stage_id end |
#status ⇒ String
Corresponds to the JSON property status
11256 11257 11258 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11256 def status @status end |
#task_id ⇒ Fixnum
Corresponds to the JSON property taskId
11261 11262 11263 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11261 def task_id @task_id end |
#task_locality ⇒ String
Corresponds to the JSON property taskLocality
11266 11267 11268 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11266 def task_locality @task_locality end |
#task_metrics ⇒ Google::Apis::DataprocV1::TaskMetrics
Executor Task Metrics
Corresponds to the JSON property taskMetrics
11271 11272 11273 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11271 def task_metrics @task_metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11278 def update!(**args) @accumulator_updates = args[:accumulator_updates] if args.key?(:accumulator_updates) @attempt = args[:attempt] if args.key?(:attempt) @duration_millis = args[:duration_millis] if args.key?(:duration_millis) @error_message = args[:error_message] if args.key?(:error_message) @executor_id = args[:executor_id] if args.key?(:executor_id) @executor_logs = args[:executor_logs] if args.key?(:executor_logs) @getting_result_time_millis = args[:getting_result_time_millis] if args.key?(:getting_result_time_millis) @has_metrics = args[:has_metrics] if args.key?(:has_metrics) @host = args[:host] if args.key?(:host) @index = args[:index] if args.key?(:index) @launch_time = args[:launch_time] if args.key?(:launch_time) @partition_id = args[:partition_id] if args.key?(:partition_id) @result_fetch_start = args[:result_fetch_start] if args.key?(:result_fetch_start) @scheduler_delay_millis = args[:scheduler_delay_millis] if args.key?(:scheduler_delay_millis) @speculative = args[:speculative] if args.key?(:speculative) @stage_attempt_id = args[:stage_attempt_id] if args.key?(:stage_attempt_id) @stage_id = args[:stage_id] if args.key?(:stage_id) @status = args[:status] if args.key?(:status) @task_id = args[:task_id] if args.key?(:task_id) @task_locality = args[:task_locality] if args.key?(:task_locality) @task_metrics = args[:task_metrics] if args.key?(:task_metrics) end |