
    [	                     ^   d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z
 ddlmZ ddlmZ d	d
dZ ej                   ej"                  j$                         G d dej&                               Z ej                   ej"                  j*                         G d dej&                               Zy)z@Command to delete a Application service in the Project/Location.    )absolute_import)division)unicode_literals)utils)services)base)flagsz{description}z         To delete the Service `my-service` from the Application `my-app` in
        location `us-east1`, run:

          $ {command} my-service --application=my-app --location=us-east1
        )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)DeleteGA%Delete an Apphub application service.c                 .    t        j                  |        y Nr	    AddDeleteApplicationServiceFlagsparsers    2lib/surface/apphub/applications/services/delete.pyArgszDeleteGA.Args*       	**62    c                     t        j                  t        j                  j                        }t        j                  |      }|j                  |j                         |j                        S zRun the delete command.)release_track)service
async_flag)
apisServicesClientr   ReleaseTrackGAapi_lib_utilsGetApplicationServiceRefDeleteRelativeNameasync_selfargsclientservice_refs       r   RunzDeleteGA.Run.   sV      t/@/@/C/CDF88>K==((*t{{   r   N	__name__
__module____qualname____doc___DETAILED_HELPdetailed_helpstaticmethodr   r,    r   r   r   r   $   !    - -3 3r   r   c                   *    e Zd ZdZeZed        Zd Zy)DeleteAlphar   c                 .    t        j                  |        y r   r   r   s    r   r   zDeleteAlpha.Args=   r   r   c                     t        j                  t        j                  j                        }t        j                  |      }|j                  |j                         |j                        S r   )
r   r   r   r    ALPHAr"   r#   r$   r%   r&   r'   s       r   r,   zDeleteAlpha.RunA   sV      t/@/@/F/FGF88>K==((*t{{   r   Nr-   r5   r   r   r8   r8   7   r6   r   r8   N)r1   
__future__r   r   r   googlecloudsdk.api_lib.apphubr   r"   *googlecloudsdk.api_lib.apphub.applicationsr   r   googlecloudsdk.callioper   !googlecloudsdk.command_lib.apphubr	   r2   ReleaseTracksr    r!   DeleteCommandr   r;   r8   r5   r   r   <module>rC      s    G &  ' @ G ( 3 # D%%(()t!!  *$ D%%++,$$$  -r   