ó
    €Ï‰  ã                   ó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)ÚEnableé   a%  Enable 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 enable the feature.

## EXAMPLES

The following command enables the `observability` feature:

  $ {command} observability
c                 ó.   • U R                  S[        SS9  g )NÚfeaturez"Name of the feature to be enabled.)ÚchoicesÚhelp)Úadd_argumentr   )Úparsers    Ú,lib/surface/microservices/features/enable.pyÚArgsÚEnable.Args&   s   € à
×ÑØÜ"Ø1ð ò 3ó    c                 óp  • [         R                  R                  R                  R	                  5       nSU-   S-   n[
        R                  " 5       n[
        R                  " 5       nUR                  UUR                  UR                  US-   UR                  -   S9S9nUR                  R                  U5      $ )Nz	projects/z/locations/globalz
/features/)Úname)ÚparentÚ	featureIdr   )r   ÚVALUESÚcoreÚprojectÚGetr   ÚGetClientInstanceÚGetMessagesModuleÚ3MicroservicesProjectsLocationsFeaturesCreateRequestr   ÚFeatureÚprojects_locations_featuresÚCreate)ÚselfÚargsr   r   ÚclientÚmessage_moduleÚrequests          r   ÚRunÚ
Enable.Run-   s«   € Ü×Ñ×$Ñ$×,Ñ,×0Ñ0Ó2€GØ˜7Ñ"Ð%8Ñ8€FÜ×#Ò#Ó%€FÜ×+Ò+Ó-€NØ×PÑPØØ—,‘,Ø×&Ñ&¨F°\Ñ,AØ'+§|¡|ñ-4Ð&ð 5ð Qð 6€Gð
 ×-Ñ-×4Ñ4°WÓ=Ð=r   © N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ústaticmethodr   r'   Ú__static_attributes__r)   r   r   r   r      s    † ñð ñ3ó ð3õ
>r   r   N)r.   Ú$googlecloudsdk.api_lib.microservicesr   Úgooglecloudsdk.callioper   Úgooglecloudsdk.corer   Úsurface.microservices.featuresr   ÚCreateCommandr   r)   r   r   Ú<module>r6      s*   ðñ 1õ 6Ý (Ý *Ý =ô>ˆT×Ñõ >r   