
                             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
0r " S S\	R                  5      rg)z2Remove DAG timeout from workflow template command.    )absolute_import)division)unicode_literals)dataproc)base)flags)logEXAMPLESz      To remove a DAG timeout from a workflow template named
      ``my-workflow-template'' in region ``us-central1'', run:

        $ {command} my-workflow-template --region=us-central1"
      c                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)RemoveDagTimeout%   z,Remove DAG timeout from a workflow template.c                     [         R                  " U R                  5       5      n[        R                  " USUR
                  5        g )Nzremove the DAG timeout from)dpDataprocReleaseTrackr   AddTemplateResourceArgapi_version)clsparserr   s      =lib/surface/dataproc/workflow_templates/remove_dag_timeout.pyArgsRemoveDagTimeout.Args*   s5    {{3++-.H	  )F!)!5!57    c                    [         R                  " U R                  5       5      nUR                  R                  R                  5       nUR                  X1R                  5      nS Ul        UR                  R                  R                  U5      n[        R                  R                  SR                  UR!                  5       5      5        U$ )NzRemoved DAG timeout from {0}.)r   r   r   CONCEPTStemplateParseGetRegionsWorkflowTemplateversion
dagTimeoutclient"projects_regions_workflowTemplatesUpdater	   statusPrintformatName)selfargsr   template_refworkflow_templateresponses         r   RunRemoveDagTimeout.Run0   s    {{4,,./H==))//1L ;;ll$ $( AAHHH JJ4;; Or    N)__name__
__module____qualname____firstlineno____doc__DETAILED_HELPdetailed_helpclassmethodr   r-   __static_attributes__r/   r   r   r   r   %   s!    4-7 7
r   r   N)r4   
__future__r   r   r   googlecloudsdk.api_lib.dataprocr   r   googlecloudsdk.callioper   #googlecloudsdk.command_lib.dataprocr   googlecloudsdk.corer	   r5   CreateCommandr   r/   r   r   <module>r?      sB    9 &  ' : ( 5 # 	
t)) r   