
    n                     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.Cloud Transcoder job templates create command.    )	templates)base)flags)resource_args)labels_utilc                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	Create   z Create Transcoder job templates.EXAMPLESa  
        To create a job template with json format configuration:

          $ {command} TEMPLATE_ID --json="config: json-format" --location=us-central1

        To create a job template with json format configuration file:

          $ {command} TEMPLATE_ID --file="config.json" --location=us-central1

        To create a job template with json format configuration and labels

          $ {command} TEMPLATE_ID --file="config.json" --location=us-central1 --labels=key=value
        c                     [         R                  " U 5        [        R                  " U 5        U R                  R                  S5        [        R                  " U 5        g )Njson)r   AddTemplateResourceArgr   AddCreateTemplateFlagsdisplay_info	AddFormatr   AddCreateLabelsFlags)parsers    *lib/surface/transcoder/templates/create.pyArgsCreate.Args.   s@    ((0	  (
!!&)$$V,    c                     [         R                  " U R                  5       5      nUR                  R                  R                  5       nUR                  5       nUR                  nUR                  XEUS9$ )zCreate a job template.)
parent_reftemplate_idargs)	r   TemplatesClientReleaseTrackCONCEPTSr   ParseParentjobTemplatesIdr	   )selfr   clienttemplate_refr   r   s         r   Run
Create.Run5   sg    &&t'8'8':;F==,,224L$$&J--K==J"  $ $r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r%   __static_attributes__r'   r   r   r	   r	      s/    ( -" - -
$r   r	   N)r,   !googlecloudsdk.api_lib.transcoderr   googlecloudsdk.callioper   %googlecloudsdk.command_lib.transcoderr   r   $googlecloudsdk.command_lib.util.argsr   CreateCommandr	   r'   r   r   <module>r5      s-     5 8 ( 7 ? <%$T %$r   