@@ -233,18 +233,29 @@ def skip_bq_connection_check(self, value: bool):
233233 def use_regional_endpoints (self ) -> bool :
234234 """Flag to connect to regional API endpoints.
235235
236- .. deprecated:: 0.13.0
237- Use of regional endpoints is a feature in Preview and
238- available only in selected regions and projects.
236+ .. note::
237+ Use of regional endpoints is a feature in Preview and available only
238+ in regions "europe-west3", "europe-west9", "europe-west8",
239+ "me-central2", "us-east4" and "us-west1".
239240
240- Requires that ``location`` is set. For example, to connect to
241- asia-northeast1-bigquery.googleapis.com, specify
242- ``location='asia-northeast1'`` and ``use_regional_endpoints=True``.
241+ .. deprecated:: 0.13.0
242+ Use of locational endpoints is available only in selected projects.
243+
244+ Requires that ``location`` is set. For supported regions, for example
245+ ``europe-west3``, you need to specify ``location='europe-west3'`` and
246+ ``use_regional_endpoints=True``, and then BigQuery DataFrames would
247+ connect to the BigQuery endpoint ``bigquery.europe-west3.rep.googleapis.com``.
248+ For not supported regions, for example ``asia-northeast1``, when you
249+ specify ``location='asia-northeast1'`` and ``use_regional_endpoints=True``,
250+ a different endpoint (called locational endpoint, now deprecated, used
251+ to provide weaker promise on the request remaining within the location
252+ during transit) ``europe-west3-bigquery.googleapis.com`` would be used.
243253
244254 Returns:
245255 bool:
246- A boolean value, where True indicates that a location is set;
247- otherwise False.
256+ A boolean value, where True indicates that regional endpoints
257+ would be used for BigQuery and BigQuery storage APIs; otherwise
258+ global endpoints would be used.
248259 """
249260 return self ._use_regional_endpoints
250261
0 commit comments