CreateSchemaSourceFromTargetDetails¶
- class oci.data_safe.models.CreateSchemaSourceFromTargetDetails(**kwargs)¶
Bases:
CreateSchemaSourceDetailsDetails of the target database that’s used as the source of subsetting schemas
Attributes:
A constant which can be used with the schema_source property of a CreateSchemaSourceDetails.
A constant which can be used with the schema_source property of a CreateSchemaSourceDetails.
[Required] Gets the schema_source of this CreateSchemaSourceDetails.
Gets the schemas_for_subsetting of this CreateSchemaSourceFromTargetDetails.
[Required] Gets the target_id of this CreateSchemaSourceFromTargetDetails.
Methods:
__init__(**kwargs)Initializes a new CreateSchemaSourceFromTargetDetails 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.
- SCHEMA_SOURCE_SENSITIVE_DATA_MODEL = 'SENSITIVE_DATA_MODEL'¶
A constant which can be used with the schema_source property of a CreateSchemaSourceDetails. This constant has a value of “SENSITIVE_DATA_MODEL”
- SCHEMA_SOURCE_TARGET = 'TARGET'¶
A constant which can be used with the schema_source property of a CreateSchemaSourceDetails. This constant has a value of “TARGET”
- __init__(**kwargs)¶
Initializes a new CreateSchemaSourceFromTargetDetails object with values from keyword arguments. The default value of the
schema_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
schema_source (str) – The value to assign to the schema_source property of this CreateSchemaSourceFromTargetDetails. Allowed values for this property are: “TARGET”, “SENSITIVE_DATA_MODEL”
target_id (str) – The value to assign to the target_id property of this CreateSchemaSourceFromTargetDetails.
schemas_for_subsetting (list[str]) – The value to assign to the schemas_for_subsetting property of this CreateSchemaSourceFromTargetDetails.
- 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 schema_source¶
[Required] Gets the schema_source of this CreateSchemaSourceDetails. The source of subsetting schemas
Allowed values for this property are: “TARGET”, “SENSITIVE_DATA_MODEL”
- Returns
The schema_source of this CreateSchemaSourceDetails.
- Return type
str
- property schemas_for_subsetting¶
Gets the schemas_for_subsetting of this CreateSchemaSourceFromTargetDetails. The schemas to be subsetted
- Returns
The schemas_for_subsetting of this CreateSchemaSourceFromTargetDetails.
- Return type
list[str]
- property target_id¶
[Required] Gets the target_id of this CreateSchemaSourceFromTargetDetails. The OCID of the target database that’s used as the source of subsetting schemas
- Returns
The target_id of this CreateSchemaSourceFromTargetDetails.
- Return type
str