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/logging/operations/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/google-cloud-sdk/lib/surface/logging/operations/__pycache__/cancel.cpython-311.pyc
�

��h
���dZddlmZddlmZddlmZddlmZddlmZddl	m
Z
ejejej
jej
jej
j��Gd�d	ej������Zd
S)z$'logging operations cancel' command.�)�absolute_import)�division)�unicode_literals)�util)�base)�
console_ioc�.�eZdZdZed���Zd�ZdS)�Cancela"Cancel a long running operation.

  Cancel a long running operation with given OPERATION_ID in given LOCATION.
  This operation can be a copy_log_entries operation which is scheduled before.

  ## EXAMPLES

  To cancel an operation, run:

    $ {command} OPERATION_ID --location=LOCATION
  c��|�dd���|�ddd���tj|d��d	S)
z Register flags for this command.�operation_idzThe Id of the operation.)�helpz
--locationTzLocation of the operation.)�requiredr
zoperation to cancelN)�add_argumentr�
AddParentArgs)�parsers �(lib/surface/logging/operations/cancel.py�ArgszCancel.Args+sb������-G��H�H�H�
����t�*F��H�H�H�	��v�4�5�5�5�5�5�c���tjtjtj|��d|j��d|j��}tj|j|��}t
jd|zd���tj���	|���}tj
��j�|��td|z��td��d	S)
z�This is what gets called when the user runs this command.

    Args:
      args: an argparse namespace. All the arguments that were provided to this
        command invocation.

    Returns:
      A long running operation.
    �	locations�
operationszReally cancel operation [%s]?T)�cancel_on_no)�namezCancelled [%s]zKNote:it may take up to 10 minutes for the operation's status to be updated.N)r�CreateResourceName�GetParentFromArgs�locationr�GetOperationReferencer�PromptContinue�GetMessages�/LoggingProjectsLocationsOperationsCancelRequest�	GetClient�projects_locations_operationsr
�print)�self�args�operation_name�operation_reference�requests     r�Runz
Cancel.Run4s���,����"�4�(�(�+�t�}�	F�	F��d�'�)�)�N��4�T�5F��M�M����=��N�+/�1�1�1�1�����5�5�>�5�J�J��	�N���2�9�9�'�B�B�B�	�
�0�
0�1�1�1�	�.�/�/�/�/�/rN)�__name__�
__module__�__qualname__�__doc__�staticmethodrr)�rrr
r
sH������

�
��6�6��<�6�/�/�/�/�/rr
N)r-�
__future__rrr�googlecloudsdk.api_lib.loggingr�googlecloudsdk.callioper�googlecloudsdk.core.consoler�DefaultUniverseOnly�
ReleaseTracks�ReleaseTrack�GA�BETA�ALPHA�Commandr
r/rr�<module>r;s���+�*�&�&�&�&�&�&�������'�'�'�'�'�'�/�/�/�/�/�/�(�(�(�(�(�(�2�2�2�2�2�2���������$�+�0�$�2C�2I���0/�0/�0/�0/�0/�T�\�0/�0/�����0/�0/�0/r

Youez - 2016 - github.com/yon3zu
LinuXploit