
                         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
)z@The `gcloud compute shared-vpc associated-projects add` 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)AddzAAssociate the given project with a given shared VPC host project.EXAMPLESz
          To add the project `service-project` as an associated service
          project of the shared VPC host project `host-project`, run:

            $ {command} --host-project=host-project service-project
      c                     t        j                  d      j                  |        t        j                  d      j                  |        y )Nzadd to the host projectzadd an associated project to)r   GetProjectIdArgumentAddToParserGetHostProjectFlag)parsers    9lib/surface/compute/shared_vpc/associated_projects/add.pyArgszAdd.Args'   s6    	89EEfM	;<HHP    c                     t        j                  | j                               }|j                  |j                  |j
                         y )N)r   GetXpnClientReleaseTrackEnableXpnAssociatedProjecthost_projectproject)selfargs
xpn_clients      r   RunzAdd.Run,   s5    %%d&7&7&9:J))$*;*;T\\Jr   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r
   r
      s2    I 
- Q QK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/    G &  ' 2 ( 8K$,, Kr   