CreateColumnSourceFromTargetDetails

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

Bases: oci.data_safe.models.create_column_source_details.CreateColumnSourceDetails

Details of the target database to be associated as the column source with a masking policy.

Attributes

COLUMN_SOURCE_SENSITIVE_DATA_MODEL str(object=’’) -> str
COLUMN_SOURCE_TARGET str(object=’’) -> str
column_source [Required] Gets the column_source of this CreateColumnSourceDetails.
target_id [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'
COLUMN_SOURCE_TARGET = 'TARGET'
__init__(**kwargs)

Initializes a new CreateColumnSourceFromTargetDetails object with values from keyword arguments. The default value of the column_source attribute of this class is TARGET and 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.
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.

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