
                             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	 ddl
mZ d	d
dZ ej                  ej                  j                         G d dej                                Zy)zDescribe Command for Job.    )absolute_import)division)unicode_literals)jobs)base)
exceptions)flagsz{description}z\         To describe a job with the id `my-job`, run:

          $ {command} my-job
        )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)Describez'Describe a Fault injection testing job.c                 .    t        j                  |        y )N)r	   AddDescribeJobFlags)parsers    ,lib/surface/fault_injection/jobs/describe.pyArgszDescribe.Args*   s    	f%    c                     t        j                         }|j                  j                  j	                         }|j                         st        j                  dd      |j                  |j                               S )zRun the describe command.jobzjob id must be non-empty.)r   )
r   
JobsClientCONCEPTSr   ParseNamer   InvalidArgumentExceptionr   RelativeName)selfargsclientjob_refs       r   RunzDescribe.Run.   sd    __Fmm%%'G<<>//
,  ??w335?66r   N)	__name__
__module____qualname____doc___DETAILED_HELPdetailed_helpstaticmethodr   r     r   r   r   r   $   s!    / -& &7r   r   N)r$   
__future__r   r   r   &googlecloudsdk.api_lib.fault_injectionr   googlecloudsdk.callioper   r   *googlecloudsdk.command_lib.fault_injectionr	   r%   ReleaseTracksReleaseTrackALPHADescribeCommandr   r(   r   r   <module>r1      sj      &  ' 7 ( . < # D%%++,7t## 7 -7r   