ObjectLineage¶
- class oci.data_catalog.models.ObjectLineage(**kwargs)¶
Bases:
objectLineage for an object.
Attributes:
A constant which can be used with the direction property of a ObjectLineage.
A constant which can be used with the direction property of a ObjectLineage.
A constant which can be used with the direction property of a ObjectLineage.
Gets the annotations of this ObjectLineage.
[Required] Gets the direction of this ObjectLineage.
[Required] Gets the level of this ObjectLineage.
Gets the objects of this ObjectLineage.
Gets the relationships of this ObjectLineage.
Methods:
__init__(**kwargs)Initializes a new ObjectLineage object with values from keyword arguments.
- DIRECTION_BOTH = 'BOTH'¶
A constant which can be used with the direction property of a ObjectLineage. This constant has a value of “BOTH”
- DIRECTION_DOWNSTREAM = 'DOWNSTREAM'¶
A constant which can be used with the direction property of a ObjectLineage. This constant has a value of “DOWNSTREAM”
- DIRECTION_UPSTREAM = 'UPSTREAM'¶
A constant which can be used with the direction property of a ObjectLineage. This constant has a value of “UPSTREAM”
- __init__(**kwargs)¶
Initializes a new ObjectLineage 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 ObjectLineage.
direction (str) – The value to assign to the direction property of this ObjectLineage. Allowed values for this property are: “UPSTREAM”, “BOTH”, “DOWNSTREAM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
objects (list[oci.data_catalog.models.LineageObject]) – The value to assign to the objects property of this ObjectLineage.
relationships (list[oci.data_catalog.models.LineageRelationship]) – The value to assign to the relationships property of this ObjectLineage.
annotations (dict(str, dict(str, str))) – The value to assign to the annotations property of this ObjectLineage.
- property annotations¶
Gets the annotations of this ObjectLineage. A map of maps that contains additional information in explanation of the lineage returned. The map keys are categories of information and the values are maps of annotation names to their corresponding values. Every annotation is contained inside a category. Example: {“annotations”: { “category”: { “key”: “value”}}}
- Returns
The annotations of this ObjectLineage.
- Return type
dict(str, dict(str, str))
- property direction¶
[Required] Gets the direction of this ObjectLineage. Direction of the lineage returned.
Allowed values for this property are: “UPSTREAM”, “BOTH”, “DOWNSTREAM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The direction of this ObjectLineage.
- Return type
str
- property level¶
[Required] Gets the level of this ObjectLineage. Object level at which the lineage is returned.
- Returns
The level of this ObjectLineage.
- Return type
int
- property objects¶
Gets the objects of this ObjectLineage. Set of objects that are involved in the lineage.
- Returns
The objects of this ObjectLineage.
- Return type
- property relationships¶
Gets the relationships of this ObjectLineage. Set of relationships between the objects in the ‘objects’ set.
- Returns
The relationships of this ObjectLineage.
- Return type