
    V                         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K	J
r
  SS	S
.rSr\R                  " \R                  R                  5       " S S\R                   5      5       rg)z4Command to describe a Fault in the Project/Location.    )absolute_import)division)unicode_literals)faults)base)flagsz{description}zA         To List all faults, run:

          $ {command}
        )DESCRIPTIONEXAMPLESz
  table(
    name.scope("faults"):label=NAME,
    name.scope("projects").segment(1):label=PROJECT,
    name.scope("locations").segment(0):label=LOCATION,
    description,
    action,
    createTime.date(unit=1000, tz_default=UTC)
  )
c                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)List.   zList Faults.c                 n    [         R                  " U 5        U R                  R                  [        5        g )N)r   AddListFaultFlagsdisplay_info	AddFormat_FORMAT)parsers    *lib/surface/fault_injection/faults/list.pyArgs	List.Args4   s$    	F#
!!'*    c                     [         R                  " 5       nUR                  R                  R	                  5       nUR                  UR                  UR                  UR                  5       S9$ )zRun the list command.)limit	page_sizeparent)	r   FaultsClientCONCEPTSlocationParser   r   r   RelativeName)selfargsclientlocation_refs       r   RunList.Run9   sX      "F==))//1L;;jj..((*   r    N)__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpstaticmethodr   r%   __static_attributes__r'   r   r   r   r   .   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>r9      sl    ; &  ' 9 ( < #	 D%%++,4  -r   