SchemaSourceFromTargetDetails¶
- class oci.data_safe.models.SchemaSourceFromTargetDetails(**kwargs)¶
Bases:
SchemaSourceDetailsDetails 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 SchemaSourceDetails.
A constant which can be used with the schema_source property of a SchemaSourceDetails.
Gets the derived_schemas of this SchemaSourceDetails.
[Required] Gets the schema_source of this SchemaSourceDetails.
Gets the schemas_for_subsetting of this SchemaSourceDetails.
[Required] Gets the target_id of this SchemaSourceFromTargetDetails.
Methods:
__init__(**kwargs)Initializes a new SchemaSourceFromTargetDetails 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 SchemaSourceDetails. 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 SchemaSourceDetails. This constant has a value of “TARGET”
- __init__(**kwargs)¶
Initializes a new SchemaSourceFromTargetDetails 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 SchemaSourceFromTargetDetails. Allowed values for this property are: “TARGET”, “SENSITIVE_DATA_MODEL”
schemas_for_subsetting (list[str]) – The value to assign to the schemas_for_subsetting property of this SchemaSourceFromTargetDetails.
derived_schemas (list[str]) – The value to assign to the derived_schemas property of this SchemaSourceFromTargetDetails.
target_id (str) – The value to assign to the target_id property of this SchemaSourceFromTargetDetails.
- property derived_schemas¶
Gets the derived_schemas of this SchemaSourceDetails. The schemas which are related to the input list of schemas in ‘schemasForSubsetting’. These schemas can also be impacted from the subsetting process due to their relations with the schemas in ‘schemasForSubsetting’
- Returns
The derived_schemas of this SchemaSourceDetails.
- Return type
list[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 schema_source¶
[Required] Gets the schema_source of this SchemaSourceDetails. The source of subsetting schemas
Allowed values for this property are: “TARGET”, “SENSITIVE_DATA_MODEL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The schema_source of this SchemaSourceDetails.
- Return type
str
- property schemas_for_subsetting¶
Gets the schemas_for_subsetting of this SchemaSourceDetails. The schemas to be subsetted
- Returns
The schemas_for_subsetting of this SchemaSourceDetails.
- Return type
list[str]
- property target_id¶
[Required] Gets the target_id of this SchemaSourceFromTargetDetails. The OCID of the target database that’s used as the source of subsetting schemas
- Returns
The target_id of this SchemaSourceFromTargetDetails.
- Return type
str