
    	                         S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJ	r	  SSK
Jr  SS	K
Jr  SS	KJr   " S
 S\	R                  5      rg)z(Command for deleting HTTP health checks.    )absolute_import)division)unicode_literals)base_classes)utils)base)
completers)flagsc                   2    \ rS rSrSrSr\S 5       rS rSr	g)Delete   z_Delete HTTP health checks.

*{command}* deletes one or more Compute Engine
HTTP health checks.
Nc                     [         R                  " SS9[        l        [        R                  R	                  U SS9  U R
                  R                  [        R                  5        g )NT)pluraldelete)operation_type)	r
   HttpHealthCheckArgumentr   HTTP_HEALTH_CHECK_ARGAddArgumentdisplay_infoAddCacheUpdaterr	   HealthChecksCompleter)parsers    0lib/surface/compute/http_health_checks/delete.pyArgsDelete.Args&   sH    #(#@#@#MF 
  ,,VH,M
''
(H(HI    c                    [         R                  " U R                  5       5      nUR                  n[        R
                  R                  UUR                  [        R                  " U5      S9n[        R                  " U5        / nU HS  nUR                  UR                  R                  SUR                  R                   " S0 UR#                  5       D645        MU     UR%                  U5      $ )z7Issues requests necessary to delete HTTP Health Checks.)scope_listerr    )r   ComputeApiHolderReleaseTrackclientr   r   ResolveAsResource	resourcescompute_flagsGetDefaultScopeListerr   PromptForDeletionappendapitools_clienthttpHealthChecksmessages$ComputeHttpHealthChecksDeleteRequestAsDictMakeRequests)selfargsholderr"   http_health_check_refsrequestshttp_health_check_refs          r   Run
Delete.Run,   s    **4+<+<+>?F]]F#99KK"88@ L B
 
23H!7oov-->>KK =299;=> ? "8
 x((r   r   )
__name__
__module____qualname____firstlineno____doc__r   staticmethodr   r5   __static_attributes__r   r   r   r   r      s(     J J
)r   r   N)r;   
__future__r   r   r   googlecloudsdk.api_lib.computer   r   googlecloudsdk.callioper   "googlecloudsdk.command_lib.computer	   r
   r%   5googlecloudsdk.command_lib.compute.http_health_checksDeleteCommandr   r   r   r   <module>rD      s7    / &  ' 7 0 ( 9 E G!)T !)r   