
    (	                         d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ de	fdZ
 ej                  ej                  j                         G d d	ej                               Zy
)z2The command to create Namespace Actuation Feature.    )absolute_import)division)unicode_literals)basereturnc                 (    | dk(  ry| dk(  ry| dk(  ryy )NunspecifiedACTUATION_MODE_UNSPECIFIEDcreate-and-delete-if-created+ACTUATION_MODE_CREATE_AND_DELETE_IF_CREATEDadd-and-remove-fleet-labels*ACTUATION_MODE_ADD_AND_REMOVE_FLEET_LABELS )modes    8lib/surface/container/fleet/namespaceactuation/create.pyModeEnumTranslationr      s*    	]'	++8	**7 +    c                   *    e Zd ZdZdZed        Zd Zy)CreatezCreate Namespace Actuation Feature.

  This command creates Namespace Actuation Feature in a fleet.

  ## EXAMPLES

  To create the Namespace Actuation Feature, run:

    $ {command}
  namespaceactuationc                 <    |j                  dt        dg dd       y )Nz--actuation-moder	   )r	   r   r   z1The actuation mode that can the feature will use.)typedefaultchoiceshelp)add_argumentstr)clsparsers     r   ArgszCreate.Args1   s)    


 E  
r   c                 2   | j                   j                  | j                   j                  | j                   j                  | j                   j                  j	                  t        |j                                                }| j                  |       y )N)actuationMode)r   )spec)messagesFeatureCommonFeatureSpecNamespaceActuationFeatureSpecActuationModeValueValuesEnumr   actuation_modeEnable)selfargsfeatures      r   Runz
Create.Run?   s~    mm##]],,#}}JJ"mmIIff'(;(;<  K   - 
 $ G 	KKr   N)__name__
__module____qualname____doc__feature_nameclassmethodr    r.   r   r   r   r   r   "   s%    	 &, 
r   r   N)r2   
__future__r   r   r   googlecloudsdk.callioper   calliope_base3googlecloudsdk.command_lib.container.fleet.featuresr   r   ReleaseTracksReleaseTrackALPHAEnableCommandr   r   r   r   <module>r=      s_    9 &  ' 9 D8 8 ]77==>&T & ?&r   