
                             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                   G d d	ej                               Zy
)z)Command to get details on a transfer job.    )absolute_import)division)unicode_literals)	jobs_util)base)resource_printerc                   6    e Zd ZdZdddZed        Zd Zd Zy)	DescribezBGet configuration and latest operation details about transfer job.z`      Get configuration and latest operation details about a specific transfer
      job.
      ah        To describe a job, run:

        $ {command} JOB-NAME

      If you're looking for recent error details, use the "latestOperationName"
      returned by this command as input to the "operations describe" command:

        $ {command} JOB-NAME --format="json(latestOperationName)"

        $ {grandparent_command} operations describe OPERATION-NAME
      )DESCRIPTIONEXAMPLESc                 *    | j                  dd       y )Nnamez)The name of the job you want to describe.)help)add_argument)parsers    %lib/surface/transfer/jobs/describe.pyArgszDescribe.Args3   s    
@  B    c                 2    ~t        j                  |d       y )Njson)r   Print)selfargs	resourcess      r   DisplayzDescribe.Display8   s    9f-r   c                 @    t        j                  |j                        S )N)r   api_getr   )r   r   s     r   RunzDescribe.Run<   s    TYY''r   N)	__name__
__module____qualname____doc__detailed_helpstaticmethodr   r   r    r   r   r
   r
      s6    J


-* B B.(r   r
   N)r"   
__future__r   r   r   googlecloudsdk.api_lib.transferr   googlecloudsdk.callioper   googlecloudsdk.core.resourcer   UniverseCompatibleCommandr
   r%   r   r   <module>r,      sA    0 &  ' 5 ( 9 "(t|| "( "(r   