
    /	                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      rg)zThe configs list command.    )
list_pager)util)basec                   :    \ rS rSrSrSrSS0r\S 5       rS r	Sr
g	)
List   zList runtime-config resources within the current project.

This command lists runtime-config resources for the current project.
d   EXAMPLESa^  
          To list all runtime-config resources for the current project, run:

            $ {command}

          The --filter parameter can be used to filter results based on content.
          For example, to list all runtime-config resources with names that
          begin with 'foo', run:

            $ {command} --filter='name=foo*'
          c                 :    U R                   R                  S5        g )Nztable(name, description))display_info	AddFormat)parsers    *lib/surface/runtime_config/configs/list.pyArgs	List.Args/   s    
!!"<=    c           	   #     #    [         R                  " 5       n[         R                  " 5       n[         R                  " 5       nUR	                  [         R
                  " U5      S9nUR                  =(       d    U R                  n[        R                  " X%SSUR                  US9nU H  n[         R                  " U5      v   M     g7f)a	  Run 'runtime-configs list'.

Args:
  args: argparse.Namespace, The arguments that this command was invoked
      with.

Yields:
  The list of runtime-config resources.

Raises:
  HttpException: An http error response was received while executing api
      request.
)parentconfigspageSize)fieldbatch_size_attributelimit
batch_sizeN)r   ConfigClientMessagesProject'RuntimeconfigProjectsConfigsListRequestProjectPath	page_sizeDEFAULT_PAGE_SIZEr   YieldFromListr   FormatConfig)	selfargsconfig_clientmessagesprojectrequestr    resultsresults	            r   RunList.Run3   s      %%'M}}HllnG>>( ? G 8$"8"8I&&i'tzzG f%% s   CC N)__name__
__module____qualname____firstlineno____doc__r!   detailed_helpstaticmethodr   r,   __static_attributes__r.   r   r   r   r      s9    
   
- > >&r   r   N)	r3   apitools.base.pyr   %googlecloudsdk.api_lib.runtime_configr   googlecloudsdk.callioper   ListCommandr   r.   r   r   <module>r;      s'       ( 6 (9&4 9&r   