
                             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	 S
\R                  5      rg)z*Command to show fleet scopes in a project.    )absolute_import)division)unicode_literals)client)base)util)
propertiesc                   .    \ rS rSrSr\S 5       rS rSrg)List   a  List fleet scopes in a project permitted to be viewed by the caller.

This command can fail for the following reasons:
* The project specified does not exist.
* The user does not have access to the project specified.

## EXAMPLES

The following command lists scopes in the active project:

  $ {command}

The following command lists scopes in project `PROJECT_ID`:

  $ {command} --project=PROJECT_ID
c                 V    U R                   R                  [        R                  5        g )N)display_info	AddFormatr   SC_LIST_FORMAT)parsers    *lib/surface/container/fleet/scopes/list.pyArgs	List.Args-   s     !!$"5"56    c                     UR                   nUc2  [        R                  R                  R                   R	                  5       n[
        R                  " U R                  5       S9nUR                  U5      $ )N)release_track)	projectr	   VALUEScoreGetr   FleetClientReleaseTrackListPermittedScopes)selfargsr   fleetclients       r   RunList.Run2   sZ    llG!!&&..224g$$43D3D3FGK**733r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r"   __static_attributes__r$   r   r   r   r      s     " 7 74r   r   N)r)   
__future__r   r   r   &googlecloudsdk.api_lib.container.fleetr   googlecloudsdk.callioper   *googlecloudsdk.command_lib.container.fleetr   googlecloudsdk.corer	   ListCommandr   r$   r   r   <module>r2      s1    1 &  ' 9 ( ; *44 4r   