
    G                     B    d Z ddlmZ ddlmZ ddlmZ  G d de      Zy)zInterconnect Location.    )absolute_import)division)unicode_literalsc                   F    e Zd ZdZddZed        Zed        Zd Zd	dZ	y)
InterconnectLocationz)Abstracts Interconnect Location resource.Nc                      || _         || _        y N)ref_compute_client)selfr
   compute_clients      Dlib/googlecloudsdk/api_lib/compute/interconnects/locations/client.py__init__zInterconnectLocation.__init__   s    DH)D    c                 .    | j                   j                  S r	   )r   apitools_clientr   s    r   _clientzInterconnectLocation._client   s    ///r   c                 .    | j                   j                  S r	   )r   messagesr   s    r   	_messageszInterconnectLocation._messages"   s    (((r   c                     | j                   j                  d| j                  j                  | j                  j
                  | j                  j                               fS )NGet)projectinterconnectLocation)r   interconnectLocationsr   &ComputeInterconnectLocationsGetRequestr
   r   Namer   s    r   _MakeDescribeRequestTuplez.InterconnectLocation._MakeDescribeRequestTuple&   sO    LL..NNAA((txx}} B PQ Qr   c                 l    | j                         g}|s | j                  j                  |      }|d   S |S )Nr   )r   r   MakeRequests)r   only_generate_requestrequests	resourcess       r   DescribezInterconnectLocation.Describe+   s;    ..01H &&33H=iq\Or   r	   )F)
__name__
__module____qualname____doc__r   propertyr   r   r   r%    r   r   r   r      s=    1* 0 0 ) )Q
r   r   N)r)   
__future__r   r   r   objectr   r+   r   r   <module>r.      s!     '  '6 r   