From d112f437aa5662792c2e13b1be20a6f81b13b032 Mon Sep 17 00:00:00 2001 From: Google Earth Engine Authors Date: Wed, 30 Oct 2024 11:10:37 -0700 Subject: [PATCH] Update docs and changelog to make the new policy around valid Cloud Storage buckets clear. PiperOrigin-RevId: 691485759 --- python/ee/blob.py | 7 +++++-- python/ee/image.py | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python/ee/blob.py b/python/ee/blob.py index 779a273f0..c5694949c 100644 --- a/python/ee/blob.py +++ b/python/ee/blob.py @@ -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() diff --git a/python/ee/image.py b/python/ee/image.py index 1e64b0b6b..2a5f1b85a 100644 --- a/python/ee/image.py +++ b/python/ee/image.py @@ -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)