
                          z    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
  G d d	ej                        Zy
)z0The `gcloud compute shared-vpc disable` command.    )absolute_import)division)unicode_literals)xpn_api)base)flagsc                   .    e Zd ZdZddiZed        Zd Zy)DisablezDisable the given project as a shared VPC host.

  That is, after running this command, this project will not be able to share
  VPC networks to other projects.
  EXAMPLESzr
          To disable the project `myproject` as a shared VPC host, run:

            $ {command} myproject
      c                 L    t        j                  d      j                  |        y )Nzdisable as a shared VPC host)r   GetProjectIdArgumentAddToParser)parsers    )lib/surface/compute/shared_vpc/disable.pyArgszDisable.Args*   s    	=>JJ    c                     t        j                  | j                               }|j                  |j                         y )N)r   GetXpnClientReleaseTrackDisableHostproject)selfargs
xpn_clients      r   RunzDisable.Run/   s-    %%d&7&7&9:J4<<(r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r
   r
      s1     
-  )r   r
   N)r   
__future__r   r   r   googlecloudsdk.api_lib.computer   googlecloudsdk.callioper   &googlecloudsdk.command_lib.compute.xpnr   Commandr
   r"   r   r   <module>r(      s,    7 &  ' 2 ( 8)dll )r   