
                         N    d 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      Zy)	z1Distributed Cloud Edge Network interconnects API.    )absolute_import)division)unicode_literals)utilsc                       e Zd ZdZddZd Zy)InterconnectsClientz2Client for private connections service in the API.Nc                     |xs t        j                  |      | _        |xs t        j                  |      | _        | j                  j
                  | _        y )N)r   GetClientInstance_clientGetMessagesModule	_messages&projects_locations_zones_interconnects_service)selfrelease_trackclientmessagess       Olib/googlecloudsdk/api_lib/edge_cloud/networking/interconnects/interconnects.py__init__zInterconnectsClient.__init__   sA    CU44]CDLG!8!8!GDNLLGGDM    c                     | j                   j                  |j                               }| j                  j	                  |      S )z+Get the status of a specified interconnect.)name)r   =EdgenetworkProjectsLocationsZonesInterconnectsDiagnoseRequestRelativeNamer   Diagnose)r   interconnect_refget_interconnect_status_reqs      r   	GetStatuszInterconnectsClient.GetStatus    s?    "&.."n"n**, #o #.==!!"=>>r   )NN)__name__
__module____qualname____doc__r   r    r   r   r   r      s    :H
?r   r   N)	r"   
__future__r   r   r   ,googlecloudsdk.api_lib.edge_cloud.networkingr   objectr   r#   r   r   <module>r'      s"    8 &  ' >?& ?r   