
    Q
                         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K	Jr  S	r " S
 S\R                  5      rg)z$Command to list Apigee applications.    )absolute_import)division)unicode_literals)apigee)base)defaults)resource_argsz/ANY/c                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	List   zList Apigee applications.EXAMPLESa  
          To list all Apigee applications in the active Cloud Platform project,
          run:

              $ {command}

          To list all Apigee applications belonging to the developer
          ``horse@example.com'' in an Apigee organization called ``my-org'',
          formatted as JSON, run:

              $ {command} --developer=horse@example.com --organization=my-org --format=json
          c                     [         R                  " 5       [         R                  " S[        5      /n[        R
                  " U SSSUS9  U R                  R                  S5        g )N	developerzorganization.developerzApigee organization, and optionally developer, whose applications should be listed. If developer is not specified, all developers will be listed.

To get a list of valid developers, run:

    $ {grandparent_command} developers list

F)
positionalfallthroughsztable(appId, name))r   !GCPProductOrganizationFallthroughStaticFallthroughANY_DEVELOPERr	   AddSingleResourceArgumentdisplay_info	AddFormat)parserr   s     'lib/surface/apigee/applications/list.pyArgs	List.Args2   sa     	224"";>L ++ 	:
 !	# !!"67    c                     UR                   R                  R                  5       R                  5       nUS   [        :X  a  US	 [
        R                  R                  U5      $ )zRun the list command.developersId)CONCEPTSr   ParseAsDictr   r   ApplicationsClientr   )selfargsidentifierss      r   RunList.RunD   sO    --))//188:K>"m3
n
%$$))+66r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r&   __static_attributes__r(   r   r   r   r      s/    ! -  8 8"7r   r   N)r-   
__future__r   r   r   googlecloudsdk.api_libr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.apigeer   r	   r   ListCommandr   r(   r   r   <module>r6      s8    + &  ' ) ( 6 ;
 *74 *7r   