Class: Google::Cloud::Dataplex::V1::Job

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

Overview

A job represents an instance of a task.

Defined Under Namespace

Modules: Service, State, Trigger Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#end_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the job ended.

Returns:



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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_spec::Google::Cloud::Dataplex::V1::Task::ExecutionSpec (readonly)

Returns Output only. Spec related to how a task is executed.

Returns:



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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

#labels::Google::Protobuf::Map{::String => ::String} (readonly)

Returns Output only. User-defined labels for the task.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Output only. User-defined labels for the task.



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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 (readonly)

Returns Output only. Additional information about the current state.

Returns:

  • (::String)

    Output only. Additional information about the current state.



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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

#name::String (readonly)

Returns Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}.

Returns:

  • (::String)

    Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}.



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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

#retry_count::Integer (readonly)

Returns Output only. The number of times the job has been retried (excluding the initial attempt).

Returns:

  • (::Integer)

    Output only. The number of times the job has been retried (excluding the initial attempt).



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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::Job::Service (readonly)

Returns Output only. The underlying service running a job.

Returns:



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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 (readonly)

Returns Output only. The full resource name for the job run under a particular service.

Returns:

  • (::String)

    Output only. The full resource name for the job run under a particular service.



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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 (readonly)

Returns Output only. The time when the job was started.

Returns:



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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::Job::State (readonly)

Returns Output only. Execution state for the job.

Returns:



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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

#trigger::Google::Cloud::Dataplex::V1::Job::Trigger (readonly)

Returns Output only. Job execution trigger.

Returns:



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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

#uid::String (readonly)

Returns Output only. System generated globally unique ID for the job.

Returns:

  • (::String)

    Output only. System generated globally unique ID for the job.



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dataplex/v1/tasks.rb', line 375

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module Service
    # Service used to run the job is unspecified.
    SERVICE_UNSPECIFIED = 0

    # Dataproc service is used to run this job.
    DATAPROC = 1
  end

  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is running.
    RUNNING = 1

    # The job is cancelling.
    CANCELLING = 2

    # The job cancellation was successful.
    CANCELLED = 3

    # The job completed successfully.
    SUCCEEDED = 4

    # The job is no longer running due to an error.
    FAILED = 5

    # The job was cancelled outside of Dataplex.
    ABORTED = 6
  end

  # Job execution trigger.
  module Trigger
    # The trigger is unspecified.
    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