UpdateSensitiveTypeDetails¶
-
class
oci.data_safe.models.
UpdateSensitiveTypeDetails
(**kwargs)¶ Bases:
object
Details to update a sensitive type.
Attributes
ENTITY_TYPE_SENSITIVE_CATEGORY
A constant which can be used with the entity_type property of a UpdateSensitiveTypeDetails. ENTITY_TYPE_SENSITIVE_TYPE
A constant which can be used with the entity_type property of a UpdateSensitiveTypeDetails. defined_tags
Gets the defined_tags of this UpdateSensitiveTypeDetails. description
Gets the description of this UpdateSensitiveTypeDetails. display_name
Gets the display_name of this UpdateSensitiveTypeDetails. entity_type
[Required] Gets the entity_type of this UpdateSensitiveTypeDetails. freeform_tags
Gets the freeform_tags of this UpdateSensitiveTypeDetails. parent_category_id
Gets the parent_category_id of this UpdateSensitiveTypeDetails. short_name
Gets the short_name of this UpdateSensitiveTypeDetails. Methods
__init__
(**kwargs)Initializes a new UpdateSensitiveTypeDetails 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. -
ENTITY_TYPE_SENSITIVE_CATEGORY
= 'SENSITIVE_CATEGORY'¶ A constant which can be used with the entity_type property of a UpdateSensitiveTypeDetails. This constant has a value of “SENSITIVE_CATEGORY”
-
ENTITY_TYPE_SENSITIVE_TYPE
= 'SENSITIVE_TYPE'¶ A constant which can be used with the entity_type property of a UpdateSensitiveTypeDetails. This constant has a value of “SENSITIVE_TYPE”
-
__init__
(**kwargs)¶ Initializes a new UpdateSensitiveTypeDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - entity_type (str) – The value to assign to the entity_type property of this UpdateSensitiveTypeDetails. Allowed values for this property are: “SENSITIVE_TYPE”, “SENSITIVE_CATEGORY”
- display_name (str) – The value to assign to the display_name property of this UpdateSensitiveTypeDetails.
- short_name (str) – The value to assign to the short_name property of this UpdateSensitiveTypeDetails.
- description (str) – The value to assign to the description property of this UpdateSensitiveTypeDetails.
- parent_category_id (str) – The value to assign to the parent_category_id property of this UpdateSensitiveTypeDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateSensitiveTypeDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateSensitiveTypeDetails.
Gets the defined_tags of this UpdateSensitiveTypeDetails. 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 UpdateSensitiveTypeDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this UpdateSensitiveTypeDetails. The description of the sensitive type.
Returns: The description of this UpdateSensitiveTypeDetails. Return type: str
-
display_name
¶ Gets the display_name of this UpdateSensitiveTypeDetails. The display name of the sensitive type. The name does not have to be unique, and it’s changeable.
Returns: The display_name of this UpdateSensitiveTypeDetails. Return type: str
-
entity_type
¶ [Required] Gets the entity_type of this UpdateSensitiveTypeDetails. The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
Allowed values for this property are: “SENSITIVE_TYPE”, “SENSITIVE_CATEGORY”
Returns: The entity_type of this UpdateSensitiveTypeDetails. Return type: str
Gets the freeform_tags of this UpdateSensitiveTypeDetails. 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 UpdateSensitiveTypeDetails. Return type: dict(str, 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.
-
parent_category_id
¶ Gets the parent_category_id of this UpdateSensitiveTypeDetails. The OCID of the parent sensitive category.
Returns: The parent_category_id of this UpdateSensitiveTypeDetails. Return type: str
-
short_name
¶ Gets the short_name of this UpdateSensitiveTypeDetails. The short name of the sensitive type.
Returns: The short_name of this UpdateSensitiveTypeDetails. Return type: str
-