MaskingPolicyReferentialRelationSummary

class oci.data_safe.models.MaskingPolicyReferentialRelationSummary(**kwargs)

Bases: object

A referential relation is a resource corresponding to database columns. It is always associated with a masking policy.

Attributes:

RELATION_TYPE_APP_DEFINED

A constant which can be used with the relation_type property of a MaskingPolicyReferentialRelationSummary.

RELATION_TYPE_DB_DEFINED

A constant which can be used with the relation_type property of a MaskingPolicyReferentialRelationSummary.

RELATION_TYPE_NONE

A constant which can be used with the relation_type property of a MaskingPolicyReferentialRelationSummary.

child

[Required] Gets the child of this MaskingPolicyReferentialRelationSummary.

masking_format

Gets the masking_format of this MaskingPolicyReferentialRelationSummary.

masking_policy_id

[Required] Gets the masking_policy_id of this MaskingPolicyReferentialRelationSummary.

parent

[Required] Gets the parent of this MaskingPolicyReferentialRelationSummary.

relation_type

[Required] Gets the relation_type of this MaskingPolicyReferentialRelationSummary.

Methods:

__init__(**kwargs)

Initializes a new MaskingPolicyReferentialRelationSummary 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 MaskingPolicyReferentialRelationSummary. 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 MaskingPolicyReferentialRelationSummary. This constant has a value of “DB_DEFINED”

RELATION_TYPE_NONE = 'NONE'

A constant which can be used with the relation_type property of a MaskingPolicyReferentialRelationSummary. This constant has a value of “NONE”

__init__(**kwargs)

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

Parameters
  • masking_policy_id (str) – The value to assign to the masking_policy_id property of this MaskingPolicyReferentialRelationSummary.

  • relation_type (str) – The value to assign to the relation_type property of this MaskingPolicyReferentialRelationSummary. Allowed values for this property are: “NONE”, “APP_DEFINED”, “DB_DEFINED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • parent (oci.data_safe.models.MaskingPolicyColumnsInfo) – The value to assign to the parent property of this MaskingPolicyReferentialRelationSummary.

  • child (oci.data_safe.models.MaskingPolicyColumnsInfo) – The value to assign to the child property of this MaskingPolicyReferentialRelationSummary.

  • masking_format (list[str]) – The value to assign to the masking_format property of this MaskingPolicyReferentialRelationSummary.

property child

[Required] Gets the child of this MaskingPolicyReferentialRelationSummary.

Returns

The child of this MaskingPolicyReferentialRelationSummary.

Return type

oci.data_safe.models.MaskingPolicyColumnsInfo

property masking_format

Gets the masking_format of this MaskingPolicyReferentialRelationSummary. The masking format associated with the parent column.

Returns

The masking_format of this MaskingPolicyReferentialRelationSummary.

Return type

list[str]

property masking_policy_id

[Required] Gets the masking_policy_id of this MaskingPolicyReferentialRelationSummary. The OCID of the masking policy that contains the column.

Returns

The masking_policy_id of this MaskingPolicyReferentialRelationSummary.

Return type

str

property parent

[Required] Gets the parent of this MaskingPolicyReferentialRelationSummary.

Returns

The parent of this MaskingPolicyReferentialRelationSummary.

Return type

oci.data_safe.models.MaskingPolicyColumnsInfo

property relation_type

[Required] Gets the relation_type of this MaskingPolicyReferentialRelationSummary. The type of referential relationship the 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: “NONE”, “APP_DEFINED”, “DB_DEFINED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The relation_type of this MaskingPolicyReferentialRelationSummary.

Return type

str