TaskRunDetails

class oci.data_integration.models.TaskRunDetails(**kwargs)

Bases: object

The task run object provides information on the execution of a task.

Attributes

STATUS_ERROR A constant which can be used with the status property of a TaskRunDetails.
STATUS_NOT_STARTED A constant which can be used with the status property of a TaskRunDetails.
STATUS_QUEUED A constant which can be used with the status property of a TaskRunDetails.
STATUS_RUNNING A constant which can be used with the status property of a TaskRunDetails.
STATUS_SUCCESS A constant which can be used with the status property of a TaskRunDetails.
STATUS_TERMINATED A constant which can be used with the status property of a TaskRunDetails.
STATUS_TERMINATING A constant which can be used with the status property of a TaskRunDetails.
TASK_TYPE_DATA_LOADER_TASK A constant which can be used with the task_type property of a TaskRunDetails.
TASK_TYPE_INTEGRATION_TASK A constant which can be used with the task_type property of a TaskRunDetails.
TASK_TYPE_PIPELINE_TASK A constant which can be used with the task_type property of a TaskRunDetails.
bytes_processed Gets the bytes_processed of this TaskRunDetails.
description Gets the description of this TaskRunDetails.
end_time_millis Gets the end_time_millis of this TaskRunDetails.
identifier Gets the identifier of this TaskRunDetails.
key Gets the key of this TaskRunDetails.
last_updated Gets the last_updated of this TaskRunDetails.
metadata Gets the metadata of this TaskRunDetails.
model_type Gets the model_type of this TaskRunDetails.
model_version Gets the model_version of this TaskRunDetails.
name Gets the name of this TaskRunDetails.
object_status Gets the object_status of this TaskRunDetails.
object_version Gets the object_version of this TaskRunDetails.
parent_ref Gets the parent_ref of this TaskRunDetails.
records_written Gets the records_written of this TaskRunDetails.
start_time_millis Gets the start_time_millis of this TaskRunDetails.
status Gets the status of this TaskRunDetails.
task_type Gets the task_type of this TaskRunDetails.

Methods

__init__(**kwargs) Initializes a new TaskRunDetails object with values from keyword arguments.
STATUS_ERROR = 'ERROR'

A constant which can be used with the status property of a TaskRunDetails. This constant has a value of “ERROR”

STATUS_NOT_STARTED = 'NOT_STARTED'

A constant which can be used with the status property of a TaskRunDetails. This constant has a value of “NOT_STARTED”

STATUS_QUEUED = 'QUEUED'

A constant which can be used with the status property of a TaskRunDetails. This constant has a value of “QUEUED”

STATUS_RUNNING = 'RUNNING'

A constant which can be used with the status property of a TaskRunDetails. This constant has a value of “RUNNING”

STATUS_SUCCESS = 'SUCCESS'

A constant which can be used with the status property of a TaskRunDetails. This constant has a value of “SUCCESS”

STATUS_TERMINATED = 'TERMINATED'

A constant which can be used with the status property of a TaskRunDetails. This constant has a value of “TERMINATED”

STATUS_TERMINATING = 'TERMINATING'

A constant which can be used with the status property of a TaskRunDetails. This constant has a value of “TERMINATING”

TASK_TYPE_DATA_LOADER_TASK = 'DATA_LOADER_TASK'

A constant which can be used with the task_type property of a TaskRunDetails. This constant has a value of “DATA_LOADER_TASK”

TASK_TYPE_INTEGRATION_TASK = 'INTEGRATION_TASK'

A constant which can be used with the task_type property of a TaskRunDetails. This constant has a value of “INTEGRATION_TASK”

TASK_TYPE_PIPELINE_TASK = 'PIPELINE_TASK'

A constant which can be used with the task_type property of a TaskRunDetails. This constant has a value of “PIPELINE_TASK”

__init__(**kwargs)

Initializes a new TaskRunDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this TaskRunDetails.
  • model_type (str) – The value to assign to the model_type property of this TaskRunDetails.
  • model_version (str) – The value to assign to the model_version property of this TaskRunDetails.
  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this TaskRunDetails.
  • name (str) – The value to assign to the name property of this TaskRunDetails.
  • description (str) – The value to assign to the description property of this TaskRunDetails.
  • object_version (int) – The value to assign to the object_version property of this TaskRunDetails.
  • status (str) – The value to assign to the status property of this TaskRunDetails. Allowed values for this property are: “NOT_STARTED”, “QUEUED”, “RUNNING”, “TERMINATING”, “TERMINATED”, “SUCCESS”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • start_time_millis (int) – The value to assign to the start_time_millis property of this TaskRunDetails.
  • end_time_millis (int) – The value to assign to the end_time_millis property of this TaskRunDetails.
  • last_updated (int) – The value to assign to the last_updated property of this TaskRunDetails.
  • records_written (int) – The value to assign to the records_written property of this TaskRunDetails.
  • bytes_processed (int) – The value to assign to the bytes_processed property of this TaskRunDetails.
  • object_status (int) – The value to assign to the object_status property of this TaskRunDetails.
  • task_type (str) – The value to assign to the task_type property of this TaskRunDetails. Allowed values for this property are: “INTEGRATION_TASK”, “DATA_LOADER_TASK”, “PIPELINE_TASK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • identifier (str) – The value to assign to the identifier property of this TaskRunDetails.
  • metadata (oci.data_integration.models.ObjectMetadata) – The value to assign to the metadata property of this TaskRunDetails.
bytes_processed

Gets the bytes_processed of this TaskRunDetails. Number of bytes processed in task run.

Returns:The bytes_processed of this TaskRunDetails.
Return type:int
description

Gets the description of this TaskRunDetails. Detailed description for the object.

Returns:The description of this TaskRunDetails.
Return type:str
end_time_millis

Gets the end_time_millis of this TaskRunDetails. The task run end time.

Returns:The end_time_millis of this TaskRunDetails.
Return type:int
identifier

Gets the identifier of this TaskRunDetails. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.

Returns:The identifier of this TaskRunDetails.
Return type:str
key

Gets the key of this TaskRunDetails. The object key.

Returns:The key of this TaskRunDetails.
Return type:str
last_updated

Gets the last_updated of this TaskRunDetails. The date and time the task run was last updated.

Returns:The last_updated of this TaskRunDetails.
Return type:int
metadata

Gets the metadata of this TaskRunDetails.

Returns:The metadata of this TaskRunDetails.
Return type:oci.data_integration.models.ObjectMetadata
model_type

Gets the model_type of this TaskRunDetails. The object type.

Returns:The model_type of this TaskRunDetails.
Return type:str
model_version

Gets the model_version of this TaskRunDetails. The object’s model version.

Returns:The model_version of this TaskRunDetails.
Return type:str
name

Gets the name of this TaskRunDetails. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.

Returns:The name of this TaskRunDetails.
Return type:str
object_status

Gets the object_status of this TaskRunDetails. The status of an object that can be set to value 1 for shallow references across objects, other values reserved.

Returns:The object_status of this TaskRunDetails.
Return type:int
object_version

Gets the object_version of this TaskRunDetails. The version of the object that is used to track changes in the object instance.

Returns:The object_version of this TaskRunDetails.
Return type:int
parent_ref

Gets the parent_ref of this TaskRunDetails.

Returns:The parent_ref of this TaskRunDetails.
Return type:oci.data_integration.models.ParentReference
records_written

Gets the records_written of this TaskRunDetails. Number of records processed in task run.

Returns:The records_written of this TaskRunDetails.
Return type:int
start_time_millis

Gets the start_time_millis of this TaskRunDetails. The task run start time.

Returns:The start_time_millis of this TaskRunDetails.
Return type:int
status

Gets the status of this TaskRunDetails. status

Allowed values for this property are: “NOT_STARTED”, “QUEUED”, “RUNNING”, “TERMINATING”, “TERMINATED”, “SUCCESS”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this TaskRunDetails.
Return type:str
task_type

Gets the task_type of this TaskRunDetails. The type of the task for the run.

Allowed values for this property are: “INTEGRATION_TASK”, “DATA_LOADER_TASK”, “PIPELINE_TASK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The task_type of this TaskRunDetails.
Return type:str