📂 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.cpython-39.pyc
a ���f� � @ 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 @ s� e Zd ZdZdZdZdZdZdZdZ dZ d ZdZd Z dd� Zed d� �Zejdd� �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/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Z e jd<d;� �Z ed=d>� �Z!e!jd?d>� �Z!ed@dA� �Z"e"jdBdA� �Z"edCdD� �Z#e#jdEdD� �Z#edFdG� �Z$e$jdHdG� �Z$edIdJ� �Z%e%jdKdJ� �Z%edLdM� �Z&e&jdNdM� �Z&edOdP� �Z'e'jdQdP� �Z'edRdS� �Z(e(jdTdS� �Z(edUdV� �Z)e)jdWdV� �Z)dXdY� Z*dZd[� Z+d\d]� Z,d^S )_�DiscoveryJobz[ A data discovery job. It helps track job's metadata as well as result statistics. �ALL�NEW�MODIFIED�DELETED�CREATING�ACTIVE�UPDATING�DELETING�FAILEDc K s dddddddddddddddddddddddddd �| _ d ddd ddddddddddddddddddd d!d"d �| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _ d#| _ d#| _d#| _d#| _ d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#S )$a� Initializes a new DiscoveryJob object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DiscoveryJob. :type id: str :param discovery_type: The value to assign to the discovery_type property of this DiscoveryJob. Allowed values for this property are: "ALL", "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 display_name: The value to assign to the display_name property of this DiscoveryJob. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this DiscoveryJob. :type compartment_id: str :param time_started: The value to assign to the time_started property of this DiscoveryJob. :type time_started: datetime :param time_finished: The value to assign to the time_finished property of this DiscoveryJob. :type time_finished: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DiscoveryJob. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param sensitive_data_model_id: The value to assign to the sensitive_data_model_id property of this DiscoveryJob. :type sensitive_data_model_id: str :param target_id: The value to assign to the target_id property of this DiscoveryJob. :type target_id: str :param schemas_for_discovery: The value to assign to the schemas_for_discovery property of this DiscoveryJob. :type schemas_for_discovery: list[str] :param tables_for_discovery: The value to assign to the tables_for_discovery property of this DiscoveryJob. :type tables_for_discovery: list[oci.data_safe.models.TablesForDiscovery] :param sensitive_type_ids_for_discovery: The value to assign to the sensitive_type_ids_for_discovery property of this DiscoveryJob. :type sensitive_type_ids_for_discovery: list[str] :param is_sample_data_collection_enabled: The value to assign to the is_sample_data_collection_enabled property of this DiscoveryJob. :type is_sample_data_collection_enabled: bool :param is_app_defined_relation_discovery_enabled: The value to assign to the is_app_defined_relation_discovery_enabled property of this DiscoveryJob. :type is_app_defined_relation_discovery_enabled: bool :param is_include_all_schemas: The value to assign to the is_include_all_schemas property of this DiscoveryJob. :type is_include_all_schemas: bool :param is_include_all_sensitive_types: The value to assign to the is_include_all_sensitive_types property of this DiscoveryJob. :type is_include_all_sensitive_types: bool :param total_schemas_scanned: The value to assign to the total_schemas_scanned property of this DiscoveryJob. :type total_schemas_scanned: int :param total_objects_scanned: The value to assign to the total_objects_scanned property of this DiscoveryJob. :type total_objects_scanned: int :param total_columns_scanned: The value to assign to the total_columns_scanned property of this DiscoveryJob. :type total_columns_scanned: int :param total_new_sensitive_columns: The value to assign to the total_new_sensitive_columns property of this DiscoveryJob. :type total_new_sensitive_columns: int :param total_modified_sensitive_columns: The value to assign to the total_modified_sensitive_columns property of this DiscoveryJob. :type total_modified_sensitive_columns: int :param total_deleted_sensitive_columns: The value to assign to the total_deleted_sensitive_columns property of this DiscoveryJob. :type total_deleted_sensitive_columns: int :param freeform_tags: The value to assign to the freeform_tags property of this DiscoveryJob. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DiscoveryJob. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DiscoveryJob. :type system_tags: dict(str, dict(str, object)) �strZdatetimez list[str]zlist[TablesForDiscovery]�bool�intzdict(str, str)zdict(str, dict(str, object)))�id�discovery_type�display_name�compartment_id�time_started� time_finished�lifecycle_state�sensitive_data_model_id� target_id�schemas_for_discovery�tables_for_discovery� sensitive_type_ids_for_discovery�!is_sample_data_collection_enabled�)is_app_defined_relation_discovery_enabled�is_include_all_schemas�is_include_all_sensitive_types�total_schemas_scanned�total_objects_scanned�total_columns_scanned�total_new_sensitive_columns� total_modified_sensitive_columns�total_deleted_sensitive_columns� freeform_tags�defined_tags�system_tagsr Z discoveryTypeZdisplayNameZ compartmentIdZtimeStartedZtimeFinishedZlifecycleStateZsensitiveDataModelIdZtargetIdZschemasForDiscoveryZtablesForDiscoveryZsensitiveTypeIdsForDiscoveryZisSampleDataCollectionEnabledZ$isAppDefinedRelationDiscoveryEnabledZisIncludeAllSchemasZisIncludeAllSensitiveTypesZtotalSchemasScannedZtotalObjectsScannedZtotalColumnsScannedZtotalNewSensitiveColumnsZtotalModifiedSensitiveColumnsZtotalDeletedSensitiveColumnsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_discovery_type� _display_name�_compartment_id� _time_started�_time_finished�_lifecycle_state�_sensitive_data_model_id� _target_id�_schemas_for_discovery�_tables_for_discovery�!_sensitive_type_ids_for_discovery�"_is_sample_data_collection_enabled�*_is_app_defined_relation_discovery_enabled�_is_include_all_schemas�_is_include_all_sensitive_types�_total_schemas_scanned�_total_objects_scanned�_total_columns_scanned�_total_new_sensitive_columns�!_total_modified_sensitive_columns� _total_deleted_sensitive_columns�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rG �F/usr/lib/python3.9/site-packages/oci/data_safe/models/discovery_job.py�__init__: s� o��zDiscoveryJob.__init__c C s | j S )z� **[Required]** Gets the id of this DiscoveryJob. The OCID of the discovery job. :return: The id of this DiscoveryJob. :rtype: str �r, �rE rG rG rH r � s zDiscoveryJob.idc C s || _ dS )z� Sets the id of this DiscoveryJob. The OCID of the discovery job. :param id: The id of this DiscoveryJob. :type: str NrJ )rE r rG rG rH r s c C s | j S )a� **[Required]** Gets the discovery_type of this DiscoveryJob. The type of the discovery job. It defines the job's scope. NEW identifies new sensitive columns in the target database that are not in the sensitive data model. DELETED identifies columns that are present in the sensitive data model but have been deleted from the target database. MODIFIED identifies columns that are present in the target database as well as the sensitive data model but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns. Allowed values for this property are: "ALL", "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 DiscoveryJob. :rtype: str )r- rK rG rG rH r s zDiscoveryJob.discovery_typec C s g d�}t ||�sd}|| _dS )a� Sets the discovery_type of this DiscoveryJob. The type of the discovery job. It defines the job's scope. NEW identifies new sensitive columns in the target database that are not in the sensitive data model. DELETED identifies columns that are present in the sensitive data model but have been deleted from the target database. MODIFIED identifies columns that are present in the target database as well as the sensitive data model but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns. :param discovery_type: The discovery_type of this DiscoveryJob. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r- )rE r �allowed_valuesrG rG rH r % s c C s | j S )z� **[Required]** Gets the display_name of this DiscoveryJob. The display name of the discovery job. :return: The display_name of this DiscoveryJob. :rtype: str �r. rK rG rG rH r 8 s zDiscoveryJob.display_namec C s || _ dS )z� Sets the display_name of this DiscoveryJob. The display name of the discovery job. :param display_name: The display_name of this DiscoveryJob. :type: str NrN )rE r rG rG rH r D s c C s | j S )z� **[Required]** Gets the compartment_id of this DiscoveryJob. The OCID of the compartment that contains the discovery job. :return: The compartment_id of this DiscoveryJob. :rtype: str �r/ rK rG rG rH r P s zDiscoveryJob.compartment_idc C s || _ dS )z� Sets the compartment_id of this DiscoveryJob. The OCID of the compartment that contains the discovery job. :param compartment_id: The compartment_id of this DiscoveryJob. :type: str NrO )rE r rG rG rH r \ s c C s | j S )a* **[Required]** Gets the time_started of this DiscoveryJob. The date and time the discovery job started, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_started of this DiscoveryJob. :rtype: datetime �r0 rK rG rG rH r h s zDiscoveryJob.time_startedc C s || _ dS )a& Sets the time_started of this DiscoveryJob. The date and time the discovery job started, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_started: The time_started of this DiscoveryJob. :type: datetime NrP )rE r rG rG rH r v s c C s | j S )a. **[Required]** Gets the time_finished of this DiscoveryJob. The date and time the discovery job finished, in the format defined by `RFC3339`__.. __ https://tools.ietf.org/html/rfc3339 :return: The time_finished of this DiscoveryJob. :rtype: datetime �r1 rK rG rG rH r � s zDiscoveryJob.time_finishedc C s || _ dS )a+ Sets the time_finished of this DiscoveryJob. The date and time the discovery job finished, in the format defined by `RFC3339`__.. __ https://tools.ietf.org/html/rfc3339 :param time_finished: The time_finished of this DiscoveryJob. :type: datetime NrQ )rE r rG rG rH r � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this DiscoveryJob. The current state of the discovery job. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this DiscoveryJob. :rtype: str )r2 rK rG rG rH r � s zDiscoveryJob.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this DiscoveryJob. The current state of the discovery job. :param lifecycle_state: The lifecycle_state of this DiscoveryJob. :type: str )r r r r r r rL N)r r2 )rE r rM rG rG rH r � s c C s | j S )a **[Required]** Gets the sensitive_data_model_id of this DiscoveryJob. The OCID of the sensitive data model associated with the discovery job. :return: The sensitive_data_model_id of this DiscoveryJob. :rtype: str �r3 rK rG rG rH r � s z$DiscoveryJob.sensitive_data_model_idc C s || _ dS )a Sets the sensitive_data_model_id of this DiscoveryJob. The OCID of the sensitive data model associated with the discovery job. :param sensitive_data_model_id: The sensitive_data_model_id of this DiscoveryJob. :type: str NrR )rE r rG rG rH r � s c C s | j S )z� **[Required]** Gets the target_id of this DiscoveryJob. The OCID of the target database associated with the discovery job. :return: The target_id of this DiscoveryJob. :rtype: str �r4 rK rG rG rH r � s zDiscoveryJob.target_idc C s || _ dS )z� Sets the target_id of this DiscoveryJob. The OCID of the target database associated with the discovery job. :param target_id: The target_id of this DiscoveryJob. :type: str NrS )rE r rG rG rH r � s c C s | j S )z� Gets the schemas_for_discovery of this DiscoveryJob. The schemas used for data discovery. :return: The schemas_for_discovery of this DiscoveryJob. :rtype: list[str] �r5 rK rG rG rH r � s z"DiscoveryJob.schemas_for_discoveryc C s || _ dS )z� Sets the schemas_for_discovery of this DiscoveryJob. The schemas used for data discovery. :param schemas_for_discovery: The schemas_for_discovery of this DiscoveryJob. :type: list[str] NrT )rE r rG rG rH r � s c C s | j S )a- Gets the tables_for_discovery of this DiscoveryJob. The data discovery jobs will scan the tables specified here, including both schemas and tables. :return: The tables_for_discovery of this DiscoveryJob. :rtype: list[oci.data_safe.models.TablesForDiscovery] �r6 rK rG rG rH r s z!DiscoveryJob.tables_for_discoveryc C s || _ dS )a@ Sets the tables_for_discovery of this DiscoveryJob. The data discovery jobs will scan the tables specified here, including both schemas and tables. :param tables_for_discovery: The tables_for_discovery of this DiscoveryJob. :type: list[oci.data_safe.models.TablesForDiscovery] NrU )rE r rG rG rH r s c C s | j S )z� Gets the sensitive_type_ids_for_discovery of this DiscoveryJob. The OCIDs of the sensitive types used for data discovery. :return: The sensitive_type_ids_for_discovery of this DiscoveryJob. :rtype: list[str] �r7 rK rG rG rH r s z-DiscoveryJob.sensitive_type_ids_for_discoveryc C s || _ dS )a Sets the sensitive_type_ids_for_discovery of this DiscoveryJob. The OCIDs of the sensitive types used for data discovery. :param sensitive_type_ids_for_discovery: The sensitive_type_ids_for_discovery of this DiscoveryJob. :type: list[str] NrV )rE r rG rG rH r * s c C s | j S )a� **[Required]** Gets the is_sample_data_collection_enabled of this DiscoveryJob. Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE. :return: The is_sample_data_collection_enabled of this DiscoveryJob. :rtype: bool �r8 rK rG rG rH r 6 s z.DiscoveryJob.is_sample_data_collection_enabledc C s || _ dS )a Sets the is_sample_data_collection_enabled of this DiscoveryJob. Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE. :param is_sample_data_collection_enabled: The is_sample_data_collection_enabled of this DiscoveryJob. :type: bool NrW )rE r rG rG rH r F s c C s | j S )aB **[Required]** Gets the is_app_defined_relation_discovery_enabled of this DiscoveryJob. Indicates if the discovery job should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships. :return: The is_app_defined_relation_discovery_enabled of this DiscoveryJob. :rtype: bool �r9 rK rG rG rH r V s z6DiscoveryJob.is_app_defined_relation_discovery_enabledc C s || _ dS )a[ Sets the is_app_defined_relation_discovery_enabled of this DiscoveryJob. Indicates if the discovery job should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships. :param is_app_defined_relation_discovery_enabled: The is_app_defined_relation_discovery_enabled of this DiscoveryJob. :type: bool NrX )rE r rG rG rH r f s c C s | j S )a� **[Required]** Gets the is_include_all_schemas of this DiscoveryJob. Indicates if all the schemas in the associated target database are used for data discovery. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle). :return: The is_include_all_schemas of this DiscoveryJob. :rtype: bool �r: rK rG rG rH r! v s z#DiscoveryJob.is_include_all_schemasc C s || _ dS )a� Sets the is_include_all_schemas of this DiscoveryJob. Indicates if all the schemas in the associated target database are used for data discovery. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle). :param is_include_all_schemas: The is_include_all_schemas of this DiscoveryJob. :type: bool NrY )rE r! rG rG rH r! � s c C s | j S )a� **[Required]** Gets the is_include_all_sensitive_types of this DiscoveryJob. Indicates if all the existing sensitive types are used for data discovery. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used. :return: The is_include_all_sensitive_types of this DiscoveryJob. :rtype: bool �r; rK rG rG rH r"