
    c                     J    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 r	g)	zHThis file provides the implementation of the `functions delete` command.    )
exceptions)
operations)util)log)
console_ioc                    [         R                  " 5       nUR                  nU R                  R                  R                  5       nUR                  5       nSR                  U5      n[        R                  " US9(       d  [        R                  " S5      eUR                  R                  UR                  US95      n[        R                   " XbU5        ["        R$                  " U5        g)zDelete a Google Cloud Function.z'1st gen function [{0}] will be deleted.)messagezDeletion aborted by user.)nameN)r   GetApiClientInstanceMESSAGES_MODULECONCEPTSr
   ParseRelativeNameformatr   PromptContinuer   FunctionsErrorprojects_locations_functionsDelete5CloudfunctionsProjectsLocationsFunctionsDeleteRequestr   Waitr   DeletedResource)argsclientmessagesfunction_reffunction_urlprompt_messageops          =lib/googlecloudsdk/command_lib/functions/v1/delete/command.pyRunr       s    $$&&##(##))+,**,,<CC. 
	"	">	:

#
#$?
@@**11DD E "
 //"'l#    N)
__doc__#googlecloudsdk.api_lib.functions.v1r   r   r   googlecloudsdk.corer   googlecloudsdk.core.consoler   r     r!   r   <module>r'      s!    O ; : 4 # 2$r!   