RunLogSummary¶
-
class
oci.data_flow.models.RunLogSummary(**kwargs)¶ Bases:
objectA summary of a log associated with a particular run.
Attributes
SOURCE_APPLICATIONA constant which can be used with the source property of a RunLogSummary. SOURCE_DRIVERA constant which can be used with the source property of a RunLogSummary. SOURCE_EXECUTORA constant which can be used with the source property of a RunLogSummary. TYPE_STDERRA constant which can be used with the type property of a RunLogSummary. TYPE_STDOUTA constant which can be used with the type property of a RunLogSummary. name[Required] Gets the name of this RunLogSummary. run_id[Required] Gets the run_id of this RunLogSummary. size_in_bytesGets the size_in_bytes of this RunLogSummary. source[Required] Gets the source of this RunLogSummary. time_createdGets the time_created of this RunLogSummary. type[Required] Gets the type of this RunLogSummary. Methods
__init__(**kwargs)Initializes a new RunLogSummary object with values from keyword arguments. -
SOURCE_APPLICATION= 'APPLICATION'¶ A constant which can be used with the source property of a RunLogSummary. This constant has a value of “APPLICATION”
-
SOURCE_DRIVER= 'DRIVER'¶ A constant which can be used with the source property of a RunLogSummary. This constant has a value of “DRIVER”
-
SOURCE_EXECUTOR= 'EXECUTOR'¶ A constant which can be used with the source property of a RunLogSummary. This constant has a value of “EXECUTOR”
-
TYPE_STDERR= 'STDERR'¶ A constant which can be used with the type property of a RunLogSummary. This constant has a value of “STDERR”
-
TYPE_STDOUT= 'STDOUT'¶ A constant which can be used with the type property of a RunLogSummary. This constant has a value of “STDOUT”
-
__init__(**kwargs)¶ Initializes a new RunLogSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this RunLogSummary.
- run_id (str) – The value to assign to the run_id property of this RunLogSummary.
- size_in_bytes (int) – The value to assign to the size_in_bytes property of this RunLogSummary.
- source (str) – The value to assign to the source property of this RunLogSummary. Allowed values for this property are: “APPLICATION”, “DRIVER”, “EXECUTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this RunLogSummary.
- type (str) – The value to assign to the type property of this RunLogSummary. Allowed values for this property are: “STDERR”, “STDOUT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
name¶ [Required] Gets the name of this RunLogSummary. The name of the log. Example: spark_driver_stderr_20190917T114000Z.log.gz
Returns: The name of this RunLogSummary. Return type: str
-
run_id¶ [Required] Gets the run_id of this RunLogSummary. The runId associated with the log.
Returns: The run_id of this RunLogSummary. Return type: str
-
size_in_bytes¶ Gets the size_in_bytes of this RunLogSummary. The size of the object in bytes.
Returns: The size_in_bytes of this RunLogSummary. Return type: int
-
source¶ [Required] Gets the source of this RunLogSummary. The source of the log such as driver and executor.
Allowed values for this property are: “APPLICATION”, “DRIVER”, “EXECUTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The source of this RunLogSummary. Return type: str
-
time_created¶ Gets the time_created of this RunLogSummary. The date and time the object was created, as described in RFC 2616, section 14.29.
Returns: The time_created of this RunLogSummary. Return type: datetime
-
type¶ [Required] Gets the type of this RunLogSummary. The type of log such as stdout and stderr.
Allowed values for this property are: “STDERR”, “STDOUT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this RunLogSummary. Return type: str
-