
    @                         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,Transcoder API job templates delete command.    )absolute_import)division)unicode_literals)	templates)base)resource_args)log)
console_ioc                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	Delete   z Delete transcoder job templates.EXAMPLESz|
          To delete a transcoder job template:

              $ {command} TEMPLATE_ID --location=us-central1
              c                 0    [         R                  " U 5        g )N)r   AddTemplateResourceArg)parsers    *lib/surface/transcoder/templates/delete.pyArgsDelete.Args(   s    ((0    c                 \   [         R                  " U R                  5       5      nUR                  R                  R                  5       n[        R                  " SR                  UR                  5      SSS9  UR                  U5      n[        R                  " UR                  5       SS9  U$ )zDeletes a job template.z%You are about to delete template [{}]T)throw_if_unattendedcancel_on_notemplate)kind)r   TemplatesClientReleaseTrackCONCEPTStemplate_idParser
   PromptContinueformatjobTemplatesIdr   r	   DeletedResourceRelativeName)selfargsclienttemplate_refresults        r   Run
Delete.Run,   s    &&t'8'8':;F==,,224L/66''	) t5
 ]]<(F113*EMr    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r*   __static_attributes__r,   r   r   r   r      s/    (  - 1 1r   r   N)r1   
__future__r   r   r   !googlecloudsdk.api_lib.transcoderr   googlecloudsdk.callioper   %googlecloudsdk.command_lib.transcoderr   googlecloudsdk.corer	   googlecloudsdk.core.consoler
   DeleteCommandr   r,   r   r   <module>r<      s4     3 &  ' 7 ( ? # 2T r   