SubsettingRuleSummary

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

Bases: object

Provides summary information for a subsetting rule, which defines how specific tables or schemas are subsetted

Attributes

PEER_TABLES_ACTION_MAXIMUM_ROWS A constant which can be used with the peer_tables_action property of a SubsettingRuleSummary.
PEER_TABLES_ACTION_MINIMUM_ROWS A constant which can be used with the peer_tables_action property of a SubsettingRuleSummary.
PEER_TABLES_ACTION_SUBSET A constant which can be used with the peer_tables_action property of a SubsettingRuleSummary.
RELATED_TABLES_PROPAGATION_ANCESTORS A constant which can be used with the related_tables_propagation property of a SubsettingRuleSummary.
RELATED_TABLES_PROPAGATION_ANCESTORS_AND_DESCENDANTS A constant which can be used with the related_tables_propagation property of a SubsettingRuleSummary.
RELATED_TABLES_PROPAGATION_DESCENDANTS A constant which can be used with the related_tables_propagation property of a SubsettingRuleSummary.
RELATED_TABLES_PROPAGATION_NONE A constant which can be used with the related_tables_propagation property of a SubsettingRuleSummary.
RULE_COMBINATION_MODE_SERIAL A constant which can be used with the rule_combination_mode property of a SubsettingRuleSummary.
RULE_COMBINATION_MODE_UNION A constant which can be used with the rule_combination_mode property of a SubsettingRuleSummary.
description Gets the description of this SubsettingRuleSummary.
display_name Gets the display_name of this SubsettingRuleSummary.
key [Required] Gets the key of this SubsettingRuleSummary.
peer_tables_action [Required] Gets the peer_tables_action of this SubsettingRuleSummary.
related_tables_propagation [Required] Gets the related_tables_propagation of this SubsettingRuleSummary.
rule_combination_mode Gets the rule_combination_mode of this SubsettingRuleSummary.
scope [Required] Gets the scope of this SubsettingRuleSummary.
subset_rule_entry [Required] Gets the subset_rule_entry of this SubsettingRuleSummary.

Methods

__init__(**kwargs) Initializes a new SubsettingRuleSummary object with values from keyword arguments.
PEER_TABLES_ACTION_MAXIMUM_ROWS = 'MAXIMUM_ROWS'

A constant which can be used with the peer_tables_action property of a SubsettingRuleSummary. This constant has a value of “MAXIMUM_ROWS”

PEER_TABLES_ACTION_MINIMUM_ROWS = 'MINIMUM_ROWS'

A constant which can be used with the peer_tables_action property of a SubsettingRuleSummary. This constant has a value of “MINIMUM_ROWS”

PEER_TABLES_ACTION_SUBSET = 'SUBSET'

A constant which can be used with the peer_tables_action property of a SubsettingRuleSummary. This constant has a value of “SUBSET”

RELATED_TABLES_PROPAGATION_ANCESTORS = 'ANCESTORS'

A constant which can be used with the related_tables_propagation property of a SubsettingRuleSummary. This constant has a value of “ANCESTORS”

RELATED_TABLES_PROPAGATION_ANCESTORS_AND_DESCENDANTS = 'ANCESTORS_AND_DESCENDANTS'

A constant which can be used with the related_tables_propagation property of a SubsettingRuleSummary. This constant has a value of “ANCESTORS_AND_DESCENDANTS”

RELATED_TABLES_PROPAGATION_DESCENDANTS = 'DESCENDANTS'

A constant which can be used with the related_tables_propagation property of a SubsettingRuleSummary. This constant has a value of “DESCENDANTS”

RELATED_TABLES_PROPAGATION_NONE = 'NONE'

A constant which can be used with the related_tables_propagation property of a SubsettingRuleSummary. This constant has a value of “NONE”

RULE_COMBINATION_MODE_SERIAL = 'SERIAL'

A constant which can be used with the rule_combination_mode property of a SubsettingRuleSummary. This constant has a value of “SERIAL”

RULE_COMBINATION_MODE_UNION = 'UNION'

A constant which can be used with the rule_combination_mode property of a SubsettingRuleSummary. This constant has a value of “UNION”

__init__(**kwargs)

Initializes a new SubsettingRuleSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this SubsettingRuleSummary.
  • display_name (str) – The value to assign to the display_name property of this SubsettingRuleSummary.
  • description (str) – The value to assign to the description property of this SubsettingRuleSummary.
  • scope (oci.data_safe.models.SubsetScope) – The value to assign to the scope property of this SubsettingRuleSummary.
  • subset_rule_entry (oci.data_safe.models.SubsetRuleEntry) – The value to assign to the subset_rule_entry property of this SubsettingRuleSummary.
  • rule_combination_mode (str) – The value to assign to the rule_combination_mode property of this SubsettingRuleSummary. Allowed values for this property are: “UNION”, “SERIAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • related_tables_propagation (str) – The value to assign to the related_tables_propagation property of this SubsettingRuleSummary. Allowed values for this property are: “ANCESTORS_AND_DESCENDANTS”, “ANCESTORS”, “DESCENDANTS”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • peer_tables_action (str) – The value to assign to the peer_tables_action property of this SubsettingRuleSummary. Allowed values for this property are: “MINIMUM_ROWS”, “SUBSET”, “MAXIMUM_ROWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
description

Gets the description of this SubsettingRuleSummary. The description of the subsetting rule

Returns:The description of this SubsettingRuleSummary.
Return type:str
display_name

Gets the display_name of this SubsettingRuleSummary. The display name of the subsetting rule

Returns:The display_name of this SubsettingRuleSummary.
Return type:str
key

[Required] Gets the key of this SubsettingRuleSummary. The unique key that identifies a subsetting rule. The key is numeric and unique within a subsetting policy

Returns:The key of this SubsettingRuleSummary.
Return type:str
peer_tables_action

[Required] Gets the peer_tables_action of this SubsettingRuleSummary. Strategy to be applied while processing peer tables. Peer tables are the tables related to the subset table but not on the ancestor or descendant paths. MINIMUM_ROWS option will retain minimum number of rows in peer tables which are required to maintain referential integrity SUBSET option will propagate the subsetting rule to the peer tables MAXIMUM_ROWS option will retain maximum number of rows in peer tables without breaking the referential integrity

Allowed values for this property are: “MINIMUM_ROWS”, “SUBSET”, “MAXIMUM_ROWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The peer_tables_action of this SubsettingRuleSummary.
Return type:str
related_tables_propagation

[Required] Gets the related_tables_propagation of this SubsettingRuleSummary. Strategy to be applied while propagating subsetting rule to related tables

Allowed values for this property are: “ANCESTORS_AND_DESCENDANTS”, “ANCESTORS”, “DESCENDANTS”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The related_tables_propagation of this SubsettingRuleSummary.
Return type:str
rule_combination_mode

Gets the rule_combination_mode of this SubsettingRuleSummary. Specifies how this rule combines with other rules. UNION evaluates this rule independently and adds matching rows to the result set. SERIAL applies this rule sequentially to filter rows selected by a compatible preceding rule.

Allowed values for this property are: “UNION”, “SERIAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The rule_combination_mode of this SubsettingRuleSummary.
Return type:str
scope

[Required] Gets the scope of this SubsettingRuleSummary.

Returns:The scope of this SubsettingRuleSummary.
Return type:oci.data_safe.models.SubsetScope
subset_rule_entry

[Required] Gets the subset_rule_entry of this SubsettingRuleSummary.

Returns:The subset_rule_entry of this SubsettingRuleSummary.
Return type:oci.data_safe.models.SubsetRuleEntry