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:



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 196

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:



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 196

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.



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 196

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.



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 196

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.



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 196

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:



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 196

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.



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 196

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:



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 196

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:



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 196

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:



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 196

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