Class CreateReferentialRelationDetails
A 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.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class CreateReferentialRelationDetails
Properties
Child
Declaration
[Required(ErrorMessage = "Child is required.")]
[JsonProperty(PropertyName = "child")]
public ColumnsInfo Child { get; set; }
Property Value
Type | Description |
---|---|
ColumnsInfo |
Remarks
Required
IsSensitive
Declaration
[JsonProperty(PropertyName = "isSensitive")]
public bool? IsSensitive { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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. |
Parent
Declaration
[Required(ErrorMessage = "Parent is required.")]
[JsonProperty(PropertyName = "parent")]
public ColumnsInfo Parent { get; set; }
Property Value
Type | Description |
---|---|
ColumnsInfo |
Remarks
Required
RelationType
Declaration
[Required(ErrorMessage = "RelationType is required.")]
[JsonProperty(PropertyName = "relationType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateReferentialRelationDetails.RelationTypeEnum? RelationType { get; set; }
Property Value
Type | Description |
---|---|
CreateReferentialRelationDetails.RelationTypeEnum? | 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. |
Remarks
Required