RunLogSummary

class oci.data_flow.models.RunLogSummary(**kwargs)

Bases: object

A summary of a log associated with a particular run.

Attributes:

SOURCE_APPLICATION

A constant which can be used with the source property of a RunLogSummary.

SOURCE_DRIVER

A constant which can be used with the source property of a RunLogSummary.

SOURCE_EXECUTOR

A constant which can be used with the source property of a RunLogSummary.

TYPE_STDERR

A constant which can be used with the type property of a RunLogSummary.

TYPE_STDOUT

A 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_bytes

Gets the size_in_bytes of this RunLogSummary.

source

[Required] Gets the source of this RunLogSummary.

time_created

Gets 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’.

property 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

property 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

property 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

property 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

property 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

property 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