
                            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r
Sr\R                  \R                  " \R                  R                  5       " S	 S
\R                   5      5       5       r\R                  \R$                  \R                  " \R                  R&                  5       " S S\R                   5      5       5       5       rg)z-services mcp content-security remove command.    )services_util)serviceusage)base)common_flags)
propertieszprojects/%sz/contentSecurityPolicies/%sc                   .    \ rS rSrSr\S 5       rS rSrg)RemoveAlpha   ^  Remove MCP content security provider of a project.

Remove MCP content security provider of a project.

## EXAMPLES

Remove MCP content security provider of a project:

  $ {command} my-mcp-content-security-provider

Remove MCP content security provider of a project `my-project`:

  $ {command} my-mcp-content-security-provider --project=my-project
c                 J    [         R                  " SS9R                  U 5        g Nz	to remove)suffixr   "mcp_content_security_provider_flagAddToParserparsers    3lib/surface/services/mcp/content_security/remove.pyArgsRemoveAlpha.Args-       33k&    c                    UR                  S5      (       a  [        UR                  -  nO:[        R                  R
                  R                  R                  SS9n[        U-  n[        R                  " UR                  U[        S-  -   5      n[        R                  " UR                  [        R                  5      n[        R                  " U5        gzRun command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  The content security providers for a project.
projectT)requireddefaultNIsSpecified_PROJECT_RESOURCEr   r   VALUEScoreGetr   RemoveContentSecurityProvidermcp_content_security_provider _CONTENT_SECURITY_POLICY_DEFAULTr   WaitOperationnameGetOperationV2BetaPrintOperationselfargsresource_namer   ops        r   RunRemoveAlpha.Run3        	""'$,,6m!!&&..22D2Ag''1m		3	3**89DD
B 
	$	$RWWl.M.M	NB  $r    N	__name__
__module____qualname____firstlineno____doc__staticmethodr   r0   __static_attributes__r3   r   r   r	   r	      s       
%r   r	   c                   .    \ rS rSrSr\S 5       rS rSrg)RemoveM   r   c                 J    [         R                  " SS9R                  U 5        g r   r   r   s    r   r   Remove.Args`   r   r   c                    UR                  S5      (       a  [        UR                  -  nO:[        R                  R
                  R                  R                  SS9n[        U-  n[        R                  " UR                  U[        S-  -   5      n[        R                  " UR                  [        R                  5      n[        R                  " U5        gr   r   r+   s        r   r0   
Remove.Runf   r2   r   r3   Nr4   r3   r   r   r=   r=   M   s       
%r   r=   N)r9   googlecloudsdk.api_lib.servicesr   r   googlecloudsdk.callioper   #googlecloudsdk.command_lib.servicesr   googlecloudsdk.corer   r    r&   UniverseCompatibleReleaseTracksReleaseTrackALPHACommandr	   HiddenBETAr=   r3   r   r   <module>rN      s    4 9 8 ( < *! #@   D%%++,,%$,, ,% - ,%` D%%**+,%T\\ ,% ,  ,%r   