
                         N    S r SSKJr  SSKJr  SSKJr  SSKJr   " S S\5      rg)	zInterconnect Remote Location.    )absolute_import)division)unicode_literals)path_simplifierc                   X    \ rS rSrSrSS jr\S 5       r\S 5       rS r	S r
SS	 jrS
rg)InterconnectRemoteLocation   z0Abstracts Interconnect Remote Location resource.Nc                     Xl         X l        g N)ref_compute_client)selfr   compute_clients      Klib/googlecloudsdk/api_lib/compute/interconnects/remote_locations/client.py__init__#InterconnectRemoteLocation.__init__   s    H)    c                 .    U R                   R                  $ r   )r   apitools_clientr   s    r   _client"InterconnectRemoteLocation._client   s    ///r   c                 .    U R                   R                  $ r   )r   messagesr   s    r   	_messages$InterconnectRemoteLocation._messages#   s    (((r   c                 X    S nUR                    Vs/ s H  nU" U5      PM     sn$ s  snf )Nc                 F    S[         R                  " U R                  5      0$ )NinterconnectLocation)r   Namer   )permitted_connections    r   PermittedConnectionYInterconnectRemoteLocation._MapInterconnectLocationUrlToName.<locals>.PermittedConnection)   s$    
 ""#7#L#LM r   )permittedConnections)r   resourcer"   r!   s       r   !_MapInterconnectLocationUrlToName<InterconnectRemoteLocation._MapInterconnectLocationUrlToName'   s;     %-$A$A$A  	01$A  s   'c                     U R                   R                  SU R                  R                  U R                  R
                  U R                  R                  5       S94$ )NGet)projectinterconnectRemoteLocation)r   interconnectRemoteLocationsr   ,ComputeInterconnectRemoteLocationsGetRequestr   r*   r    r   s    r   _MakeDescribeRequestTuple4InterconnectRemoteLocation._MakeDescribeRequestTuple4   sM    LL44eNNGG((+/88==? H <= =r   c                     U R                  5       /nU(       dI  U R                  R                  U5      nUS   nUR                  (       a  U R	                  U5      Ul        U$ U$ )Nr   )r.   r   MakeRequestsr$   r&   )r   only_generate_requestrequests	resourcesr%   s        r   Describe#InterconnectRemoteLocation.Describe:   s^    ..01H &&33H=i1h		&	&(,(N(N)%oOr   )r   r   r   )F)__name__
__module____qualname____firstlineno____doc__r   propertyr   r   r&   r.   r5   __static_attributes__ r   r   r   r      sA    8* 0 0 ) )=	r   r   N)	r;   
__future__r   r   r   googlecloudsdk.api_lib.computer   objectr   r>   r   r   <module>rB      s"    $ &  ' :+ +r   