UpdateSensitiveColumnDetails

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

Bases: object

Details to update a sensitive column in a sensitive data model.

Attributes

RELATION_TYPE_APP_DEFINED A constant which can be used with the relation_type property of a UpdateSensitiveColumnDetails.
RELATION_TYPE_DB_DEFINED A constant which can be used with the relation_type property of a UpdateSensitiveColumnDetails.
RELATION_TYPE_NONE A constant which can be used with the relation_type property of a UpdateSensitiveColumnDetails.
STATUS_INVALID A constant which can be used with the status property of a UpdateSensitiveColumnDetails.
STATUS_VALID A constant which can be used with the status property of a UpdateSensitiveColumnDetails.
app_defined_child_column_keys Gets the app_defined_child_column_keys of this UpdateSensitiveColumnDetails.
data_type Gets the data_type of this UpdateSensitiveColumnDetails.
db_defined_child_column_keys Gets the db_defined_child_column_keys of this UpdateSensitiveColumnDetails.
parent_column_keys Gets the parent_column_keys of this UpdateSensitiveColumnDetails.
relation_type Gets the relation_type of this UpdateSensitiveColumnDetails.
sensitive_type_id Gets the sensitive_type_id of this UpdateSensitiveColumnDetails.
status Gets the status of this UpdateSensitiveColumnDetails.

Methods

__init__(**kwargs) Initializes a new UpdateSensitiveColumnDetails 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 UpdateSensitiveColumnDetails. 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 UpdateSensitiveColumnDetails. 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 UpdateSensitiveColumnDetails. This constant has a value of “NONE”

STATUS_INVALID = 'INVALID'

A constant which can be used with the status property of a UpdateSensitiveColumnDetails. This constant has a value of “INVALID”

STATUS_VALID = 'VALID'

A constant which can be used with the status property of a UpdateSensitiveColumnDetails. This constant has a value of “VALID”

__init__(**kwargs)

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

Parameters:
  • data_type (str) – The value to assign to the data_type property of this UpdateSensitiveColumnDetails.
  • status (str) – The value to assign to the status property of this UpdateSensitiveColumnDetails. Allowed values for this property are: “VALID”, “INVALID”
  • sensitive_type_id (str) – The value to assign to the sensitive_type_id property of this UpdateSensitiveColumnDetails.
  • parent_column_keys (list[str]) – The value to assign to the parent_column_keys property of this UpdateSensitiveColumnDetails.
  • relation_type (str) – The value to assign to the relation_type property of this UpdateSensitiveColumnDetails. Allowed values for this property are: “NONE”, “APP_DEFINED”, “DB_DEFINED”
  • app_defined_child_column_keys (list[str]) – The value to assign to the app_defined_child_column_keys property of this UpdateSensitiveColumnDetails.
  • db_defined_child_column_keys (list[str]) – The value to assign to the db_defined_child_column_keys property of this UpdateSensitiveColumnDetails.
app_defined_child_column_keys

Gets the app_defined_child_column_keys of this UpdateSensitiveColumnDetails. Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column. This attribute can be used to establish relationship between columns in a sensitive data model. Note that the child columns must be added to the sensitive data model before their keys can be specified here. If this attribute is provided, the parentColumnKeys and relationType attributes of the child columns are automatically updated to reflect the relationship.

Returns:The app_defined_child_column_keys of this UpdateSensitiveColumnDetails.
Return type:list[str]
data_type

Gets the data_type of this UpdateSensitiveColumnDetails. The data type of the sensitive column.

Returns:The data_type of this UpdateSensitiveColumnDetails.
Return type:str
db_defined_child_column_keys

Gets the db_defined_child_column_keys of this UpdateSensitiveColumnDetails. Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column. This attribute can be used to establish relationship between columns in a sensitive data model. Note that the child columns must be added to the sensitive data model before their keys can be specified here. If this attribute is provided, the parentColumnKeys and relationType attributes of the child columns are automatically updated to reflect the relationship.

Returns:The db_defined_child_column_keys of this UpdateSensitiveColumnDetails.
Return type:list[str]
parent_column_keys

Gets the parent_column_keys of this UpdateSensitiveColumnDetails. Unique keys identifying the columns that are parents of the sensitive column. At present, it accepts only one parent column key. This attribute can be used to establish relationship between columns in a sensitive data model. Note that the parent column must be added to the sensitive data model before its key can be specified here. If this attribute is provided, the appDefinedChildColumnKeys or dbDefinedChildColumnKeys attribute of the parent column is automatically updated to reflect the relationship.

Returns:The parent_column_keys of this UpdateSensitiveColumnDetails.
Return type:list[str]
relation_type

Gets the relation_type of this UpdateSensitiveColumnDetails. The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a 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”

Returns:The relation_type of this UpdateSensitiveColumnDetails.
Return type:str
sensitive_type_id

Gets the sensitive_type_id of this UpdateSensitiveColumnDetails. The OCID of the sensitive type to be associated with the sensitive column.

Returns:The sensitive_type_id of this UpdateSensitiveColumnDetails.
Return type:str
status

Gets the status of this UpdateSensitiveColumnDetails. The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental data discovery job does not identify these columns as sensitive.

Allowed values for this property are: “VALID”, “INVALID”

Returns:The status of this UpdateSensitiveColumnDetails.
Return type:str