Skip to content

Commit

Permalink
Update docstrings with the new policy on valid Cloud Storage buckets.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 693074290
  • Loading branch information
Google Earth Engine Authors committed Nov 4, 2024
1 parent d85aaff commit 3ce3de0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 5 additions & 2 deletions python/ee/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ def __init__(self, url: _arg_types.String):
"""Creates a Blob wrapper.
Args:
url: Where to fetch the blob on GCS. Must start with "gs://". This must
be a python str or a ComputedObject that returns an ee.String.
url: Where to fetch the blob on GCS. Must start with "gs://". This must be
a python str or a ComputedObject that returns an ee.String. The bucket
metadata must be accessible (check the storage.buckets.get permission)
and the bucket must be located in the US multi-region, a dual-region
including US-CENTRAL1, or the US-CENTRAL1 region.
"""
self.initialize()

Expand Down
5 changes: 4 additions & 1 deletion python/ee/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -2520,7 +2520,10 @@ def loadGeoTIFF(uri: _arg_types.String) -> Image:
"""Returns an image from a GeoTIFF in Cloud Storage.
Args:
uri: The Cloud Storage URI of the GeoTIFF to load.
uri: The Cloud Storage URI of the GeoTIFF to load. The bucket metadata
must be accessible (check the storage.buckets.get permission) and the
bucket metadata must be located in the US multi-region, a dual-region
including US-CENTRAL1, or the US-CENTRAL1 region.
"""

return apifunction.ApiFunction.call_('Image.loadGeoTIFF', uri)
Expand Down

0 comments on commit 3ce3de0

Please sign in to comment.