
    lCi                     J    S r SSKJr  SSKJr   " S S\R
                  5      rg)z<Create / interact with Google Cloud Translation connections.    )_http)__version__c                   B   ^  \ rS rSrSrSrS\4U 4S jjrSr SrSr	U =r
$ )	
Connection   aH  A connection to Google Cloud Translation API via the JSON REST API.

:type client: :class:`~google.cloud.translate.client.Client`
:param client: The client that owns the current connection.

:type client_info: :class:`~google.api_core.client_info.ClientInfo`
:param client_info: (Optional) instance used to generate user agent.
z"https://translation.googleapis.comNc                    > [         [        U ]  X5        X0l        [        U R
                  l        [        U R
                  l        g )N)superr   __init__API_BASE_URLr   _client_infogapic_versionclient_library_version)selfclientclient_infoapi_endpoint	__class__s       [/var/www/html/land-ocr/venv/lib/python3.13/site-packages/google/cloud/translate_v2/_http.pyr
   Connection.__init__!   s4    j$(=(*5'3>0    v2z5{api_base_url}/language/translate/{api_version}{path})r   )__name__
__module____qualname____firstlineno____doc__DEFAULT_API_ENDPOINTr
   API_VERSIONAPI_URL_TEMPLATE__static_attributes____classcell__)r   s   @r   r   r      s/     @+/>R ? KFN:r   r   N)r   google.cloudr   google.cloud.translate_v2r   JSONConnectionr    r   r   <module>r&      s#    C  1;%% ;r   