
    b                     n    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\R                  5      rg	)
zDelete operation command.    )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__r.   r   r   r	   r	      s"    	 J J(r   r	   N)r3   googlecloudsdk.api_lib.dataprocr   r   googlecloudsdk.callioper   #googlecloudsdk.command_lib.dataprocr   googlecloudsdk.corer   googlecloudsdk.core.consoler   DeleteCommandr	   r.   r   r   <module>r<      s-       ; ( 5 # 2"(T "(r   