
                             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	d
ZdZ ej                  ej                  j                         G d dej                                Zy)z-Command to List Jobs in the Project/Location.    )absolute_import)division)unicode_literals)jobs)base)flagsz{description}z?         To List all jobs, run:

          $ {command}
        )DESCRIPTIONEXAMPLESa  
  table(
    name.scope("jobs"):label=NAME,
    name.scope("projects").segment(1):label=PROJECT,
    name.scope("locations").segment(0):label=LOCATION,
    description,
    experimentSnapshot,
    faultPepStatuses,
    faultTargets,
    createTime.date(unit=1000, tz_default=UTC)
  )
c                   *    e Zd ZdZeZed        Zd Zy)Listz"List Fault injection testing jobs.c                 l    t        j                  |        | j                  j                  t               y )N)r   AddListJobFlagsdisplay_info	AddFormat_FORMAT)parsers    (lib/surface/fault_injection/jobs/list.pyArgsz	List.Args6   s$    	&!
!!'*    c                     t        j                         }|j                  j                  j	                         }|j                  |j                  |j                  |j                               S )zRun the list command.)limit	page_sizeparent)	r   
JobsClientCONCEPTSlocationParser   r   r   RelativeName)selfargsclientlocation_refs       r   RunzList.Run;   sV    __F==))//1L;;jj..((*   r   N)	__name__
__module____qualname____doc___DETAILED_HELPdetailed_helpstaticmethodr   r#    r   r   r   r   0   s!    * -+ +r   r   N)r'   
__future__r   r   r   &googlecloudsdk.api_lib.fault_injectionr   googlecloudsdk.callioper   *googlecloudsdk.command_lib.fault_injectionr   r(   r   ReleaseTracksReleaseTrackALPHAListCommandr   r+   r   r   <module>r4      sn    4 &  ' 7 ( < # D%%++,4  -r   