UpdateDataMaskRuleDetails¶
- class oci.cloud_guard.models.UpdateDataMaskRuleDetails(**kwargs)¶
Bases:
objectThe information to be updated for a data mask rule.
Attributes:
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails.
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails.
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails.
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails.
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails.
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails.
A constant which can be used with the data_mask_rule_status property of a UpdateDataMaskRuleDetails.
A constant which can be used with the data_mask_rule_status property of a UpdateDataMaskRuleDetails.
Gets the compartment_id of this UpdateDataMaskRuleDetails.
Gets the data_mask_categories of this UpdateDataMaskRuleDetails.
Gets the data_mask_rule_status of this UpdateDataMaskRuleDetails.
Gets the defined_tags of this UpdateDataMaskRuleDetails.
Gets the display_name of this UpdateDataMaskRuleDetails.
Gets the freeform_tags of this UpdateDataMaskRuleDetails.
Gets the iam_group_id of this UpdateDataMaskRuleDetails.
Gets the target_selected of this UpdateDataMaskRuleDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateDataMaskRuleDetails object with values from keyword arguments.
- DATA_MASK_CATEGORIES_ACTOR = 'ACTOR'¶
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails. This constant has a value of “ACTOR”
- DATA_MASK_CATEGORIES_CUSTOM = 'CUSTOM'¶
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails. This constant has a value of “CUSTOM”
- DATA_MASK_CATEGORIES_FINANCIAL = 'FINANCIAL'¶
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails. This constant has a value of “FINANCIAL”
- DATA_MASK_CATEGORIES_LOCATION = 'LOCATION'¶
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails. This constant has a value of “LOCATION”
- DATA_MASK_CATEGORIES_PHI = 'PHI'¶
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails. This constant has a value of “PHI”
- DATA_MASK_CATEGORIES_PII = 'PII'¶
A constant which can be used with the data_mask_categories property of a UpdateDataMaskRuleDetails. This constant has a value of “PII”
- DATA_MASK_RULE_STATUS_DISABLED = 'DISABLED'¶
A constant which can be used with the data_mask_rule_status property of a UpdateDataMaskRuleDetails. This constant has a value of “DISABLED”
- DATA_MASK_RULE_STATUS_ENABLED = 'ENABLED'¶
A constant which can be used with the data_mask_rule_status property of a UpdateDataMaskRuleDetails. This constant has a value of “ENABLED”
- __init__(**kwargs)¶
Initializes a new UpdateDataMaskRuleDetails 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 UpdateDataMaskRuleDetails.
compartment_id (str) – The value to assign to the compartment_id property of this UpdateDataMaskRuleDetails.
iam_group_id (str) – The value to assign to the iam_group_id property of this UpdateDataMaskRuleDetails.
target_selected (oci.cloud_guard.models.TargetSelected) – The value to assign to the target_selected property of this UpdateDataMaskRuleDetails.
data_mask_categories (list[str]) – The value to assign to the data_mask_categories property of this UpdateDataMaskRuleDetails. Allowed values for items in this list are: “ACTOR”, “PII”, “PHI”, “FINANCIAL”, “LOCATION”, “CUSTOM”
data_mask_rule_status (str) – The value to assign to the data_mask_rule_status property of this UpdateDataMaskRuleDetails. Allowed values for this property are: “ENABLED”, “DISABLED”
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDataMaskRuleDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDataMaskRuleDetails.
- property compartment_id¶
Gets the compartment_id of this UpdateDataMaskRuleDetails. Compartment OCID where the resource is created
- Returns
The compartment_id of this UpdateDataMaskRuleDetails.
- Return type
str
- property data_mask_categories¶
Gets the data_mask_categories of this UpdateDataMaskRuleDetails. Data mask rule categories
Allowed values for items in this list are: “ACTOR”, “PII”, “PHI”, “FINANCIAL”, “LOCATION”, “CUSTOM”
- Returns
The data_mask_categories of this UpdateDataMaskRuleDetails.
- Return type
list[str]
- property data_mask_rule_status¶
Gets the data_mask_rule_status of this UpdateDataMaskRuleDetails. The status of the data mask rule
Allowed values for this property are: “ENABLED”, “DISABLED”
- Returns
The data_mask_rule_status of this UpdateDataMaskRuleDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this UpdateDataMaskRuleDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this UpdateDataMaskRuleDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateDataMaskRuleDetails. Data mask rule display name
Avoid entering confidential information.
- Returns
The display_name of this UpdateDataMaskRuleDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateDataMaskRuleDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Avoid entering confidential information.
- Returns
The freeform_tags of this UpdateDataMaskRuleDetails.
- Return type
dict(str, str)
- property iam_group_id¶
Gets the iam_group_id of this UpdateDataMaskRuleDetails. IAM group ID associated with the data mask rule
- Returns
The iam_group_id of this UpdateDataMaskRuleDetails.
- Return type
str
- property target_selected¶
Gets the target_selected of this UpdateDataMaskRuleDetails.
- Returns
The target_selected of this UpdateDataMaskRuleDetails.
- Return type