
                             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dl	m
Z
 ddl	mZ  G d d	ej                  ej                  e
j                        Zy
)z8Disables content template library for Policy Controller.    )absolute_import)division)unicode_literals)base)command)contentc                   .    e Zd ZdZdZdZed        Zd Zy)Disablea  Disable template installation for Policy Controller content.

  The Google-defined template library can be installed onto Policy Controller
  installations. This command removes that template library.

  ## EXAMPLES

  To remove the template library:

    $ {command}
  policycontrollerc                 P    t        j                  |d      }|j                          y )Nenable)r   Flagsadd_memberships)clsparser	cmd_flagss      Ilib/surface/container/fleet/policycontroller/content/templates/disable.pyArgszDisable.Args*   s    fh/I    c                     t        j                  || j                        }| j                  |d      }|j	                         D ci c]  \  }}||j                  |       }}}| j                  |      S c c}}w )NT)r   
FlagParsermessages
path_specsitemsuninstall_template_libraryupdate_specs)selfargsr   specspathpoco_cfgupdated_specss          r   RunzDisable.Run/   s|    dmm4FOOD$'E $kkm+ND( 	f//99+   ]++	s   A6N)	__name__
__module____qualname____doc__feature_namemf_nameclassmethodr   r#    r   r   r
   r
      s*    
 $,'   ,r   r
   N)r'   
__future__r   r   r   3googlecloudsdk.command_lib.container.fleet.featuresr   =googlecloudsdk.command_lib.container.fleet.membershipfeaturesmf_base;googlecloudsdk.command_lib.container.fleet.policycontrollerr   r   UpdateCommandPocoCommandr
   r+   r   r   <module>r3      sA    ? &  ' D Y O O,d  '"7"79L9L ,r   