
                             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\	R                   5      rg)zCommand to delete an operation.    )absolute_import)division)unicode_literals)
datafusion)base)resource_args)log)
console_ioc                   .    \ rS rSrSr\S 5       rS rSrg)Delete   zDelete a completed Data Fusion operation.

## EXAMPLES

To delete operation `my-operation` in project `my-project` and location
`my-location`, run:

  $ {command} my-operation --project=my-project --location=my-location
c                 2    [         R                  " U S5        g )NzThe operation to delete.)r   AddOperationResourceArg)parsers    ,lib/surface/data_fusion/operations/delete.pyArgsDelete.Args'   s    ))&2LM    c                    [         R                  " 5       nUR                  R                  R	                  5       n[
        R                  " SR                  UR                  5       5      SSSS9  UR                  R                  UR                  5       S9nUR                  R                  R                  U5        [        R                   " UR                  5       SS9  g )Nz'{0}' will be deletedTzDeletion aborted by user.)messagecancel_on_nocancel_stringthrow_if_unattended)name	operation)kind)df
DatafusionCONCEPTSr   Parser
   PromptContinueformatNamemessages2DatafusionProjectsLocationsOperationsDeleteRequestRelativeNameclientprojects_locations_operationsr   r	   DeletedResource)selfargsr   op_refreqs        r   Run
Delete.Run+   s    J]]$$**,F'..v{{}=1 	" 


P
P  " Q $C 33::3?++-K@r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r.   __static_attributes__r0   r   r   r   r      s#     N NAr   r   N)r5   
__future__r   r   r   "googlecloudsdk.api_lib.data_fusionr   r   googlecloudsdk.callioper   &googlecloudsdk.command_lib.data_fusionr   googlecloudsdk.corer	   googlecloudsdk.core.consoler
   DeleteCommandr   r0   r   r   <module>r?      s6    & &  ' ? ( @ # 2AT Ar   