
                             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Delete operation command.    )absolute_import)division)unicode_literals)dataproc)base)flags)log)
console_ioc                   .    \ rS rSrSr\S 5       rS rSrg)Delete   zDelete the record of an inactive operation.

Delete the record of an inactive operation.

## EXAMPLES

To delete the record of an operation, run:

  $ {command} operation_id
c                     [         R                  " U R                  5       5      n[        R                  " USUR
                  5        g )Ndelete)dpDataprocReleaseTrackr   AddOperationResourceArgapi_version)clsparserr   s      )lib/surface/dataproc/operations/delete.pyArgsDelete.Args)   s1    {{3++-.H	!!&(H4H4HI    c                    [         R                  " U R                  5       5      nUR                  R                  R                  5       nUR                  R                  UR                  5       S9n[        R                  " SR                  UR                  5      SSS9  UR                  R                  R                  U5        [        R                   " UR                  5        g )N)namez$The operation '{0}' will be deleted.TzDeletion aborted by user.)messagecancel_on_nocancel_string)r   r   r   CONCEPTS	operationParsemessages.DataprocProjectsRegionsOperationsDeleteRequestRelativeNamer
   PromptContinueformatclientprojects_regions_operationsr   r	   DeletedResource)selfargsr   operation_refrequests        r   Run
Delete.Run.   s    {{4,,./HMM++113MNN'') O +G 6==dnnM13
 OO//66w? 'r    N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r/   __static_attributes__r1   r   r   r   r      s"    	 J J(r   r   N)r6   
__future__r   r   r   googlecloudsdk.api_lib.dataprocr   r   googlecloudsdk.callioper   #googlecloudsdk.command_lib.dataprocr   googlecloudsdk.corer	   googlecloudsdk.core.consoler
   DeleteCommandr   r1   r   r   <module>r@      s4       &  ' : ( 5 # 2"(T "(r   