
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ  e	j                  e	j                  j                         G d d	e	j                               Zy
)z"Describe session template command.    )absolute_import)division)unicode_literals)dataproc)base)flagsc                   &    e Zd ZdZed        Zd Zy)DescribezDescribe a session template.

  ## EXAMPLES

  The following command prints out the session template
  `example-session-template`:

    $ {command} example-session-template
  c                 n    t        j                         }t        j                  |d|j                         y )Ndescribe)dpDataprocr   AddSessionTemplateResourceArgapi_version)clsparserr   s      2lib/surface/dataproc/session_templates/describe.pyArgszDescribe.Args&   s(    {{}H	''
(0(<(<>    c                    t        j                         }|j                  }|j                  j                  j                         }|j                  |j                               }|j                  j                  j                  |      S )N)name)r   r   messagesCONCEPTSsession_templateParse3DataprocProjectsLocationsSessionTemplatesGetRequestRelativeNameclient#projects_locations_sessionTemplatesGet)selfargsr   r   template_refrequests         r   RunzDescribe.Run,   sm    {{}H  H==11779LJJ&&( K *G??>>BB7KKr   N)__name__
__module____qualname____doc__classmethodr   r%    r   r   r
   r
      s!     > >
Lr   r
   N)r)   
__future__r   r   r   googlecloudsdk.api_lib.dataprocr   r   googlecloudsdk.callioper   #googlecloudsdk.command_lib.dataprocr   ReleaseTracksReleaseTrackBETADescribeCommandr
   r+   r   r   <module>r4      sY    ) &  ' : ( 5 D%%**+Lt## L ,Lr   