Class: Google::Cloud::Dataplex::V1::JobEvent

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataplex/v1/logs.rb

Overview

The payload associated with Job logs that contains events describing jobs that have run within a Lake.

Defined Under Namespace

Modules: ExecutionTrigger, Service, State, Type

Instance Attribute Summary collapse

Instance Attribute Details

#end_time::Google::Protobuf::Timestamp

Returns The time when the job ended running.

Returns:



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 244

class JobEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the job.
  module Type
    # Unspecified job type.
    TYPE_UNSPECIFIED = 0

    # Spark jobs.
    SPARK = 1

    # Notebook jobs.
    NOTEBOOK = 2
  end

  # The completion status of the job.
  module State
    # Unspecified job state.
    STATE_UNSPECIFIED = 0

    # Job successfully completed.
    SUCCEEDED = 1

    # Job was unsuccessful.
    FAILED = 2

    # Job was cancelled by the user.
    CANCELLED = 3

    # Job was cancelled or aborted via the service executing the job.
    ABORTED = 4
  end

  # The service used to execute the job.
  module Service
    # Unspecified service.
    SERVICE_UNSPECIFIED = 0

    # Cloud Dataproc.
    DATAPROC = 1
  end

  # Job Execution trigger.
  module ExecutionTrigger
    # The job execution trigger is unspecified.
    EXECUTION_TRIGGER_UNSPECIFIED = 0

    # The job was triggered by Dataplex based on trigger spec from task
    # definition.
    TASK_CONFIG = 1

    # The job was triggered by the explicit call of Task API.
    RUN_REQUEST = 2
  end
end

#execution_trigger::Google::Cloud::Dataplex::V1::JobEvent::ExecutionTrigger

Returns Job execution trigger.

Returns:



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 244

class JobEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the job.
  module Type
    # Unspecified job type.
    TYPE_UNSPECIFIED = 0

    # Spark jobs.
    SPARK = 1

    # Notebook jobs.
    NOTEBOOK = 2
  end

  # The completion status of the job.
  module State
    # Unspecified job state.
    STATE_UNSPECIFIED = 0

    # Job successfully completed.
    SUCCEEDED = 1

    # Job was unsuccessful.
    FAILED = 2

    # Job was cancelled by the user.
    CANCELLED = 3

    # Job was cancelled or aborted via the service executing the job.
    ABORTED = 4
  end

  # The service used to execute the job.
  module Service
    # Unspecified service.
    SERVICE_UNSPECIFIED = 0

    # Cloud Dataproc.
    DATAPROC = 1
  end

  # Job Execution trigger.
  module ExecutionTrigger
    # The job execution trigger is unspecified.
    EXECUTION_TRIGGER_UNSPECIFIED = 0

    # The job was triggered by Dataplex based on trigger spec from task
    # definition.
    TASK_CONFIG = 1

    # The job was triggered by the explicit call of Task API.
    RUN_REQUEST = 2
  end
end

#job_id::String

Returns The unique id identifying the job.

Returns:

  • (::String)

    The unique id identifying the job.



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 244

class JobEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the job.
  module Type
    # Unspecified job type.
    TYPE_UNSPECIFIED = 0

    # Spark jobs.
    SPARK = 1

    # Notebook jobs.
    NOTEBOOK = 2
  end

  # The completion status of the job.
  module State
    # Unspecified job state.
    STATE_UNSPECIFIED = 0

    # Job successfully completed.
    SUCCEEDED = 1

    # Job was unsuccessful.
    FAILED = 2

    # Job was cancelled by the user.
    CANCELLED = 3

    # Job was cancelled or aborted via the service executing the job.
    ABORTED = 4
  end

  # The service used to execute the job.
  module Service
    # Unspecified service.
    SERVICE_UNSPECIFIED = 0

    # Cloud Dataproc.
    DATAPROC = 1
  end

  # Job Execution trigger.
  module ExecutionTrigger
    # The job execution trigger is unspecified.
    EXECUTION_TRIGGER_UNSPECIFIED = 0

    # The job was triggered by Dataplex based on trigger spec from task
    # definition.
    TASK_CONFIG = 1

    # The job was triggered by the explicit call of Task API.
    RUN_REQUEST = 2
  end
end

#message::String

Returns The log message.

Returns:

  • (::String)

    The log message.



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 244

class JobEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the job.
  module Type
    # Unspecified job type.
    TYPE_UNSPECIFIED = 0

    # Spark jobs.
    SPARK = 1

    # Notebook jobs.
    NOTEBOOK = 2
  end

  # The completion status of the job.
  module State
    # Unspecified job state.
    STATE_UNSPECIFIED = 0

    # Job successfully completed.
    SUCCEEDED = 1

    # Job was unsuccessful.
    FAILED = 2

    # Job was cancelled by the user.
    CANCELLED = 3

    # Job was cancelled or aborted via the service executing the job.
    ABORTED = 4
  end

  # The service used to execute the job.
  module Service
    # Unspecified service.
    SERVICE_UNSPECIFIED = 0

    # Cloud Dataproc.
    DATAPROC = 1
  end

  # Job Execution trigger.
  module ExecutionTrigger
    # The job execution trigger is unspecified.
    EXECUTION_TRIGGER_UNSPECIFIED = 0

    # The job was triggered by Dataplex based on trigger spec from task
    # definition.
    TASK_CONFIG = 1

    # The job was triggered by the explicit call of Task API.
    RUN_REQUEST = 2
  end
end

#retries::Integer

Returns The number of retries.

Returns:

  • (::Integer)

    The number of retries.



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 244

class JobEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the job.
  module Type
    # Unspecified job type.
    TYPE_UNSPECIFIED = 0

    # Spark jobs.
    SPARK = 1

    # Notebook jobs.
    NOTEBOOK = 2
  end

  # The completion status of the job.
  module State
    # Unspecified job state.
    STATE_UNSPECIFIED = 0

    # Job successfully completed.
    SUCCEEDED = 1

    # Job was unsuccessful.
    FAILED = 2

    # Job was cancelled by the user.
    CANCELLED = 3

    # Job was cancelled or aborted via the service executing the job.
    ABORTED = 4
  end

  # The service used to execute the job.
  module Service
    # Unspecified service.
    SERVICE_UNSPECIFIED = 0

    # Cloud Dataproc.
    DATAPROC = 1
  end

  # Job Execution trigger.
  module ExecutionTrigger
    # The job execution trigger is unspecified.
    EXECUTION_TRIGGER_UNSPECIFIED = 0

    # The job was triggered by Dataplex based on trigger spec from task
    # definition.
    TASK_CONFIG = 1

    # The job was triggered by the explicit call of Task API.
    RUN_REQUEST = 2
  end
end

#service::Google::Cloud::Dataplex::V1::JobEvent::Service

Returns The service used to execute the job.

Returns:



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 244

class JobEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the job.
  module Type
    # Unspecified job type.
    TYPE_UNSPECIFIED = 0

    # Spark jobs.
    SPARK = 1

    # Notebook jobs.
    NOTEBOOK = 2
  end

  # The completion status of the job.
  module State
    # Unspecified job state.
    STATE_UNSPECIFIED = 0

    # Job successfully completed.
    SUCCEEDED = 1

    # Job was unsuccessful.
    FAILED = 2

    # Job was cancelled by the user.
    CANCELLED = 3

    # Job was cancelled or aborted via the service executing the job.
    ABORTED = 4
  end

  # The service used to execute the job.
  module Service
    # Unspecified service.
    SERVICE_UNSPECIFIED = 0

    # Cloud Dataproc.
    DATAPROC = 1
  end

  # Job Execution trigger.
  module ExecutionTrigger
    # The job execution trigger is unspecified.
    EXECUTION_TRIGGER_UNSPECIFIED = 0

    # The job was triggered by Dataplex based on trigger spec from task
    # definition.
    TASK_CONFIG = 1

    # The job was triggered by the explicit call of Task API.
    RUN_REQUEST = 2
  end
end

#service_job::String

Returns The reference to the job within the service.

Returns:

  • (::String)

    The reference to the job within the service.



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 244

class JobEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the job.
  module Type
    # Unspecified job type.
    TYPE_UNSPECIFIED = 0

    # Spark jobs.
    SPARK = 1

    # Notebook jobs.
    NOTEBOOK = 2
  end

  # The completion status of the job.
  module State
    # Unspecified job state.
    STATE_UNSPECIFIED = 0

    # Job successfully completed.
    SUCCEEDED = 1

    # Job was unsuccessful.
    FAILED = 2

    # Job was cancelled by the user.
    CANCELLED = 3

    # Job was cancelled or aborted via the service executing the job.
    ABORTED = 4
  end

  # The service used to execute the job.
  module Service
    # Unspecified service.
    SERVICE_UNSPECIFIED = 0

    # Cloud Dataproc.
    DATAPROC = 1
  end

  # Job Execution trigger.
  module ExecutionTrigger
    # The job execution trigger is unspecified.
    EXECUTION_TRIGGER_UNSPECIFIED = 0

    # The job was triggered by Dataplex based on trigger spec from task
    # definition.
    TASK_CONFIG = 1

    # The job was triggered by the explicit call of Task API.
    RUN_REQUEST = 2
  end
end

#start_time::Google::Protobuf::Timestamp

Returns The time when the job started running.

Returns:



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 244

class JobEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the job.
  module Type
    # Unspecified job type.
    TYPE_UNSPECIFIED = 0

    # Spark jobs.
    SPARK = 1

    # Notebook jobs.
    NOTEBOOK = 2
  end

  # The completion status of the job.
  module State
    # Unspecified job state.
    STATE_UNSPECIFIED = 0

    # Job successfully completed.
    SUCCEEDED = 1

    # Job was unsuccessful.
    FAILED = 2

    # Job was cancelled by the user.
    CANCELLED = 3

    # Job was cancelled or aborted via the service executing the job.
    ABORTED = 4
  end

  # The service used to execute the job.
  module Service
    # Unspecified service.
    SERVICE_UNSPECIFIED = 0

    # Cloud Dataproc.
    DATAPROC = 1
  end

  # Job Execution trigger.
  module ExecutionTrigger
    # The job execution trigger is unspecified.
    EXECUTION_TRIGGER_UNSPECIFIED = 0

    # The job was triggered by Dataplex based on trigger spec from task
    # definition.
    TASK_CONFIG = 1

    # The job was triggered by the explicit call of Task API.
    RUN_REQUEST = 2
  end
end

#state::Google::Cloud::Dataplex::V1::JobEvent::State

Returns The job state on completion.

Returns:



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 244

class JobEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the job.
  module Type
    # Unspecified job type.
    TYPE_UNSPECIFIED = 0

    # Spark jobs.
    SPARK = 1

    # Notebook jobs.
    NOTEBOOK = 2
  end

  # The completion status of the job.
  module State
    # Unspecified job state.
    STATE_UNSPECIFIED = 0

    # Job successfully completed.
    SUCCEEDED = 1

    # Job was unsuccessful.
    FAILED = 2

    # Job was cancelled by the user.
    CANCELLED = 3

    # Job was cancelled or aborted via the service executing the job.
    ABORTED = 4
  end

  # The service used to execute the job.
  module Service
    # Unspecified service.
    SERVICE_UNSPECIFIED = 0

    # Cloud Dataproc.
    DATAPROC = 1
  end

  # Job Execution trigger.
  module ExecutionTrigger
    # The job execution trigger is unspecified.
    EXECUTION_TRIGGER_UNSPECIFIED = 0

    # The job was triggered by Dataplex based on trigger spec from task
    # definition.
    TASK_CONFIG = 1

    # The job was triggered by the explicit call of Task API.
    RUN_REQUEST = 2
  end
end

#type::Google::Cloud::Dataplex::V1::JobEvent::Type

Returns The type of the job.

Returns:



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 244

class JobEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the job.
  module Type
    # Unspecified job type.
    TYPE_UNSPECIFIED = 0

    # Spark jobs.
    SPARK = 1

    # Notebook jobs.
    NOTEBOOK = 2
  end

  # The completion status of the job.
  module State
    # Unspecified job state.
    STATE_UNSPECIFIED = 0

    # Job successfully completed.
    SUCCEEDED = 1

    # Job was unsuccessful.
    FAILED = 2

    # Job was cancelled by the user.
    CANCELLED = 3

    # Job was cancelled or aborted via the service executing the job.
    ABORTED = 4
  end

  # The service used to execute the job.
  module Service
    # Unspecified service.
    SERVICE_UNSPECIFIED = 0

    # Cloud Dataproc.
    DATAPROC = 1
  end

  # Job Execution trigger.
  module ExecutionTrigger
    # The job execution trigger is unspecified.
    EXECUTION_TRIGGER_UNSPECIFIED = 0

    # The job was triggered by Dataplex based on trigger spec from task
    # definition.
    TASK_CONFIG = 1

    # The job was triggered by the explicit call of Task API.
    RUN_REQUEST = 2
  end
end