403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/google-cloud-sdk/lib/surface/sql/databases/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/google-cloud-sdk/lib/surface/sql/databases/__pycache__/delete.cpython-311.pyc
�

������dZddlmZddlmZddlmZddlmZddlmZddlm	Z	ddl
mZdd	lm
Z
dd
lmZddlmZe	je	jje	jje	jj��Gd�d
e	j����ZdS)z'Deletes a database in a given instance.�)�absolute_import)�division)�unicode_literals)�api_util)�
operations)�base)�flags)�log)�
properties)�
console_ioc�.�eZdZdZed���Zd�ZdS)�Deletez`Deletes a Cloud SQL database.

  For MySQL, also deletes all files in the database directory.
  c��tj|��tj|��|j�tj��dS)z�Args is called by calliope to gather arguments for this command.

    Args:
      parser: An argparse parser that you can use it to add arguments that go
          on the command line after this command. Positional arguments are
          allowed.
    N)r	�AddInstance�AddDatabaseName�display_info�AddCacheUpdater�DatabaseCompleter)�parsers �#lib/surface/sql/databases/delete.py�ArgszDelete.Args&sF��
��f����	��&�!�!�!�
��'�'��(?�@�@�@�@�@�c��tjtj��}|j}|j}t
jjj�	d���}|j
�|jdt
jjjj
id���}tjddd���|j�|�||j|j�����}|j
�d	|j|j�
��}t,j�||d��t3j|jd��d
S)z�Deletes a Cloud SQL database.

    For MySQL, also deletes all files in the database directory.

    Args:
      args: argparse.Namespace, The arguments that this command was invoked
          with.

    Returns:
      SQL database resource iterator.
    T)�required�projectz
sql.instances)�params�
collectionzmThe database will be deleted. Any data stored in the database will be destroyed. You cannot undo this action.)�message�default�cancel_on_no)r�instance�databasezsql.operations)�	operationrzDeleting Cloud SQL databaser"N)r�	SqlClient�API_VERSION_DEFAULT�
sql_client�sql_messagesr�VALUES�corer�Get�resource_parser�Parser!�	GetOrFailr�PromptContinue�	databasesr�SqlDatabasesDeleteRequestr"�Create�namer�OperationsV1Beta4�WaitForOperationr
�DeletedResource)	�self�args�clientr&r'�
project_id�instance_ref�result_operation�
operation_refs	         r�Runz
Delete.Run3sX���
�� <�
=�
=�F��"�J��&�L��"�'�/�3�3�T�3�B�B�J��)�/�/��
��:�,�1�9�C�D�"�0�$�$�L�
��:���	����"�+�2�2��.�.������	/�	P�	P�Q�Q���*�1�1��"�'��$�2�&�&�M�
� �1�1�*�m�2O�Q�Q�Q����
�z�2�2�2�2�2rN)�__name__�
__module__�__qualname__�__doc__�staticmethodrr=�rrrrsK��������
�
A�
A��<�
A�(3�(3�(3�(3�(3rrN)rA�
__future__rrr�googlecloudsdk.api_lib.sqlrr�googlecloudsdk.callioper�googlecloudsdk.command_lib.sqlr	�googlecloudsdk.corer
r�googlecloudsdk.core.consoler�
ReleaseTracks�ReleaseTrack�GA�BETA�ALPHA�
DeleteCommandrrCrr�<module>rPs/��.�-�&�&�&�&�&�&�������'�'�'�'�'�'�/�/�/�/�/�/�1�1�1�1�1�1�(�(�(�(�(�(�0�0�0�0�0�0�#�#�#�#�#�#�*�*�*�*�*�*�2�2�2�2�2�2����D�%�(�$�*;�*@��%�+�-�-�;3�;3�;3�;3�;3�T�
�;3�;3�-�-�;3�;3�;3r

Youez - 2016 - github.com/yon3zu
LinuXploit