Server IP : 103.119.228.120 / Your IP : 18.224.73.157 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/data_safe/models/ |
Upload File : |
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class DifferenceColumn(object): """ A SDM masking policy difference column. It can be one of the following three types: NEW: A new column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified. """ #: A constant which can be used with the difference_type property of a DifferenceColumn. #: This constant has a value of "NEW" DIFFERENCE_TYPE_NEW = "NEW" #: A constant which can be used with the difference_type property of a DifferenceColumn. #: This constant has a value of "MODIFIED" DIFFERENCE_TYPE_MODIFIED = "MODIFIED" #: A constant which can be used with the difference_type property of a DifferenceColumn. #: This constant has a value of "DELETED" DIFFERENCE_TYPE_DELETED = "DELETED" #: A constant which can be used with the planned_action property of a DifferenceColumn. #: This constant has a value of "SYNC" PLANNED_ACTION_SYNC = "SYNC" #: A constant which can be used with the planned_action property of a DifferenceColumn. #: This constant has a value of "NO_SYNC" PLANNED_ACTION_NO_SYNC = "NO_SYNC" #: A constant which can be used with the sync_status property of a DifferenceColumn. #: This constant has a value of "SYNCED" SYNC_STATUS_SYNCED = "SYNCED" #: A constant which can be used with the sync_status property of a DifferenceColumn. #: This constant has a value of "NOT_SYNCED" SYNC_STATUS_NOT_SYNCED = "NOT_SYNCED" def __init__(self, **kwargs): """ Initializes a new DifferenceColumn object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this DifferenceColumn. :type key: str :param difference_type: The value to assign to the difference_type property of this DifferenceColumn. Allowed values for this property are: "NEW", "MODIFIED", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type difference_type: str :param sensitive_columnkey: The value to assign to the sensitive_columnkey property of this DifferenceColumn. :type sensitive_columnkey: str :param masking_columnkey: The value to assign to the masking_columnkey property of this DifferenceColumn. :type masking_columnkey: str :param schema_name: The value to assign to the schema_name property of this DifferenceColumn. :type schema_name: str :param object_name: The value to assign to the object_name property of this DifferenceColumn. :type object_name: str :param column_name: The value to assign to the column_name property of this DifferenceColumn. :type column_name: str :param sensitive_type_id: The value to assign to the sensitive_type_id property of this DifferenceColumn. :type sensitive_type_id: str :param planned_action: The value to assign to the planned_action property of this DifferenceColumn. Allowed values for this property are: "SYNC", "NO_SYNC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type planned_action: str :param sync_status: The value to assign to the sync_status property of this DifferenceColumn. Allowed values for this property are: "SYNCED", "NOT_SYNCED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type sync_status: str :param time_last_synced: The value to assign to the time_last_synced property of this DifferenceColumn. :type time_last_synced: datetime """ self.swagger_types = { 'key': 'str', 'difference_type': 'str', 'sensitive_columnkey': 'str', 'masking_columnkey': 'str', 'schema_name': 'str', 'object_name': 'str', 'column_name': 'str', 'sensitive_type_id': 'str', 'planned_action': 'str', 'sync_status': 'str', 'time_last_synced': 'datetime' } self.attribute_map = { 'key': 'key', 'difference_type': 'differenceType', 'sensitive_columnkey': 'sensitiveColumnkey', 'masking_columnkey': 'maskingColumnkey', 'schema_name': 'schemaName', 'object_name': 'objectName', 'column_name': 'columnName', 'sensitive_type_id': 'sensitiveTypeId', 'planned_action': 'plannedAction', 'sync_status': 'syncStatus', 'time_last_synced': 'timeLastSynced' } self._key = None self._difference_type = None self._sensitive_columnkey = None self._masking_columnkey = None self._schema_name = None self._object_name = None self._column_name = None self._sensitive_type_id = None self._planned_action = None self._sync_status = None self._time_last_synced = None @property def key(self): """ **[Required]** Gets the key of this DifferenceColumn. The unique key that identifies the SDM masking policy difference column. :return: The key of this DifferenceColumn. :rtype: str """ return self._key @key.setter def key(self, key): """ Sets the key of this DifferenceColumn. The unique key that identifies the SDM masking policy difference column. :param key: The key of this DifferenceColumn. :type: str """ self._key = key @property def difference_type(self): """ **[Required]** Gets the difference_type of this DifferenceColumn. The type of the SDM masking policy difference column. It can be one of the following three types: NEW: A new sensitive column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified. Allowed values for this property are: "NEW", "MODIFIED", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The difference_type of this DifferenceColumn. :rtype: str """ return self._difference_type @difference_type.setter def difference_type(self, difference_type): """ Sets the difference_type of this DifferenceColumn. The type of the SDM masking policy difference column. It can be one of the following three types: NEW: A new sensitive column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified. :param difference_type: The difference_type of this DifferenceColumn. :type: str """ allowed_values = ["NEW", "MODIFIED", "DELETED"] if not value_allowed_none_or_none_sentinel(difference_type, allowed_values): difference_type = 'UNKNOWN_ENUM_VALUE' self._difference_type = difference_type @property def sensitive_columnkey(self): """ Gets the sensitive_columnkey of this DifferenceColumn. The unique key that identifies the sensitive column represented by the SDM masking policy difference column. :return: The sensitive_columnkey of this DifferenceColumn. :rtype: str """ return self._sensitive_columnkey @sensitive_columnkey.setter def sensitive_columnkey(self, sensitive_columnkey): """ Sets the sensitive_columnkey of this DifferenceColumn. The unique key that identifies the sensitive column represented by the SDM masking policy difference column. :param sensitive_columnkey: The sensitive_columnkey of this DifferenceColumn. :type: str """ self._sensitive_columnkey = sensitive_columnkey @property def masking_columnkey(self): """ Gets the masking_columnkey of this DifferenceColumn. The unique key that identifies the masking column represented by the SDM masking policy difference column. :return: The masking_columnkey of this DifferenceColumn. :rtype: str """ return self._masking_columnkey @masking_columnkey.setter def masking_columnkey(self, masking_columnkey): """ Sets the masking_columnkey of this DifferenceColumn. The unique key that identifies the masking column represented by the SDM masking policy difference column. :param masking_columnkey: The masking_columnkey of this DifferenceColumn. :type: str """ self._masking_columnkey = masking_columnkey @property def schema_name(self): """ **[Required]** Gets the schema_name of this DifferenceColumn. The database schema that contains the difference column. :return: The schema_name of this DifferenceColumn. :rtype: str """ return self._schema_name @schema_name.setter def schema_name(self, schema_name): """ Sets the schema_name of this DifferenceColumn. The database schema that contains the difference column. :param schema_name: The schema_name of this DifferenceColumn. :type: str """ self._schema_name = schema_name @property def object_name(self): """ **[Required]** Gets the object_name of this DifferenceColumn. The database object that contains the difference column. :return: The object_name of this DifferenceColumn. :rtype: str """ return self._object_name @object_name.setter def object_name(self, object_name): """ Sets the object_name of this DifferenceColumn. The database object that contains the difference column. :param object_name: The object_name of this DifferenceColumn. :type: str """ self._object_name = object_name @property def column_name(self): """ **[Required]** Gets the column_name of this DifferenceColumn. The name of the difference column. :return: The column_name of this DifferenceColumn. :rtype: str """ return self._column_name @column_name.setter def column_name(self, column_name): """ Sets the column_name of this DifferenceColumn. The name of the difference column. :param column_name: The column_name of this DifferenceColumn. :type: str """ self._column_name = column_name @property def sensitive_type_id(self): """ Gets the sensitive_type_id of this DifferenceColumn. The OCID of the sensitive type associated with the difference column. :return: The sensitive_type_id of this DifferenceColumn. :rtype: str """ return self._sensitive_type_id @sensitive_type_id.setter def sensitive_type_id(self, sensitive_type_id): """ Sets the sensitive_type_id of this DifferenceColumn. The OCID of the sensitive type associated with the difference column. :param sensitive_type_id: The sensitive_type_id of this DifferenceColumn. :type: str """ self._sensitive_type_id = sensitive_type_id @property def planned_action(self): """ **[Required]** Gets the planned_action of this DifferenceColumn. Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options: SYNC: To sync the difference column and update the masking policy to reflect the changes. NO_SYNC: To not sync the difference column so that it doesn't change the masking policy. After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns. Allowed values for this property are: "SYNC", "NO_SYNC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The planned_action of this DifferenceColumn. :rtype: str """ return self._planned_action @planned_action.setter def planned_action(self, planned_action): """ Sets the planned_action of this DifferenceColumn. Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options: SYNC: To sync the difference column and update the masking policy to reflect the changes. NO_SYNC: To not sync the difference column so that it doesn't change the masking policy. After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns. :param planned_action: The planned_action of this DifferenceColumn. :type: str """ allowed_values = ["SYNC", "NO_SYNC"] if not value_allowed_none_or_none_sentinel(planned_action, allowed_values): planned_action = 'UNKNOWN_ENUM_VALUE' self._planned_action = planned_action @property def sync_status(self): """ **[Required]** Gets the sync_status of this DifferenceColumn. Indicates if the difference column has been processed. Use GetDifferenceColumn operation to track whether the difference column has already been processed and applied to the masking policy. Allowed values for this property are: "SYNCED", "NOT_SYNCED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The sync_status of this DifferenceColumn. :rtype: str """ return self._sync_status @sync_status.setter def sync_status(self, sync_status): """ Sets the sync_status of this DifferenceColumn. Indicates if the difference column has been processed. Use GetDifferenceColumn operation to track whether the difference column has already been processed and applied to the masking policy. :param sync_status: The sync_status of this DifferenceColumn. :type: str """ allowed_values = ["SYNCED", "NOT_SYNCED"] if not value_allowed_none_or_none_sentinel(sync_status, allowed_values): sync_status = 'UNKNOWN_ENUM_VALUE' self._sync_status = sync_status @property def time_last_synced(self): """ Gets the time_last_synced of this DifferenceColumn. The date and time the SDM masking policy difference column was last synced, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_last_synced of this DifferenceColumn. :rtype: datetime """ return self._time_last_synced @time_last_synced.setter def time_last_synced(self, time_last_synced): """ Sets the time_last_synced of this DifferenceColumn. The date and time the SDM masking policy difference column was last synced, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_last_synced: The time_last_synced of this DifferenceColumn. :type: datetime """ self._time_last_synced = time_last_synced def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other