Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Job.
A job represents an instance of a task.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the job ended.
#execution_spec
def execution_spec() -> ::Google::Cloud::Dataplex::V1::Task::ExecutionSpec
Returns
- (::Google::Cloud::Dataplex::V1::Task::ExecutionSpec) — Output only. Spec related to how a task is executed.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Output only. User-defined labels for the task.
#message
def message() -> ::String
Returns
- (::String) — Output only. Additional information about the current state.
#name
def name() -> ::String
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}
.
#retry_count
def retry_count() -> ::Integer
Returns
- (::Integer) — Output only. The number of times the job has been retried (excluding the initial attempt).
#service
def service() -> ::Google::Cloud::Dataplex::V1::Job::Service
Returns
- (::Google::Cloud::Dataplex::V1::Job::Service) — Output only. The underlying service running a job.
#service_job
def service_job() -> ::String
Returns
- (::String) — Output only. The full resource name for the job run under a particular service.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the job was started.
#state
def state() -> ::Google::Cloud::Dataplex::V1::Job::State
Returns
- (::Google::Cloud::Dataplex::V1::Job::State) — Output only. Execution state for the job.
#trigger
def trigger() -> ::Google::Cloud::Dataplex::V1::Job::Trigger
Returns
- (::Google::Cloud::Dataplex::V1::Job::Trigger) — Output only. Job execution trigger.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. System generated globally unique ID for the job.