
    	                     D   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
KJr  \R"                  " SSSS9\R$                  " \R&                  R(                  \R&                  R*                  5       " S S\R,                  5      5       5       rg)z.Command to show fleet namespaces in a project.    )absolute_import)division)unicode_literals)client)base)
exceptions)deprecation_utils)util)
propertiesz447.0.0Tz)gcloud fleet scopes rbacrolebindings list)remove_versionremovealt_commandc                   .    \ rS rSrSr\S 5       rS rSrg)List   an  List RBAC RoleBindings in a fleet namespace.

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

## EXAMPLES

The following command lists RBAC RoleBindings in namespace `NAMESPACE` in
project `PROJECT_ID`:

  $ {command} --namespace=NAMESPACE --project=PROJECT_ID

c                     U R                   R                  [        R                  5        U R	                  S[
        SSS9  g )Nz--namespaceTz;Name of the fleet namespace to list RBAC RoleBindings from.)typerequiredhelp)display_info	AddFormatr
   RB_LIST_FORMATadd_argumentstr)parsers    ?lib/surface/container/fleet/namespaces/rbacrolebindings/list.pyArgs	List.Args3   s>     !!$"5"56
J	  L    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	namespacezNamespace parent is required.)r   FleetClientReleaseTrackprojectr   VALUEScoreGetIsKnownAndSpecifiedListRBACRoleBindingsr"   calliope_exceptionsRequiredArgumentException)selfargsfleetclientr%   s       r   RunList.Run=   s    $$43D3D3FGKllG!!&&..224g,,--g~~FF

7
746 6r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r0   __static_attributes__r2   r   r   r   r      s"     L L6r   r   N)r7   
__future__r   r   r   &googlecloudsdk.api_lib.container.fleetr   googlecloudsdk.callioper   r   r+   googlecloudsdk.command_libr	   *googlecloudsdk.command_lib.container.fleetr
   googlecloudsdk.corer   DeprecateCommandAtVersionReleaseTracksr$   ALPHABETAListCommandr   r2   r   r   <module>rE      s    5 &  ' 9 ( E 8 ; * ,,;
 D%%++T->->-C-CD"64 "6 E"6r   