Skip to content

Commit 9f776c7

Browse files
author
Google Earth Engine Authors
committed
Update docs and changelog to make the new policy around valid Cloud Storage buckets clear.
PiperOrigin-RevId: 691485759
1 parent d85aaff commit 9f776c7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

python/ee/blob.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ def __init__(self, url: _arg_types.String):
3535
"""Creates a Blob wrapper.
3636
3737
Args:
38-
url: Where to fetch the blob on GCS. Must start with "gs://". This must
39-
be a python str or a ComputedObject that returns an ee.String.
38+
url: Where to fetch the blob on GCS. Must start with "gs://". This must be
39+
a python str or a ComputedObject that returns an ee.String. The bucket
40+
metadata must be accessible (check the storage.buckets.get permission)
41+
and the bucket must be located in the US multi-region, a dual-region
42+
including US-CENTRAL1, or the US-CENTRAL1 region.
4043
"""
4144
self.initialize()
4245

python/ee/image.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2520,7 +2520,10 @@ def loadGeoTIFF(uri: _arg_types.String) -> Image:
25202520
"""Returns an image from a GeoTIFF in Cloud Storage.
25212521
25222522
Args:
2523-
uri: The Cloud Storage URI of the GeoTIFF to load.
2523+
uri: The Cloud Storage URI of the GeoTIFF to load. The bucket metadata
2524+
must be accessible (check the storage.buckets.get permission) and the
2525+
bucket metadata must be located in the US multi-region, a dual-region
2526+
including US-CENTRAL1, or the US-CENTRAL1 region.
25242527
"""
25252528

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

0 commit comments

Comments
 (0)