
    i                         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	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)
exceptions)util)
propertiesc                   .    \ rS rSrSr\S 5       rS rSrg)List   aQ  List RBAC RoleBindings in a fleet scope.

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

## EXAMPLES

The following command lists RBAC RoleBindings in scope `SCOPE` in
project `PROJECT_ID`:

  $ {command} --scope=SCOPE --project=PROJECT_ID
c                     U R                   R                  [        R                  5        U R	                  S[
        SSS9  g )Nz--scopeTz7Name of the fleet scope to list RBAC RoleBindings from.)typerequiredhelp)display_info	AddFormatr	   RB_LIST_FORMATadd_argumentstr)parsers    ;lib/surface/container/fleet/scopes/rbacrolebindings/list.pyArgs	List.Args+   s=     !!$"5"56
F	      c                 X   [         R                  " U R                  5       S9nUR                  nUc2  [        R
                  R                  R                  R                  5       nUR                  S5      (       a  UR                  X1R                  5      $ [        R                  " SS5      e)N)release_trackscopezNamespace parent is required.)r   FleetClientReleaseTrackprojectr
   VALUEScoreGetIsKnownAndSpecifiedListScopeRBACRoleBindingsr   calliope_exceptionsRequiredArgumentException)selfargsfleetclientr!   s       r   RunList.Run6   s    $$43D3D3FGKllG!!&&..224g((227JJGG

7
70 r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r,   __static_attributes__r.   r   r   r   r      s       	r   r   N)r3   
__future__r   r   r   &googlecloudsdk.api_lib.container.fleetr   googlecloudsdk.callioper   r   r'   *googlecloudsdk.command_lib.container.fleetr	   googlecloudsdk.corer
   ListCommandr   r.   r   r   <module>r<      s4    1 &  ' 9 ( E ; *#4 #r   