
    F                     n    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\R                  5      r
g	)
z4A command that lists the registered APIs in gcloud..    )absolute_import)division)unicode_literals)apis)basec                   .    \ rS rSrSr\S 5       rS rSrg)List   z.List the APIs available via discovery service.c                     [         R                  R                  U 5        U R                  R	                  S 5        U R                  R                  S5        g )Nc                     U R                   $ )N)discoveryRestUrl)xs    'lib/surface/meta/apis/discovery/list.py<lambda>List.Args.<locals>.<lambda>    s
    Q-?-?    z
        table(
        name:sort=1,
        version:sort=2,
        title,
        preferred.yesno(yes='*', no=''),
        labels.list()
    ))r   PAGE_SIZE_FLAGRemoveFromParserdisplay_info
AddUriFunc	AddFormat)parsers    r   Args	List.Args   sD    ((0
""#?@
!! #	 
r   c                     [         R                  " SS5      nUR                  nUR                  5       nUR                   R	                  U5      R
                  $ )N	discoveryv1)r   GetClientInstanceMESSAGES_MODULEDiscoveryApisListRequestr	   items)selfargsclientmessagesrequests        r   RunList.Run*   sJ    ##K6F%%H//1G ;;G$***r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r'   __static_attributes__r)   r   r   r	   r	      s    6

 

+r   r	   N)r.   
__future__r   r   r   googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper   ListCommandr	   r)   r   r   <module>r5      s+     ; &  ' , (+4 +r   