
                         >   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 dd	lmZ  ej                  d
dd       e	j                  e	j                   j"                  e	j                   j$                         G d de	j&                                      Zy)z"Command to show fleet information.    )absolute_import)division)unicode_literals)client)util)base)deprecation_utils)	resourcesz447.0.0Tz$gcloud fleet scopes rbacrolebindings)remove_versionremovealt_commandc                   &    e Zd ZdZed        Zd Zy)Describeaz  Show fleet namespace RBAC RoleBinding information.

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

  ## EXAMPLES

  To print metadata for RBAC RoleBinding `RBRB` in the namespace `NAMESPACE`,
  run:

    $ {command} RBRB --namespace=NAMESPACE
  c                 r    t        j                  |t        j                  | j	                            d       y )NzqName of the RBAC RoleBinding to be created. Must comply with RFC 1123 (up to 63 characters, alphanumeric and '-'))api_versionrbacrb_help)r
   AddRBACResourceArgr   VERSION_MAPReleaseTrack)clsparsers     Clib/surface/container/fleet/namespaces/rbacrolebindings/describe.pyArgszDescribe.Args1   s/      $$S%5%5%78$	    c                     t        j                  | j                               }|j                  t	        j
                  |            S )N)release_track)r   FleetClientr   GetRBACRoleBindingr
   RBACResourceName)selfargsfleetclients      r   RunzDescribe.Run=   s7    $$43D3D3FGK)))*D*DT*JKKr   N)__name__
__module____qualname____doc__classmethodr   r#    r   r   r   r      s!     	 	Lr   r   N)r'   
__future__r   r   r   &googlecloudsdk.api_lib.container.fleetr   r   googlecloudsdk.callioper   googlecloudsdk.command_libr	   *googlecloudsdk.command_lib.container.fleetr
   DeprecateCommandAtVersionReleaseTracksr   ALPHABETADescribeCommandr   r)   r   r   <module>r4      s    ) &  ' 9 7 ( 8 @ -,,6
 D%%++T->->-C-CDLt## L ELr   