Ë
    €Ïâ  ã                   óV   — 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 d„ Z	d„ Z
d	„ Zy
)zGUseful commands for interacting with the Cloud Firestore Locations API.é    )Úabsolute_import)Údivision)Úunicode_literals)Ú
list_pager)Ú	api_utilsc                  ó>   — t        j                  «       j                  S )z[Returns the Firestore Location service for interacting with the Firestore Location service.)r   Ú	GetClientÚprojects_locations© ó    ú1lib/googlecloudsdk/api_lib/firestore/locations.pyÚ_GetLocationServicer      s   € ä	×	Ñ	Ó	×	1Ñ	1Ð1r   c                 ó¦   — t        j                  t        «       t        j                  «       j                  dj                  | «      ¬«      dd¬«      S )zžLists locations available to Google Cloud Firestore.

  Args:
    project: the project id to list locations, a string.

  Returns:
    a List of Locations.
  zprojects/{}©ÚnameÚ	locationsÚpageSize)ÚfieldÚbatch_size_attribute)r   ÚYieldFromListr   r   ÚGetMessagesÚ%FirestoreProjectsLocationsListRequestÚformat)Úprojects    r   ÚListLocationsr      sP   € ô 
×	!Ñ	!ÜÓÜ×ÑÓ×CÑCØ×#Ñ# GÓ,ð Dó ð Ø%ô
ð r   c                 ó˜   — t        «       j                  t        j                  «       j	                  dj                  | |«      ¬«      «      S )zùGets a location information for Google Cloud Firestore.

  Args:
    project: the project id to get the location information, a string.
    location: the location id to get the location information, a string.

  Returns:
    a Firestore Location.
  zprojects/{}/locations/{}r   )r   ÚGetr   r   Ú$FirestoreProjectsLocationsGetRequestr   )r   Úlocations     r   ÚGetLocationr    1   sG   € ô 
Ó	×	"Ñ	"Ü×ÑÓ×BÑBØ)×0Ñ0°¸(ÓCð Có ó
ð r   N)Ú__doc__Ú
__future__r   r   r   Úapitools.base.pyr   Ú googlecloudsdk.api_lib.firestorer   r   r   r    r   r   r   Ú<module>r%      s)   ðñ Nå &Ý Ý 'å 'Ý 6ò2ò
ó&r   