
                         N    S r SSKJr  SSKJr  SSKJr  SSKJr   " S S\5      rg)	z)API Library for `gcloud tasks locations`.    )absolute_import)division)unicode_literals)
list_pagerc                   .    \ rS rSrSrS rS rSS jrSrg)		Locations   z4Client for locations service in the Cloud Tasks API.c                     Xl         X l        g )N)messageslocations_service)selfr   r   s      -lib/googlecloudsdk/api_lib/tasks/locations.py__init__Locations.__init__   s    M.    c                     U R                   R                  UR                  5       S9nU R                  R	                  U5      $ )Nname)r   %CloudtasksProjectsLocationsGetRequestRelativeNamer   Get)r   location_refrequests      r   r   Locations.Get   s?    mmAA&&( B *G!!%%g..r   Nc           	          U R                   R                  UR                  5       S9n[        R                  " U R
                  XCUSSS9$ )Nr   	locationspageSize)
batch_sizelimitfieldbatch_size_attribute)r   &CloudtasksProjectsLocationsListRequestr   r   YieldFromListr   )r   project_refr   	page_sizer   s        r   ListLocations.List$   sM    mmBB%%' C )G##U
< <r   )r   r   )Nd   )	__name__
__module____qualname____firstlineno____doc__r   r   r&   __static_attributes__ r   r   r   r      s    <//
<r   r   N)	r-   
__future__r   r   r   apitools.base.pyr   objectr   r/   r   r   <module>r3      s"    0 &  ' '< <r   