
    	                         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
\	R                  5      rg)z'Command to delete a Membership Binding.    )absolute_import)division)unicode_literals)client)util)base)	resourcesc                   .    \ rS rSrSr\S 5       rS rSrg)Delete   a$  Delete a Membership Binding.

This command can fail for the following reasons:
* The Membership specified does not exist.
* The Membership Binding specified does not exist.
* The caller does not have permission to access the given Membership.
* The caller did not specify the location (--location) if referring to
location other than global.

## EXAMPLES

To delete Membership Binding `BINDING_NAME` in global Membership
`MEMBERSHIP_NAME` for a global membership:

  $ {command} BINDING_NAME --membership=MEMBERSHIP_NAME

To delete a Binding `BINDING_NAME` associated with regional membership
`MEMBERSHIP_NAME`, provide the location LOCATION_NAME for the Membership where
the Binding belongs along with the membership name.

$ {command} BINDING_NAME --membership=MEMBERSHIP_NAME --location=LOCATION_NAME
c                 n    [         R                  " U[        R                  U R	                  5          SS9  g )NzrName of the Membership Binding to be deleted.Must comply with RFC 1123 (up to 63 characters, alphanumeric and '-'))api_versionbinding_help)r	   AddMembershipBindingResourceArgr   VERSION_MAPReleaseTrack)clsparsers     :lib/surface/container/fleet/memberships/bindings/delete.pyArgsDelete.Args3   s/    --$$S%5%5%7802    c                     [         R                  " U R                  5       S9nUR                  [        R
                  " U5      5      $ )N)release_track)r   FleetClientr   DeleteMembershipBindingr	   MembershipBindingResourceName)selfargsfleetclients      r   Run
Delete.Run<   s<    $$43D3D3FGK..//57 7r    N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r!   __static_attributes__r#   r   r   r   r      s     . 2 27r   r   N)r(   
__future__r   r   r   &googlecloudsdk.api_lib.container.fleetr   r   googlecloudsdk.callioper   *googlecloudsdk.command_lib.container.fleetr	   DeleteCommandr   r#   r   r   <module>r0      s1    . &  ' 9 7 ( @$7T $7r   