
                             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	  \R                  \R                  \R                  " \R                  R                  5       " S S\R                  5      5       5       5       rg	)
z(api registry mcp server disable command.    )	resources)services_util)serviceusage)base)logc                   .    \ rS rSrSr\S 5       rS rSrg)Disable   ?Disables MCP Server for a given service in the current project.c                 $    U R                  SSS9  g )NservicezThe MCP server to disable.)help)add_argument)parsers    'lib/surface/api_registry/mcp/disable.pyArgsDisable.Args    s    
)      c                 J   [         R                  " [        R                  " 5       UR                  5      n[
        R                  " UR                  [         R                  5      n[
        R                  " U5        [        R                  R                  SUR                  5        g)r   z MCP Server disabled for service:N)r   RemoveMcpEnableRuler   GetProjectIdr   r   WaitOperationnameGetOperationV2BetaPrintOperationr   statusPrint)selfargsops      r   RunDisable.Run'   sj    		)	) 
B
 
	$	$RWWl.M.M	NB  $JJ7Fr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r!   __static_attributes__r#   r   r   r	   r	      s      H 
Gr   r	   N)r(   #googlecloudsdk.api_lib.api_registryr   googlecloudsdk.api_lib.servicesr   r   googlecloudsdk.callioper   googlecloudsdk.corer   UniverseCompatibleHiddenReleaseTracksReleaseTrackALPHASilentCommandr	   r#   r   r   <module>r5      sn     / 9 9 8 ( # D%%++,Gd   G -  Gr   