
    	                         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  \R                  " \R                  R                  \R                  R                  5       " S S\R                  5      5       r " S	 S
5      rg)z#`gcloud app runtimes list` command.    )absolute_import)division)unicode_literals)appengine_api_client)basec                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	List   zList the available runtimes.

This command lists all the available runtimes and their current stages, for
example,
GA, BETA or END OF SUPPORT.
EXAMPLESz          To list all the runtimes in the App Engine standard environment, run:

            $ {command} --environment=standard

          c                 `    U R                  SSS/SS9  U R                  R                  S5        g )Nz--environmentTstandardz Environment for the application.)requiredchoiceshelpzK
      table(
        name,
        stage,
        environment
      )
    )add_argumentdisplay_info	AddFormat)parsers     lib/surface/app/runtimes/list.pyArgs	List.Args+   s>    
/	   !! # 	    c                    [         R                  " U R                  5       5      nUR                  R                  R
                  R                  nUR                  S:X  a*  UR                  R                  R
                  R                  nUR                  U5      nUR                   Vs/ s H  n[        U5      PM     sn$ s  snf )Nr   )r   GetApiClientForTrackReleaseTrackmessages AppengineAppsListRuntimesRequestEnvironmentValueValuesEnumSTANDARDenvironmentListRuntimesruntimesRuntime)selfargs
api_clientr    responsers         r   RunList.Run;   s    %::4;L;L;NOJ<<WW``  :%



>
>
Y
Y
b
b  &&{3H ( 1 12 11GAJ 1222s   (C  N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r)   __static_attributes__r+   r   r   r	   r	      s1      - 	 	
3r   r	   c                       \ rS rSrSrS rSrg)r#   H   zRuntimes wrapper for ListRuntimesResponse#Runtimes.

Attributes:
  name: A string name of the runtime.
  stage: An enum of the release state of the runtime, e.g., GA, BETA, etc.
  environment: Environment of the runtime.
c                 j    UR                   U l         UR                  U l        UR                  U l        g )N)namestager    )r$   runtimes     r   __init__Runtime.__init__Q   s&    DIDJ**Dr   )r    r7   r8   N)r,   r-   r.   r/   r0   r:   r3   r+   r   r   r#   r#   H   s    +r   r#   N)r0   
__future__r   r   r   googlecloudsdk.api_lib.appr   googlecloudsdk.callioper   ReleaseTracksr   BETAGAListCommandr	   r#   r+   r   r   <module>rC      sk    * &  ' ; ( D%%**D,=,=,@,@A+34 +3 B+3\+ +r   