o
    €ÏÃ  ã                   @   s€   d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ G dd„ dejƒZ	G d	d
„ d
ejƒZ
G dd„ dejƒZdddœZdS )z,Some utilities intended for use around apis.é    )Úabsolute_import)Údivision)Úunicode_literalsN)Ú
exceptionsc                       ó    e Zd ZdZ‡ fdd„Z‡  ZS )ÚUnknownAPIErrorzUnable to find API in APIs map.c                    s   t t| ƒ d |¡¡ d S )Nz.API named [{0}] does not exist in the APIs map)Úsuperr   Ú__init__Úformat)ÚselfÚapi_name©Ú	__class__© úB/tmp/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/apis_util.pyr	      s   
ÿzUnknownAPIError.__init__©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   Ú__classcell__r   r   r   r   r      ó    r   c                       r   )ÚUnknownVersionErrorz'Unable to find API version in APIs map.c                    s   t t| ƒ d ||¡¡ d S )Nz9The [{0}] API does not have version [{1}] in the APIs map)r   r   r	   r
   )r   r   Úapi_versionr   r   r   r	   &   s
   
ÿÿzUnknownVersionError.__init__r   r   r   r   r   r   #   r   r   c                   @   s   e Zd ZdZdZdZdZdS )ÚGapicTransportzEnum options for Gapic Clients.é   é   é   N)r   r   r   r   ÚGRPCÚGRPC_ASYNCIOÚRESTr   r   r   r   r   ,   s
    r   ÚsqladminÚstoragetransfer)ÚsqlÚtransfer)r   Ú
__future__r   r   r   ÚenumÚgooglecloudsdk.corer   ÚErrorr   r   ÚEnumr   Ú_API_NAME_ALIASESr   r   r   r   Ú<module>   s   	
þ