
    W                         S 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       5       5       rg)z+List command for the Resource Settings CLI.    )utils)base)	argumentsc                   .    \ rS rSrSr\S 5       rS rSrg)List   zList all available resource settings.

List all available resource settings. ## EXAMPLES To list all available
resource settings with the project ``foo-project'', run:

  $ {command} --project=foo-project
c                 0    [         R                  " U 5        g )N)r   AddResourceFlagsToParser)parsers    -lib/surface/resource_manager/settings/list.pyArgs	List.Args#   s    &&v.    c                     [         R                  " U5      n[        R                  " U5      n[         R                  " X5      nUR                  U5      nU$ )zGet the resource settings.

Args:
  args: argparse.Namespace, An object that contains the values for the
    arguments specified in the Args method.

Returns:
   The retrieved settings.
)	api_utilsGetServiceFromArgsr   GetParentResourceFromArgsGetListRequestFromArgsr   )selfargssettings_serviceparent_resourceget_requestsetting_values         r   RunList.Run'   sK     !33D955d;O224IK$))+6Mr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r   r   r   r   r      s      / /r   r   N)r"   0googlecloudsdk.api_lib.resource_manager.settingsr   r   googlecloudsdk.callioper   4googlecloudsdk.command_lib.resource_manager.settingsr   HiddenDefaultUniverseOnlyReleaseTracksReleaseTrackALPHAListCommandr   r   r   r   <module>r.      sh    2 O ( J F D%%++,4  -  r   