
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ej                  j                  Zej                  j                  dej                  j                  diZee   Z G d	 d
e      Zd Zy)z;Common utility functions for getting the Looker API client.    )absolute_import)division)unicode_literals)apis)basev1alpha2v1c                       e Zd ZdZd Zy)LookerClientz7Wrapper for looker API client and associated resources.c                 Z    t         |   }|| _        t        j                  d|      | _        y )Nlooker)VERSION_MAPrelease_trackr   GetClientInstancelooker_client)selfr   api_versions      *lib/googlecloudsdk/api_lib/looker/utils.py__init__zLookerClient.__init__$   s)    m,K&D//+FD    N)__name__
__module____qualname____doc__r    r   r   r   r   !   s    ?Gr   r   c                 @    t         |    }t        j                  d|      S )z-Returns the message module for release track.r   )r   r   GetMessagesModule)r   r   s     r   r   r   *   s    M*+			+	66r   N)r   
__future__r   r   r   googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper   ReleaseTrackGADEFAULT_RELEASE_TRACKALPHAr   API_VERSION_DEFAULTobjectr   r   r   r   r   <module>r'      sx    B &  ' , ( )),, Z$ ""78 G6 G7r   