
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ  G d	 d
ej                        Zy)z*Command to show fleet scopes in a project.    )absolute_import)division)unicode_literals)client)base)util)
propertiesc                   &    e Zd ZdZed        Zd Zy)Lista  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    | j                   j                  t        j                         y )N)display_info	AddFormatr   SC_LIST_FORMAT)parsers    *lib/surface/container/fleet/scopes/list.pyArgsz	List.Args-   s     !!$"5"56    c                     |j                   }|2t        j                  j                  j                   j	                         }t        j                  | j                               }|j                  |      S )N)release_track)	projectr	   VALUEScoreGetr   FleetClientReleaseTrackListPermittedScopes)selfargsr   fleetclients       r   RunzList.Run2   sZ    llG!!&&..224g$$43D3D3FGK**733r   N)__name__
__module____qualname____doc__staticmethodr   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>r-      s1    1 &  ' 9 ( ; *44 4r   