UpdateTaskFromSQLTask

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

Bases: oci.data_integration.models.update_task_details.UpdateTaskDetails

The information about the SQL task.

Attributes

MODEL_TYPE_DATA_LOADER_TASK str(object=’’) -> str
MODEL_TYPE_INTEGRATION_TASK str(object=’’) -> str
MODEL_TYPE_OCI_DATAFLOW_TASK str(object=’’) -> str
MODEL_TYPE_PIPELINE_TASK str(object=’’) -> str
MODEL_TYPE_REST_TASK str(object=’’) -> str
MODEL_TYPE_SQL_TASK str(object=’’) -> str
SQL_SCRIPT_TYPE_SQL_CODE A constant which can be used with the sql_script_type property of a UpdateTaskFromSQLTask.
SQL_SCRIPT_TYPE_STORED_PROCEDURE A constant which can be used with the sql_script_type property of a UpdateTaskFromSQLTask.
config_provider_delegate Gets the config_provider_delegate of this UpdateTaskDetails.
description Gets the description of this UpdateTaskDetails.
identifier Gets the identifier of this UpdateTaskDetails.
input_ports Gets the input_ports of this UpdateTaskDetails.
key [Required] Gets the key of this UpdateTaskDetails.
model_type [Required] Gets the model_type of this UpdateTaskDetails.
model_version Gets the model_version of this UpdateTaskDetails.
name Gets the name of this UpdateTaskDetails.
object_status Gets the object_status of this UpdateTaskDetails.
object_version [Required] Gets the object_version of this UpdateTaskDetails.
op_config_values Gets the op_config_values of this UpdateTaskDetails.
operation Gets the operation of this UpdateTaskFromSQLTask.
output_ports Gets the output_ports of this UpdateTaskDetails.
parameters Gets the parameters of this UpdateTaskDetails.
parent_ref Gets the parent_ref of this UpdateTaskDetails.
registry_metadata Gets the registry_metadata of this UpdateTaskDetails.
script Gets the script of this UpdateTaskFromSQLTask.
sql_script_type Gets the sql_script_type of this UpdateTaskFromSQLTask.

Methods

__init__(**kwargs) Initializes a new UpdateTaskFromSQLTask object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
MODEL_TYPE_DATA_LOADER_TASK = 'DATA_LOADER_TASK'
MODEL_TYPE_INTEGRATION_TASK = 'INTEGRATION_TASK'
MODEL_TYPE_OCI_DATAFLOW_TASK = 'OCI_DATAFLOW_TASK'
MODEL_TYPE_PIPELINE_TASK = 'PIPELINE_TASK'
MODEL_TYPE_REST_TASK = 'REST_TASK'
MODEL_TYPE_SQL_TASK = 'SQL_TASK'
SQL_SCRIPT_TYPE_SQL_CODE = 'SQL_CODE'

A constant which can be used with the sql_script_type property of a UpdateTaskFromSQLTask. This constant has a value of “SQL_CODE”

SQL_SCRIPT_TYPE_STORED_PROCEDURE = 'STORED_PROCEDURE'

A constant which can be used with the sql_script_type property of a UpdateTaskFromSQLTask. This constant has a value of “STORED_PROCEDURE”

__init__(**kwargs)

Initializes a new UpdateTaskFromSQLTask object with values from keyword arguments. The default value of the model_type attribute of this class is SQL_TASK and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • model_type (str) – The value to assign to the model_type property of this UpdateTaskFromSQLTask. Allowed values for this property are: “INTEGRATION_TASK”, “DATA_LOADER_TASK”, “PIPELINE_TASK”, “SQL_TASK”, “OCI_DATAFLOW_TASK”, “REST_TASK”
  • key (str) – The value to assign to the key property of this UpdateTaskFromSQLTask.
  • model_version (str) – The value to assign to the model_version property of this UpdateTaskFromSQLTask.
  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this UpdateTaskFromSQLTask.
  • name (str) – The value to assign to the name property of this UpdateTaskFromSQLTask.
  • description (str) – The value to assign to the description property of this UpdateTaskFromSQLTask.
  • object_status (int) – The value to assign to the object_status property of this UpdateTaskFromSQLTask.
  • object_version (int) – The value to assign to the object_version property of this UpdateTaskFromSQLTask.
  • identifier (str) – The value to assign to the identifier property of this UpdateTaskFromSQLTask.
  • input_ports (list[oci.data_integration.models.InputPort]) – The value to assign to the input_ports property of this UpdateTaskFromSQLTask.
  • output_ports (list[oci.data_integration.models.OutputPort]) – The value to assign to the output_ports property of this UpdateTaskFromSQLTask.
  • parameters (list[oci.data_integration.models.Parameter]) – The value to assign to the parameters property of this UpdateTaskFromSQLTask.
  • op_config_values (oci.data_integration.models.ConfigValues) – The value to assign to the op_config_values property of this UpdateTaskFromSQLTask.
  • config_provider_delegate (oci.data_integration.models.ConfigProvider) – The value to assign to the config_provider_delegate property of this UpdateTaskFromSQLTask.
  • registry_metadata (oci.data_integration.models.RegistryMetadata) – The value to assign to the registry_metadata property of this UpdateTaskFromSQLTask.
  • script (oci.data_integration.models.Script) – The value to assign to the script property of this UpdateTaskFromSQLTask.
  • sql_script_type (str) – The value to assign to the sql_script_type property of this UpdateTaskFromSQLTask. Allowed values for this property are: “STORED_PROCEDURE”, “SQL_CODE”
  • operation (object) – The value to assign to the operation property of this UpdateTaskFromSQLTask.
config_provider_delegate

Gets the config_provider_delegate of this UpdateTaskDetails.

Returns:The config_provider_delegate of this UpdateTaskDetails.
Return type:oci.data_integration.models.ConfigProvider
description

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

Returns:The description of this UpdateTaskDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

identifier

Gets the identifier of this UpdateTaskDetails. 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 UpdateTaskDetails.
Return type:str
input_ports

Gets the input_ports of this UpdateTaskDetails. An array of input ports.

Returns:The input_ports of this UpdateTaskDetails.
Return type:list[oci.data_integration.models.InputPort]
key

[Required] Gets the key of this UpdateTaskDetails. Generated key that can be used in API calls to identify task. On scenarios where reference to the task is needed, a value can be passed in create.

Returns:The key of this UpdateTaskDetails.
Return type:str
model_type

[Required] Gets the model_type of this UpdateTaskDetails. The type of the task.

Allowed values for this property are: “INTEGRATION_TASK”, “DATA_LOADER_TASK”, “PIPELINE_TASK”, “SQL_TASK”, “OCI_DATAFLOW_TASK”, “REST_TASK”

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

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

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

Gets the name of this UpdateTaskDetails. 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 UpdateTaskDetails.
Return type:str
object_status

Gets the object_status of this UpdateTaskDetails. 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 UpdateTaskDetails.
Return type:int
object_version

[Required] Gets the object_version of this UpdateTaskDetails. The version of the object that is used to track changes in the object instance.

Returns:The object_version of this UpdateTaskDetails.
Return type:int
op_config_values

Gets the op_config_values of this UpdateTaskDetails.

Returns:The op_config_values of this UpdateTaskDetails.
Return type:oci.data_integration.models.ConfigValues
operation

Gets the operation of this UpdateTaskFromSQLTask. Describes the shape of the execution result

Returns:The operation of this UpdateTaskFromSQLTask.
Return type:object
output_ports

Gets the output_ports of this UpdateTaskDetails. An array of output ports.

Returns:The output_ports of this UpdateTaskDetails.
Return type:list[oci.data_integration.models.OutputPort]
parameters

Gets the parameters of this UpdateTaskDetails. An array of parameters.

Returns:The parameters of this UpdateTaskDetails.
Return type:list[oci.data_integration.models.Parameter]
parent_ref

Gets the parent_ref of this UpdateTaskDetails.

Returns:The parent_ref of this UpdateTaskDetails.
Return type:oci.data_integration.models.ParentReference
registry_metadata

Gets the registry_metadata of this UpdateTaskDetails.

Returns:The registry_metadata of this UpdateTaskDetails.
Return type:oci.data_integration.models.RegistryMetadata
script

Gets the script of this UpdateTaskFromSQLTask.

Returns:The script of this UpdateTaskFromSQLTask.
Return type:oci.data_integration.models.Script
sql_script_type

Gets the sql_script_type of this UpdateTaskFromSQLTask. Indicates whether the task is invoking a custom SQL script or stored procedure.

Allowed values for this property are: “STORED_PROCEDURE”, “SQL_CODE”

Returns:The sql_script_type of this UpdateTaskFromSQLTask.
Return type:str