ObjectLineageRequestDetails

class oci.data_catalog.models.ObjectLineageRequestDetails(**kwargs)

Bases: object

Details needed by a lineage fetch request.

Attributes

DIRECTION_BOTH A constant which can be used with the direction property of a ObjectLineageRequestDetails.
DIRECTION_DOWNSTREAM A constant which can be used with the direction property of a ObjectLineageRequestDetails.
DIRECTION_UPSTREAM A constant which can be used with the direction property of a ObjectLineageRequestDetails.
direction Gets the direction of this ObjectLineageRequestDetails.
intra_lineage_object_key Gets the intra_lineage_object_key of this ObjectLineageRequestDetails.
is_intra_lineage Gets the is_intra_lineage of this ObjectLineageRequestDetails.
level Gets the level of this ObjectLineageRequestDetails.

Methods

__init__(**kwargs) Initializes a new ObjectLineageRequestDetails object with values from keyword arguments.
DIRECTION_BOTH = 'BOTH'

A constant which can be used with the direction property of a ObjectLineageRequestDetails. This constant has a value of “BOTH”

DIRECTION_DOWNSTREAM = 'DOWNSTREAM'

A constant which can be used with the direction property of a ObjectLineageRequestDetails. This constant has a value of “DOWNSTREAM”

DIRECTION_UPSTREAM = 'UPSTREAM'

A constant which can be used with the direction property of a ObjectLineageRequestDetails. This constant has a value of “UPSTREAM”

__init__(**kwargs)

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

Parameters:
  • level (int) – The value to assign to the level property of this ObjectLineageRequestDetails.
  • direction (str) – The value to assign to the direction property of this ObjectLineageRequestDetails. Allowed values for this property are: “UPSTREAM”, “BOTH”, “DOWNSTREAM”
  • is_intra_lineage (bool) – The value to assign to the is_intra_lineage property of this ObjectLineageRequestDetails.
  • intra_lineage_object_key (str) – The value to assign to the intra_lineage_object_key property of this ObjectLineageRequestDetails.
direction

Gets the direction of this ObjectLineageRequestDetails. Direction of the lineage returned.

Allowed values for this property are: “UPSTREAM”, “BOTH”, “DOWNSTREAM”

Returns:The direction of this ObjectLineageRequestDetails.
Return type:str
intra_lineage_object_key

Gets the intra_lineage_object_key of this ObjectLineageRequestDetails. Unique object key for which intra-lineage needs to be fetched. Only drill-down lineage corresponding to the object whose object key is passed is returned.

Returns:The intra_lineage_object_key of this ObjectLineageRequestDetails.
Return type:str
is_intra_lineage

Gets the is_intra_lineage of this ObjectLineageRequestDetails. Intra-lineages are drill down lineages. This field indicates whether all intra-lineages need to be expanded inline in the lineage returned.

Returns:The is_intra_lineage of this ObjectLineageRequestDetails.
Return type:bool
level

Gets the level of this ObjectLineageRequestDetails. Object level at which the lineage is returned.

Returns:The level of this ObjectLineageRequestDetails.
Return type:int