CreateColumnSourceFromTargetDetails¶
- class oci.data_safe.models.CreateColumnSourceFromTargetDetails(**kwargs)¶
Bases:
CreateColumnSourceDetailsDetails of the target database to be associated as the column source with a masking policy.
Attributes:
A constant which can be used with the column_source property of a CreateColumnSourceDetails.
A constant which can be used with the column_source property of a CreateColumnSourceDetails.
[Required] Gets the column_source of this CreateColumnSourceDetails.
[Required] Gets the target_id of this CreateColumnSourceFromTargetDetails.
Methods:
__init__(**kwargs)Initializes a new CreateColumnSourceFromTargetDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- COLUMN_SOURCE_SENSITIVE_DATA_MODEL = 'SENSITIVE_DATA_MODEL'¶
A constant which can be used with the column_source property of a CreateColumnSourceDetails. This constant has a value of “SENSITIVE_DATA_MODEL”
- COLUMN_SOURCE_TARGET = 'TARGET'¶
A constant which can be used with the column_source property of a CreateColumnSourceDetails. This constant has a value of “TARGET”
- __init__(**kwargs)¶
Initializes a new CreateColumnSourceFromTargetDetails object with values from keyword arguments. The default value of the
column_sourceattribute of this class isTARGETand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
column_source (str) – The value to assign to the column_source property of this CreateColumnSourceFromTargetDetails. Allowed values for this property are: “TARGET”, “SENSITIVE_DATA_MODEL”
target_id (str) – The value to assign to the target_id property of this CreateColumnSourceFromTargetDetails.
- property column_source¶
[Required] Gets the column_source of this CreateColumnSourceDetails. The source of masking columns.
Allowed values for this property are: “TARGET”, “SENSITIVE_DATA_MODEL”
- Returns
The column_source of this CreateColumnSourceDetails.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property target_id¶
[Required] Gets the target_id of this CreateColumnSourceFromTargetDetails. The OCID of the target database to be associated as the column source with the masking policy.
- Returns
The target_id of this CreateColumnSourceFromTargetDetails.
- Return type
str