CreateReferentialRelationDetails¶
- class oci.data_safe.models.CreateReferentialRelationDetails(**kwargs)¶
Bases:
objectA sensitive column is a resource corresponding to a database column that is considered sensitive. It’s a subresource of sensitive data model resource and is always associated with a sensitive data model. Note that referential relationships are also managed as part of sensitive columns.
Attributes:
A constant which can be used with the relation_type property of a CreateReferentialRelationDetails.
A constant which can be used with the relation_type property of a CreateReferentialRelationDetails.
[Required] Gets the child of this CreateReferentialRelationDetails.
Gets the is_sensitive of this CreateReferentialRelationDetails.
[Required] Gets the parent of this CreateReferentialRelationDetails.
[Required] Gets the relation_type of this CreateReferentialRelationDetails.
Methods:
__init__(**kwargs)Initializes a new CreateReferentialRelationDetails object with values from keyword arguments.
- RELATION_TYPE_APP_DEFINED = 'APP_DEFINED'¶
A constant which can be used with the relation_type property of a CreateReferentialRelationDetails. This constant has a value of “APP_DEFINED”
- RELATION_TYPE_DB_DEFINED = 'DB_DEFINED'¶
A constant which can be used with the relation_type property of a CreateReferentialRelationDetails. This constant has a value of “DB_DEFINED”
- __init__(**kwargs)¶
Initializes a new CreateReferentialRelationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
relation_type (str) – The value to assign to the relation_type property of this CreateReferentialRelationDetails. Allowed values for this property are: “APP_DEFINED”, “DB_DEFINED”
parent (oci.data_safe.models.ColumnsInfo) – The value to assign to the parent property of this CreateReferentialRelationDetails.
child (oci.data_safe.models.ColumnsInfo) – The value to assign to the child property of this CreateReferentialRelationDetails.
is_sensitive (bool) – The value to assign to the is_sensitive property of this CreateReferentialRelationDetails.
- property child¶
[Required] Gets the child of this CreateReferentialRelationDetails.
- Returns
The child of this CreateReferentialRelationDetails.
- Return type
- property is_sensitive¶
Gets the is_sensitive of this CreateReferentialRelationDetails. Add to sensitive data model if passed true. If false is passed, then the columns will not be added in the sensitive data model as sensitive columns and if sensitive type OCIDs are assigned to the columns, then the sensitive type OCIDs will not be retained.
- Returns
The is_sensitive of this CreateReferentialRelationDetails.
- Return type
bool
- property parent¶
[Required] Gets the parent of this CreateReferentialRelationDetails.
- Returns
The parent of this CreateReferentialRelationDetails.
- Return type
- property relation_type¶
[Required] Gets the relation_type of this CreateReferentialRelationDetails. The type of referential relationship the sensitive column has with its parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
Allowed values for this property are: “APP_DEFINED”, “DB_DEFINED”
- Returns
The relation_type of this CreateReferentialRelationDetails.
- Return type
str