UpdateSubsettingPolicyDetails¶
-
class
oci.data_safe.models.UpdateSubsettingPolicyDetails(**kwargs)¶ Bases:
objectDetails to update a subsetting policy
Methods
__init__(**kwargs)Initializes a new UpdateSubsettingPolicyDetails object with values from keyword arguments. Attributes
defined_tagsGets the defined_tags of this UpdateSubsettingPolicyDetails. descriptionGets the description of this UpdateSubsettingPolicyDetails. display_nameGets the display_name of this UpdateSubsettingPolicyDetails. freeform_tagsGets the freeform_tags of this UpdateSubsettingPolicyDetails. is_redo_logging_enabledGets the is_redo_logging_enabled of this UpdateSubsettingPolicyDetails. is_refresh_stats_enabledGets the is_refresh_stats_enabled of this UpdateSubsettingPolicyDetails. masking_policy_idGets the masking_policy_id of this UpdateSubsettingPolicyDetails. parallel_degreeGets the parallel_degree of this UpdateSubsettingPolicyDetails. post_subsetting_scriptGets the post_subsetting_script of this UpdateSubsettingPolicyDetails. pre_subsetting_scriptGets the pre_subsetting_script of this UpdateSubsettingPolicyDetails. recompileGets the recompile of this UpdateSubsettingPolicyDetails. schema_sourceGets the schema_source of this UpdateSubsettingPolicyDetails. unrelated_tables_actionGets the unrelated_tables_action of this UpdateSubsettingPolicyDetails. -
__init__(**kwargs)¶ Initializes a new UpdateSubsettingPolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this UpdateSubsettingPolicyDetails.
- description (str) – The value to assign to the description property of this UpdateSubsettingPolicyDetails.
- is_redo_logging_enabled (bool) – The value to assign to the is_redo_logging_enabled property of this UpdateSubsettingPolicyDetails.
- is_refresh_stats_enabled (bool) – The value to assign to the is_refresh_stats_enabled property of this UpdateSubsettingPolicyDetails.
- parallel_degree (str) – The value to assign to the parallel_degree property of this UpdateSubsettingPolicyDetails.
- recompile (str) – The value to assign to the recompile property of this UpdateSubsettingPolicyDetails.
- unrelated_tables_action (str) – The value to assign to the unrelated_tables_action property of this UpdateSubsettingPolicyDetails.
- pre_subsetting_script (str) – The value to assign to the pre_subsetting_script property of this UpdateSubsettingPolicyDetails.
- post_subsetting_script (str) – The value to assign to the post_subsetting_script property of this UpdateSubsettingPolicyDetails.
- schema_source (oci.data_safe.models.UpdateSchemaSourceDetails) – The value to assign to the schema_source property of this UpdateSubsettingPolicyDetails.
- masking_policy_id (str) – The value to assign to the masking_policy_id property of this UpdateSubsettingPolicyDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateSubsettingPolicyDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateSubsettingPolicyDetails.
Gets the defined_tags of this UpdateSubsettingPolicyDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this UpdateSubsettingPolicyDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this UpdateSubsettingPolicyDetails. The description of the subsetting policy
Returns: The description of this UpdateSubsettingPolicyDetails. Return type: str
-
display_name¶ Gets the display_name of this UpdateSubsettingPolicyDetails. The display name of the subsetting policy. The name does not have to be unique, and it’s changeable
Returns: The display_name of this UpdateSubsettingPolicyDetails. Return type: str
Gets the freeform_tags of this UpdateSubsettingPolicyDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this UpdateSubsettingPolicyDetails. Return type: dict(str, str)
-
is_redo_logging_enabled¶ Gets the is_redo_logging_enabled of this UpdateSubsettingPolicyDetails. Indicates if redo logging is enabled during a subsetting operation. It’s disabled by default. Set this attribute to true to enable redo logging. By default, subsetting disables redo logging and flashback logging to purge any original data from logs. However, in certain circumstances when you only want to test subsetting, rollback changes, and retry subsetting, you could enable logging and use a flashback database to retrieve the original data after it has been subsetted
Returns: The is_redo_logging_enabled of this UpdateSubsettingPolicyDetails. Return type: bool
-
is_refresh_stats_enabled¶ Gets the is_refresh_stats_enabled of this UpdateSubsettingPolicyDetails. Indicates if statistics gathering is enabled. It’s enabled by default. Set this attribute to false to disable statistics gathering. The subsetting process gathers statistics on subsetted database tables after subsetting completes
Returns: The is_refresh_stats_enabled of this UpdateSubsettingPolicyDetails. Return type: bool
-
masking_policy_id¶ Gets the masking_policy_id of this UpdateSubsettingPolicyDetails. The OCID of the masking policy to associate with this subsetting policy
Returns: The masking_policy_id of this UpdateSubsettingPolicyDetails. Return type: str
-
parallel_degree¶ Gets the parallel_degree of this UpdateSubsettingPolicyDetails. Specifies options to enable parallel execution when running data subsetting. Allowed values are ‘NONE’ (no parallelism), ‘DEFAULT’ (the Oracle Database computes the optimum degree of parallelism) or an integer value to be used as the degree of parallelism. Parallel execution helps effectively use multiple CPUs and improve subsetting performance. Refer to the Oracle Database parallel execution framework when choosing an explicit degree of parallelism
Returns: The parallel_degree of this UpdateSubsettingPolicyDetails. Return type: str
-
post_subsetting_script¶ Gets the post_subsetting_script of this UpdateSubsettingPolicyDetails. A post-subsetting script, which can contain SQL and PL/SQL statements. It’s executed after the subsetting process. It’s usually used to perform additional transformation or cleanup work after subsetting data
Returns: The post_subsetting_script of this UpdateSubsettingPolicyDetails. Return type: str
-
pre_subsetting_script¶ Gets the pre_subsetting_script of this UpdateSubsettingPolicyDetails. A pre-subsetting script, which can contain SQL and PL/SQL statements. It’s executed before the subsetting process. It’s usually used to perform any preparation or prerequisite work before subsetting data
Returns: The pre_subsetting_script of this UpdateSubsettingPolicyDetails. Return type: str
-
recompile¶ Gets the recompile of this UpdateSubsettingPolicyDetails. Specifies how to recompile invalid objects post data subsetting. Allowed values are ‘SERIAL’ (recompile in serial), ‘PARALLEL’ (recompile in parallel), ‘NONE’ (do not recompile). If it’s set to PARALLEL, the value of parallelDegree attribute is used. Use the built-in UTL_RECOMP package to recompile any remaining invalid objects after subsetting completes
Returns: The recompile of this UpdateSubsettingPolicyDetails. Return type: str
-
schema_source¶ Gets the schema_source of this UpdateSubsettingPolicyDetails.
Returns: The schema_source of this UpdateSubsettingPolicyDetails. Return type: oci.data_safe.models.UpdateSchemaSourceDetails
Gets the unrelated_tables_action of this UpdateSubsettingPolicyDetails. Strategy to be applied for tables which are not impacted by any of the subsetting rules
Returns: The unrelated_tables_action of this UpdateSubsettingPolicyDetails. Return type: str
-