
                         >   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 delete a fleet namespace.    )absolute_import)division)unicode_literals)client)util)base)deprecation_utils)	resourcesz447.0.0Tz+gcloud fleet scopes rbacrolebindings delete)remove_versionremovealt_commandc                   &    e Zd ZdZed        Zd Zy)Deleteaj  Delete a fleet namespace RBAC RoleBinding.

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

  ## EXAMPLES

  To delete RBAC RoleBinding `RBRB` in namespace `NAMESPACE` in the active
  project:

    $ {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     Alib/surface/container/fleet/namespaces/rbacrolebindings/delete.pyArgszDelete.Args1   s/      $$S%5%5%78$	    c                     t        j                  | j                               }|j                  t	        j
                  |            S )N)release_track)r   FleetClientr   DeleteRBACRoleBindingr
   RBACResourceName)selfargsfleetclients      r   Runz
Delete.Run=   s7    $$43D3D3FGK,,Y-G-G-MNNr   N)__name__
__module____qualname____doc__classmethodr   r#    r   r   r   r      s!     	 	O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DeleteCommandr   r)   r   r   <module>r4      s    + &  ' 9 7 ( 8 @ -,,=
 D%%++T->->-C-CDOT O EOr   