📂 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.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: database_table_access_entry.cpython-39.opt-1.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 dZdZdZ dZdZd Zd ZdZdZd ZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Z e jd$d#� �Z ed%d&� �Z!e!jd'd&� �Z!ed(d)� �Z"e"jd*d)� �Z"ed+d,� �Z#e#jd-d,� �Z#ed.d/� �Z$e$jd0d/� �Z$ed1d2� �Z%e%jd3d2� �Z%ed4d5� �Z&e&jd6d5� �Z&ed7d8� �Z'e'jd9d8� �Z'ed: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� �Z0e0jdTdS� �Z0dUdV� Z1dWdX� Z2dYdZ� Z3d[S )\�DatabaseTableAccessEntrya6 A DatabaseTableAccess is a resource corresponding to a row in database table access report. It contains information about user's privilege grants that enable table access for the user. It's a subresource of Security Policy Report resource and is always associated with a SecurityPolicyReport. �SELECT�UPDATE�INSERT�DELETE�OWNER�READ�INDEX�SELECT_ANY_TABLE�UPDATE_ANY_TABLE�INSERT_ANY_TABLE�DELETE_ANY_TABLE�READ_ANY_TABLE�CREATE_ANY_INDEX�ADMIN_OPTION�GRANT_OPTIONc K s� ddddddddddddddddddddddd�| _ dddddd d ddd ddddddddddddd�| _d| _d| _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 DatabaseTableAccessEntry 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 DatabaseTableAccessEntry. :type key: str :param grantee: The value to assign to the grantee property of this DatabaseTableAccessEntry. :type grantee: str :param access_type: The value to assign to the access_type property of this DatabaseTableAccessEntry. Allowed values for this property are: "SELECT", "UPDATE", "INSERT", "DELETE", "OWNER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type access_type: str :param table_schema: The value to assign to the table_schema property of this DatabaseTableAccessEntry. :type table_schema: str :param table_name: The value to assign to the table_name property of this DatabaseTableAccessEntry. :type table_name: str :param privilege_type: The value to assign to the privilege_type property of this DatabaseTableAccessEntry. :type privilege_type: str :param target_id: The value to assign to the target_id property of this DatabaseTableAccessEntry. :type target_id: str :param privilege: The value to assign to the privilege property of this DatabaseTableAccessEntry. Allowed values for this property are: "SELECT", "UPDATE", "INSERT", "DELETE", "READ", "OWNER", "INDEX", "SELECT_ANY_TABLE", "UPDATE_ANY_TABLE", "INSERT_ANY_TABLE", "DELETE_ANY_TABLE", "READ_ANY_TABLE", "CREATE_ANY_INDEX", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type privilege: str :param privilege_grantable: The value to assign to the privilege_grantable property of this DatabaseTableAccessEntry. Allowed values for this property are: "ADMIN_OPTION", "GRANT_OPTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type privilege_grantable: str :param grant_from_role: The value to assign to the grant_from_role property of this DatabaseTableAccessEntry. :type grant_from_role: str :param access_through_object: The value to assign to the access_through_object property of this DatabaseTableAccessEntry. :type access_through_object: str :param column_name: The value to assign to the column_name property of this DatabaseTableAccessEntry. :type column_name: str :param grantor: The value to assign to the grantor property of this DatabaseTableAccessEntry. :type grantor: str :param are_all_tables_accessible: The value to assign to the are_all_tables_accessible property of this DatabaseTableAccessEntry. :type are_all_tables_accessible: bool :param is_access_constrained_by_view: The value to assign to the is_access_constrained_by_view property of this DatabaseTableAccessEntry. :type is_access_constrained_by_view: bool :param is_access_constrained_by_label_security: The value to assign to the is_access_constrained_by_label_security property of this DatabaseTableAccessEntry. :type is_access_constrained_by_label_security: bool :param is_access_constrained_by_database_vault: The value to assign to the is_access_constrained_by_database_vault property of this DatabaseTableAccessEntry. :type is_access_constrained_by_database_vault: bool :param is_access_constrained_by_virtual_private_database: The value to assign to the is_access_constrained_by_virtual_private_database property of this DatabaseTableAccessEntry. :type is_access_constrained_by_virtual_private_database: bool :param is_access_constrained_by_redaction: The value to assign to the is_access_constrained_by_redaction property of this DatabaseTableAccessEntry. :type is_access_constrained_by_redaction: bool :param is_access_constrained_by_real_application_security: The value to assign to the is_access_constrained_by_real_application_security property of this DatabaseTableAccessEntry. :type is_access_constrained_by_real_application_security: bool :param is_access_constrained_by_sql_firewall: The value to assign to the is_access_constrained_by_sql_firewall property of this DatabaseTableAccessEntry. :type is_access_constrained_by_sql_firewall: bool :param is_sensitive: The value to assign to the is_sensitive property of this DatabaseTableAccessEntry. :type is_sensitive: bool �str�bool)�key�grantee�access_type�table_schema� table_name�privilege_type� target_id� privilege�privilege_grantable�grant_from_role�access_through_object�column_name�grantor�are_all_tables_accessible�is_access_constrained_by_view�'is_access_constrained_by_label_security�'is_access_constrained_by_database_vault�1is_access_constrained_by_virtual_private_database�"is_access_constrained_by_redaction�2is_access_constrained_by_real_application_security�%is_access_constrained_by_sql_firewall�is_sensitiver r Z accessTypeZtableSchemaZ tableNameZ privilegeTypeZtargetIdr ZprivilegeGrantableZ grantFromRoleZaccessThroughObjectZ columnNamer$ ZareAllTablesAccessibleZisAccessConstrainedByViewZ"isAccessConstrainedByLabelSecurityZ"isAccessConstrainedByDatabaseVaultZ+isAccessConstrainedByVirtualPrivateDatabaseZisAccessConstrainedByRedactionZ,isAccessConstrainedByRealApplicationSecurityZ isAccessConstrainedBySqlFirewallZisSensitiveN)Z swagger_typesZ attribute_map�_key�_grantee�_access_type� _table_schema�_table_name�_privilege_type� _target_id� _privilege�_privilege_grantable�_grant_from_role�_access_through_object�_column_name�_grantor�_are_all_tables_accessible�_is_access_constrained_by_view�(_is_access_constrained_by_label_security�(_is_access_constrained_by_database_vault�2_is_access_constrained_by_virtual_private_database�#_is_access_constrained_by_redaction�3_is_access_constrained_by_real_application_security�&_is_access_constrained_by_sql_firewall� _is_sensitive)�self�kwargs� rF �T/usr/lib/python3.9/site-packages/oci/data_safe/models/database_table_access_entry.py�__init__d s� e��z!DatabaseTableAccessEntry.__init__c C s | j S )a **[Required]** Gets the key of this DatabaseTableAccessEntry. The unique key that identifies the table access report. It is numeric and unique within a security policy report. :return: The key of this DatabaseTableAccessEntry. :rtype: str �r. �rD rF rF rG r s zDatabaseTableAccessEntry.keyc C s || _ dS )a Sets the key of this DatabaseTableAccessEntry. The unique key that identifies the table access report. It is numeric and unique within a security policy report. :param key: The key of this DatabaseTableAccessEntry. :type: str NrI )rD r rF rF rG r s c C s | j S )z� Gets the grantee of this DatabaseTableAccessEntry. Grantee is the user who can access the table :return: The grantee of this DatabaseTableAccessEntry. :rtype: str �r/ rJ rF rF rG r ) s z DatabaseTableAccessEntry.granteec C s || _ dS )z� Sets the grantee of this DatabaseTableAccessEntry. Grantee is the user who can access the table :param grantee: The grantee of this DatabaseTableAccessEntry. :type: str NrK )rD r rF rF rG r 5 s c C s | j S )a� Gets the access_type of this DatabaseTableAccessEntry. The type of the access the user has on the table, there can be one or more from SELECT, UPDATE, INSERT, OWNER or DELETE. Allowed values for this property are: "SELECT", "UPDATE", "INSERT", "DELETE", "OWNER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The access_type of this DatabaseTableAccessEntry. :rtype: str )r0 rJ rF rF rG r A s z$DatabaseTableAccessEntry.access_typec C s g d�}t ||�sd}|| _dS )a, Sets the access_type of this DatabaseTableAccessEntry. The type of the access the user has on the table, there can be one or more from SELECT, UPDATE, INSERT, OWNER or DELETE. :param access_type: The access_type of this DatabaseTableAccessEntry. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r0 )rD r �allowed_valuesrF rF rG r P s c C s | j S )z� Gets the table_schema of this DatabaseTableAccessEntry. The name of the schema the table belongs to. :return: The table_schema of this DatabaseTableAccessEntry. :rtype: str �r1 rJ rF rF rG r _ s z%DatabaseTableAccessEntry.table_schemac C s || _ dS )z� Sets the table_schema of this DatabaseTableAccessEntry. The name of the schema the table belongs to. :param table_schema: The table_schema of this DatabaseTableAccessEntry. :type: str NrN )rD r rF rF rG r k s c C s | j S )z� Gets the table_name of this DatabaseTableAccessEntry. The name of the database table the user has access to. :return: The table_name of this DatabaseTableAccessEntry. :rtype: str �r2 rJ rF rF rG r w s z#DatabaseTableAccessEntry.table_namec C s || _ dS )z� Sets the table_name of this DatabaseTableAccessEntry. The name of the database table the user has access to. :param table_name: The table_name of this DatabaseTableAccessEntry. :type: str NrO )rD r rF rF rG r � s c C s | j S )aT Gets the privilege_type of this DatabaseTableAccessEntry. Type of the privilege user has, this includes System Privilege, Schema Privilege, Object Privilege, Column Privilege, Owner or Schema Privilege on a schema. :return: The privilege_type of this DatabaseTableAccessEntry. :rtype: str �r3 rJ rF rF rG r � s z'DatabaseTableAccessEntry.privilege_typec C s || _ dS )aa Sets the privilege_type of this DatabaseTableAccessEntry. Type of the privilege user has, this includes System Privilege, Schema Privilege, Object Privilege, Column Privilege, Owner or Schema Privilege on a schema. :param privilege_type: The privilege_type of this DatabaseTableAccessEntry. :type: str NrP )rD r rF rF rG r � s c C s | j S )z� Gets the target_id of this DatabaseTableAccessEntry. The OCID of the of the target database. :return: The target_id of this DatabaseTableAccessEntry. :rtype: str �r4 rJ rF rF rG r � s z"DatabaseTableAccessEntry.target_idc C s || _ dS )z� Sets the target_id of this DatabaseTableAccessEntry. The OCID of the of the target database. :param target_id: The target_id of this DatabaseTableAccessEntry. :type: str NrQ )rD r rF rF rG r � s c C s | j S )a Gets the privilege of this DatabaseTableAccessEntry. Name of the privilege. Allowed values for this property are: "SELECT", "UPDATE", "INSERT", "DELETE", "READ", "OWNER", "INDEX", "SELECT_ANY_TABLE", "UPDATE_ANY_TABLE", "INSERT_ANY_TABLE", "DELETE_ANY_TABLE", "READ_ANY_TABLE", "CREATE_ANY_INDEX", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The privilege of this DatabaseTableAccessEntry. :rtype: str )r5 rJ rF rF rG r � s z"DatabaseTableAccessEntry.privilegec C s g d�}t ||�sd}|| _dS )z� Sets the privilege of this DatabaseTableAccessEntry. Name of the privilege. :param privilege: The privilege of this DatabaseTableAccessEntry. :type: str ) r r r r r r r r r r r r r rL N)r r5 )rD r rM rF rF rG r � s c C s | j S )a Gets the privilege_grantable of this DatabaseTableAccessEntry. Indicates whether the grantee can grant this privilege to other users. Privileges can be granted to a user or role with GRANT_OPTION or ADMIN_OPTION Allowed values for this property are: "ADMIN_OPTION", "GRANT_OPTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The privilege_grantable of this DatabaseTableAccessEntry. :rtype: str )r6 rJ rF rF rG r � s z,DatabaseTableAccessEntry.privilege_grantablec C s ddg}t ||�sd}|| _dS )ah Sets the privilege_grantable of this DatabaseTableAccessEntry. Indicates whether the grantee can grant this privilege to other users. Privileges can be granted to a user or role with GRANT_OPTION or ADMIN_OPTION :param privilege_grantable: The privilege_grantable of this DatabaseTableAccessEntry. :type: str r r rL N)r r6 )rD r rM rF rF rG r � s c C s | j S )ax Gets the grant_from_role of this DatabaseTableAccessEntry. This can be empty in case of direct grant, in case of indirect grant, this attribute displays the name of the role which is granted to the user though which the user has access to the table. :return: The grant_from_role of this DatabaseTableAccessEntry. :rtype: str �r7 rJ rF rF rG r! � s z(DatabaseTableAccessEntry.grant_from_rolec C s || _ dS )a� Sets the grant_from_role of this DatabaseTableAccessEntry. This can be empty in case of direct grant, in case of indirect grant, this attribute displays the name of the role which is granted to the user though which the user has access to the table. :param grant_from_role: The grant_from_role of this DatabaseTableAccessEntry. :type: str NrR )rD r! rF rF rG r! s c C s | j S )aI Gets the access_through_object of this DatabaseTableAccessEntry. A non-null value in this field indicates the object through which user has access to table, possible values could be table or view. :return: The access_through_object of this DatabaseTableAccessEntry. :rtype: str �r8 rJ rF rF rG r"