📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
data_safe
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/data_safe/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: discovery_job_result.cpython-39.pyc
a ���f�x � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sh e Zd ZdZdZdZdZdZdZdZ dZ d ZdZd Z dZdZd d� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Zejd/d.� �Zed0d1� �Zejd2d1� �Zed3d4� �Zejd5d4� �Zed6d7� �Z e jd8d7� �Z ed9d:� �Z!e!jd;d:� �Z!ed<d=� �Z"e"jd>d=� �Z"ed?d@� �Z#e#jdAd@� �Z#edBdC� �Z$e$jdDdC� �Z$edEdF� �Z%e%jdGdF� �Z%edHdI� �Z&e&jdJdI� �Z&dKdL� Z'dMdN� Z(dOdP� Z)dQS )R�DiscoveryJobResulta� A discovery job result representing a sensitive column. It can be one of the following three types: NEW: A new sensitive column in the target database that is not in the sensitive data model. DELETED: A column that is present in the sensitive data model but has been deleted from the target database. MODIFIED: A column that is present in the target database as well as the sensitive data model but some of its attributes have been modified. �NEW�MODIFIED�DELETED�TABLE�EDITIONING_VIEW�NONE�APP_DEFINED� DB_DEFINED�ACCEPT� INVALIDATE�REJECTc K s� ddddddddddddddddddddd�| _ ddd d ddd dddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new DiscoveryJobResult 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 DiscoveryJobResult. :type key: str :param discovery_type: The value to assign to the discovery_type property of this DiscoveryJobResult. 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 discovery_type: str :param sensitive_columnkey: The value to assign to the sensitive_columnkey property of this DiscoveryJobResult. :type sensitive_columnkey: str :param app_name: The value to assign to the app_name property of this DiscoveryJobResult. :type app_name: str :param schema_name: The value to assign to the schema_name property of this DiscoveryJobResult. :type schema_name: str :param object_name: The value to assign to the object_name property of this DiscoveryJobResult. :type object_name: str :param column_name: The value to assign to the column_name property of this DiscoveryJobResult. :type column_name: str :param object_type: The value to assign to the object_type property of this DiscoveryJobResult. Allowed values for this property are: "TABLE", "EDITIONING_VIEW", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type object_type: str :param data_type: The value to assign to the data_type property of this DiscoveryJobResult. :type data_type: str :param sensitive_type_id: The value to assign to the sensitive_type_id property of this DiscoveryJobResult. :type sensitive_type_id: str :param parent_column_keys: The value to assign to the parent_column_keys property of this DiscoveryJobResult. :type parent_column_keys: list[str] :param relation_type: The value to assign to the relation_type property of this DiscoveryJobResult. Allowed values for this property are: "NONE", "APP_DEFINED", "DB_DEFINED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type relation_type: str :param estimated_data_value_count: The value to assign to the estimated_data_value_count property of this DiscoveryJobResult. :type estimated_data_value_count: int :param sample_data_values: The value to assign to the sample_data_values property of this DiscoveryJobResult. :type sample_data_values: list[str] :param app_defined_child_column_keys: The value to assign to the app_defined_child_column_keys property of this DiscoveryJobResult. :type app_defined_child_column_keys: list[str] :param db_defined_child_column_keys: The value to assign to the db_defined_child_column_keys property of this DiscoveryJobResult. :type db_defined_child_column_keys: list[str] :param planned_action: The value to assign to the planned_action property of this DiscoveryJobResult. Allowed values for this property are: "NONE", "ACCEPT", "INVALIDATE", "REJECT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type planned_action: str :param is_result_applied: The value to assign to the is_result_applied property of this DiscoveryJobResult. :type is_result_applied: bool :param discovery_job_id: The value to assign to the discovery_job_id property of this DiscoveryJobResult. :type discovery_job_id: str :param modified_attributes: The value to assign to the modified_attributes property of this DiscoveryJobResult. :type modified_attributes: oci.data_safe.models.ModifiedAttributes �strz list[str]�int�boolZModifiedAttributes)�key�discovery_type�sensitive_columnkey�app_name�schema_name�object_name�column_name�object_type� data_type�sensitive_type_id�parent_column_keys� relation_type�estimated_data_value_count�sample_data_values�app_defined_child_column_keys�db_defined_child_column_keys�planned_action�is_result_applied�discovery_job_id�modified_attributesr Z discoveryTypeZsensitiveColumnkeyZappNameZ schemaNameZ objectNameZ columnNameZ objectTypeZdataTypeZsensitiveTypeIdZparentColumnKeysZrelationTypeZestimatedDataValueCountZsampleDataValuesZappDefinedChildColumnKeysZdbDefinedChildColumnKeysZ plannedActionZisResultAppliedZdiscoveryJobIdZmodifiedAttributesN)Z swagger_typesZ attribute_map�_key�_discovery_type�_sensitive_columnkey� _app_name�_schema_name�_object_name�_column_name�_object_type� _data_type�_sensitive_type_id�_parent_column_keys�_relation_type�_estimated_data_value_count�_sample_data_values�_app_defined_child_column_keys�_db_defined_child_column_keys�_planned_action�_is_result_applied�_discovery_job_id�_modified_attributes)�self�kwargs� r? �M/usr/lib/python3.9/site-packages/oci/data_safe/models/discovery_job_result.py�__init__E s| _��zDiscoveryJobResult.__init__c C s | j S )z� **[Required]** Gets the key of this DiscoveryJobResult. The unique key that identifies the discovery result. :return: The key of this DiscoveryJobResult. :rtype: str �r) �r= r? r? r@ r � s zDiscoveryJobResult.keyc C s || _ dS )z� Sets the key of this DiscoveryJobResult. The unique key that identifies the discovery result. :param key: The key of this DiscoveryJobResult. :type: str NrB )r= r r? r? r@ r � s c C s | j S )a/ **[Required]** Gets the discovery_type of this DiscoveryJobResult. The type of the discovery result. It can be one of the following three types: NEW: A new sensitive column in the target database that is not in the sensitive data model. DELETED: A column that is present in the sensitive data model but has been deleted from the target database. MODIFIED: A column that is present in the target database 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 discovery_type of this DiscoveryJobResult. :rtype: str )r* rC r? r? r@ r � s z!DiscoveryJobResult.discovery_typec C s g d�}t ||�sd}|| _dS )al Sets the discovery_type of this DiscoveryJobResult. The type of the discovery result. It can be one of the following three types: NEW: A new sensitive column in the target database that is not in the sensitive data model. DELETED: A column that is present in the sensitive data model but has been deleted from the target database. MODIFIED: A column that is present in the target database as well as the sensitive data model but some of its attributes have been modified. :param discovery_type: The discovery_type of this DiscoveryJobResult. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r* )r= r �allowed_valuesr? r? r@ r s c C s | j S )a Gets the sensitive_columnkey of this DiscoveryJobResult. The unique key that identifies the sensitive column represented by the discovery result. :return: The sensitive_columnkey of this DiscoveryJobResult. :rtype: str �r+ rC r? r? r@ r " s z&DiscoveryJobResult.sensitive_columnkeyc C s || _ dS )a Sets the sensitive_columnkey of this DiscoveryJobResult. The unique key that identifies the sensitive column represented by the discovery result. :param sensitive_columnkey: The sensitive_columnkey of this DiscoveryJobResult. :type: str NrF )r= r r? r? r@ r . s c C s | j S )a^ Gets the app_name of this DiscoveryJobResult. The name of the application. An application is an entity that is identified by a schema and stores sensitive information for that schema. Its value will be same as schemaName, if no value is passed. :return: The app_name of this DiscoveryJobResult. :rtype: str �r, rC r? r? r@ r : s zDiscoveryJobResult.app_namec C s || _ dS )ae Sets the app_name of this DiscoveryJobResult. The name of the application. An application is an entity that is identified by a schema and stores sensitive information for that schema. Its value will be same as schemaName, if no value is passed. :param app_name: The app_name of this DiscoveryJobResult. :type: str NrG )r= r r? r? r@ r F s c C s | j S )z� **[Required]** Gets the schema_name of this DiscoveryJobResult. The database schema that contains the sensitive column. :return: The schema_name of this DiscoveryJobResult. :rtype: str �r- rC r? r? r@ r R s zDiscoveryJobResult.schema_namec C s || _ dS )z� Sets the schema_name of this DiscoveryJobResult. The database schema that contains the sensitive column. :param schema_name: The schema_name of this DiscoveryJobResult. :type: str NrH )r= r r? r? r@ r ^ s c C s | j S )z� **[Required]** Gets the object_name of this DiscoveryJobResult. The database object that contains the sensitive column. :return: The object_name of this DiscoveryJobResult. :rtype: str �r. rC r? r? r@ r j s zDiscoveryJobResult.object_namec C s || _ dS )z� Sets the object_name of this DiscoveryJobResult. The database object that contains the sensitive column. :param object_name: The object_name of this DiscoveryJobResult. :type: str NrI )r= r r? r? r@ r v s c C s | j S )z� **[Required]** Gets the column_name of this DiscoveryJobResult. The name of the sensitive column. :return: The column_name of this DiscoveryJobResult. :rtype: str �r/ rC r? r? r@ r � s zDiscoveryJobResult.column_namec C s || _ dS )z� Sets the column_name of this DiscoveryJobResult. The name of the sensitive column. :param column_name: The column_name of this DiscoveryJobResult. :type: str NrJ )r= r r? r? r@ r � s c C s | j S )a� **[Required]** Gets the object_type of this DiscoveryJobResult. The type of the database object that contains the sensitive column. Allowed values for this property are: "TABLE", "EDITIONING_VIEW", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The object_type of this DiscoveryJobResult. :rtype: str )r0 rC r? r? r@ r � s zDiscoveryJobResult.object_typec C s ddg}t ||�sd}|| _dS )z� Sets the object_type of this DiscoveryJobResult. The type of the database object that contains the sensitive column. :param object_type: The object_type of this DiscoveryJobResult. :type: str r r rD N)r r0 )r= r rE r? r? r@ r � s c C s | j S )z� **[Required]** Gets the data_type of this DiscoveryJobResult. The data type of the sensitive column. :return: The data_type of this DiscoveryJobResult. :rtype: str �r1 rC r? r? r@ r � s zDiscoveryJobResult.data_typec C s || _ dS )z� Sets the data_type of this DiscoveryJobResult. The data type of the sensitive column. :param data_type: The data_type of this DiscoveryJobResult. :type: str NrK )r= r r? r? r@ r � s c C s | j S )z� Gets the sensitive_type_id of this DiscoveryJobResult. The OCID of the sensitive type associated with the sensitive column. :return: The sensitive_type_id of this DiscoveryJobResult. :rtype: str �r2 rC r? r? r@ r � s z$DiscoveryJobResult.sensitive_type_idc C s || _ dS )z� Sets the sensitive_type_id of this DiscoveryJobResult. The OCID of the sensitive type associated with the sensitive column. :param sensitive_type_id: The sensitive_type_id of this DiscoveryJobResult. :type: str NrL )r= r r? r? r@ r � s c C s | j S )a+ Gets the parent_column_keys of this DiscoveryJobResult. Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only. :return: The parent_column_keys of this DiscoveryJobResult. :rtype: list[str] �r3 rC r? r? r@ r � s z%DiscoveryJobResult.parent_column_keysc C s || _ dS )a< Sets the parent_column_keys of this DiscoveryJobResult. Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only. :param parent_column_keys: The parent_column_keys of this DiscoveryJobResult. :type: list[str] NrM )r= r r? r? r@ r � s c C s | j S )a� **[Required]** Gets the relation_type of this DiscoveryJobResult. The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary. Allowed values for this property are: "NONE", "APP_DEFINED", "DB_DEFINED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The relation_type of this DiscoveryJobResult. :rtype: str )r4 rC r? r? r@ r s z DiscoveryJobResult.relation_typec C s g d�}t ||�sd}|| _dS )a Sets the relation_type of this DiscoveryJobResult. The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary. :param relation_type: The relation_type of this DiscoveryJobResult. :type: str )r r r rD N)r r4 )r= r rE r? r? r@ r s c C s | j S )a **[Required]** Gets the estimated_data_value_count of this DiscoveryJobResult. The estimated number of data values the column has in the associated database. :return: The estimated_data_value_count of this DiscoveryJobResult. :rtype: int �r5 rC r? r? r@ r! " s z-DiscoveryJobResult.estimated_data_value_countc C s || _ dS )a# Sets the estimated_data_value_count of this DiscoveryJobResult. The estimated number of data values the column has in the associated database. :param estimated_data_value_count: The estimated_data_value_count of this DiscoveryJobResult. :type: int NrN )r= r! r? r? r@ r! . s c C s | j S )a: Gets the sample_data_values of this DiscoveryJobResult. Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column. :return: The sample_data_values of this DiscoveryJobResult. :rtype: list[str] �r6 rC r? r? r@ r"