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