HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //usr/lib/google-cloud-sdk/lib/surface/workbench/instances/__pycache__/delete.cpython-312.pyc
�

��G��8�dZddlmZddlmZddlmZddlmZddlmZddl	m
Z
ddlmZd	d
d�Z
e
je
je
j j"e
j j$�Gd�d
e
j&���Ze
e_y)z%'workbench instances delete' command.�)�absolute_import)�division)�unicode_literals)�	instances)�util)�base)�flagsz+
        Deletes a workbench instance.
    zd
    To delete an instance, run:

        $ {command} example-instance --location=us-central1-b
    )�DESCRIPTION�EXAMPLESc�&�eZdZdZed��Zd�Zy)�DeletezDeletes a workbench instance.c�.�tj|�y)z Register flags for this command.N)r	�AddDeleteInstanceFlags)�parsers �)lib/surface/workbench/instances/delete.py�ArgszDelete.Args-s��
� � ��(�c�<�|j�}tj|�}tj|�}|j}|jt
j||��}t
j||||tjj��S)z9This is what gets called when the user runs this command.)�operation_type)�ReleaseTrackr�	GetClient�GetMessages�projects_locations_instancesr
�
instance_util�CreateInstanceDeleteRequest�	HandleLRO�
OperationType�DELETE)�self�args�
release_track�client�messages�instance_service�	operations       r�Runz
Delete.Run2s����%�%�'�M�
�^�^�M�
*�F����
�.�H��:�:�� �'�'��1�1�$��A�C�I��"�"�����$�2�2�9�9�;�;rN)�__name__�
__module__�__qualname__�__doc__�staticmethodrr&�rrr
r
(s��&��)��)�
;rr
N)r*�
__future__rrr� googlecloudsdk.api_lib.workbenchrrr�googlecloudsdk.callioper�$googlecloudsdk.command_lib.workbenchr	�
DETAILED_HELP�DefaultUniverseOnly�
ReleaseTracksr�GA�BETA�
DeleteCommandr
�
detailed_helpr,rr�<module>r8s���,�&��'�G�1�(�6�	�	�
�
��������D�%�%�(�(�$�*;�*;�*@�*@�A�;�T�
�
�;�B��;�0%��r