JobOutput

class oci.generative_ai_data.models.JobOutput(**kwargs)

Bases: object

A JobOutput delivers content generated by the GenerateSQLJob to a given location, which corresponds with type-specific characteristics. This field is present on GenerateSqlFromNlJob only when lifecycleState is SUCCEEDED. It is omitted for all other lifecycle states.

Attributes:

JOB_OUTPUT_LOCATION_INLINE

A constant which can be used with the job_output_location property of a JobOutput.

job_output_location

[Required] Gets the job_output_location of this JobOutput.

Methods:

__init__(**kwargs)

Initializes a new JobOutput 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.

JOB_OUTPUT_LOCATION_INLINE = 'INLINE'

A constant which can be used with the job_output_location property of a JobOutput. This constant has a value of “INLINE”

__init__(**kwargs)

Initializes a new JobOutput object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

job_output_location (str) – The value to assign to the job_output_location property of this JobOutput. Allowed values for this property are: “INLINE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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.

property job_output_location

[Required] Gets the job_output_location of this JobOutput. Discriminator indicating where the job output is delivered. Currently only INLINE is supported.

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

Returns

The job_output_location of this JobOutput.

Return type

str