
                            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                  ej                  j                         G d d	ej                               Z ej                  ej                  j"                         G d
 de             Z ej                  ej                  j&                         G d de             Zy)2List runtimes available to Google Cloud Functions.    )absolute_import)division)unicode_literals)base)flags)commandc                   .    e Zd ZdZddiZed        Zd Zy)Listr   EXAMPLESzR          To list the available runtimes, run:

            $ {command}
          c                     | j                   j                  d       | j                   j                  t        j                         t        j
                  | d       y)z!Registers flags for this command.zN
      table(
        name,
        stage,
        environments()
      )
    z%Only show runtimes within the region.)	help_textN)display_info	AddFormat
AddUriFuncr   GetLocationsUriAddRegionFlag)parsers    &lib/surface/functions/runtimes/list.pyArgsz	List.Args'   sN     !! # 	 ""5#8#89	AC    c                 J    t        j                  || j                               S )N)
command_v2RunReleaseTrack)selfargss     r   r   zList.Run6   s    >>$ 1 1 344r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r   r      s1    : - C C5r   r   c                       e Zd ZdZy)ListBetar   Nr   r   r    r!   r$   r   r   r&   r&   :       :r   r&   c                       e Zd ZdZy)	ListAlphar   Nr'   r$   r   r   r*   r*   ?   r(   r   r*   N)r!   
__future__r   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.functionsr   5googlecloudsdk.command_lib.functions.v2.runtimes.listr	   r   ReleaseTracksr   GAListCommandr   BETAr&   ALPHAr*   r$   r   r   <module>r4      s    9 &  ' ( 6 W D%%(()54 5 *5> D%%**+;t ; ,; D%%++,; ; -;r   