
                         b    S 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 enable a microservices feature.    )util)base)
properties)SUPPORTED_FEATURESc                   .    \ rS rSrSr\S 5       rS rSrg)Disable   a(  Disable a microservices feature.

This command can fail for the following reasons:
* The feature specified does not exist.
* The active account does not have permission to disable the feature.

## EXAMPLES

The following command disables the `observability` feature:

  $ {command} observability
c                 .    U R                  S[        SS9  g )Nfeaturez#Name of the feature to be disabled.)choiceshelp)add_argumentr   )parsers    -lib/surface/microservices/features/disable.pyArgsDisable.Args&   s    
"2  4    c                 >   [         R                  R                  R                  R	                  5       nSU-   S-   n[
        R                  " 5       n[
        R                  " 5       nUR                  US-   UR                  -   S9nUR                  R                  U5      $ )Nz	projects/z/locations/globalz
/features/)name)r   VALUEScoreprojectGetr   GetClientInstanceGetMessagesModule3MicroservicesProjectsLocationsFeaturesDeleteRequestr   projects_locations_featuresDelete)selfargsr   parentclientmessage_modulerequests          r   RunDisable.Run-   s    $$,,002G7"%88F##%F++-NPPl"T\\1 Q 3G--44W==r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r%   __static_attributes__r'   r   r   r   r      s      4 4>r   r   N)r,   $googlecloudsdk.api_lib.microservicesr   googlecloudsdk.callioper   googlecloudsdk.corer   surface.microservices.featuresr   DeleteCommandr   r'   r   r   <module>r4      s*    1 6 ( * =>d   >r   