
    	                     x   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                  5       " S S\R                  5      5       5       r\R                  \R                  " \R                  R                   5       " S	 S
\R                  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)DisableAlpha   ?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DisableAlpha.Args       
)      c                 &   [         R                  " [        R                  " 5       UR                  5      nUc  g[
        R                  " UR                  [         R                  5        [        R                  R                  SUR                  5        gr   Nz MCP Server disabled for service:r   RemoveMcpEnableRuler   GetProjectIdr   r   WaitOperationnameGetOperationV2Betar   statusPrintselfargsops      r   RunDisableAlpha.Run&   d    		)	) 
B
 
z)H)HI JJ7Fr    N	__name__
__module____qualname____firstlineno____doc__staticmethodr   r'   __static_attributes__r*   r   r   r	   r	            H Gr   r	   c                   .    \ rS rSrSr\S 5       rS rSrg)DisableBeta6   r   c                 $    U R                  SSS9  g r   r   r   s    r   r   DisableBeta.Args;   r   r   c                 &   [         R                  " [        R                  " 5       UR                  5      nUc  g[
        R                  " UR                  [         R                  5        [        R                  R                  SUR                  5        gr   r   r#   s      r   r'   DisableBeta.RunB   r)   r   r*   Nr+   r*   r   r   r5   r5   6   r3   r   r5   N)r0   #googlecloudsdk.api_lib.api_registryr   googlecloudsdk.api_lib.servicesr   r   googlecloudsdk.callioper   googlecloudsdk.corer   DefaultUniverseOnlyReleaseTracksReleaseTrackALPHASilentCommandr	   BETAr5   r*   r   r   <module>rE      s     / 9 9 8 ( # D%%++,G4%% G - G4 D%%**+G$$$ G , Gr   