
    [                     n    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  G d dej                        Z
y)	z*Utilities Service Directory locations API.    )absolute_import)division)unicode_literals)basec                   Z     e Zd ZdZej
                  j                  f fd	Zd Zd Z	 xZ
S )LocationsClientz2Client for locations in the Service Directory API.c                 b    t         t        |   |       | j                  j                  | _        y )N)superr   __init__clientprojects_locationsservice)selfrelease_track	__class__s     9lib/googlecloudsdk/api_lib/service_directory/locations.pyr   zLocationsClient.__init__   s#    	/4)-8;;11DL    c                     | j                   j                  |j                               }| j                  j	                  |      S )zLocations list request.name)msgs,ServicedirectoryProjectsLocationsListRequestRelativeNamer   List)r   project_reflist_reqs      r   r   zLocationsClient.List   s=    yyEE%%' F )H<<X&&r   c                     | j                   j                  |j                               }| j                  j	                  |      S )zLocations describe request.r   )r   +ServicedirectoryProjectsLocationsGetRequestr   r   Get)r   location_refdescribe_reqs      r   DescribezLocationsClient.Describe%   s=    99HH&&( I *L<<L))r   )__name__
__module____qualname____doc__r   ReleaseTrackGAr   r   r"   __classcell__)r   s   @r   r   r      s$    :#'#4#4#7#7 2'*r   r   N)r&   
__future__r   r   r   (googlecloudsdk.api_lib.service_directoryr   sd_basegooglecloudsdk.calliopeServiceDirectoryApiLibBaser    r   r   <module>r0      s+    1 &  ' D (*g88 *r   