Is there a python equivalent to the getPublicUrl PHP method?
$public_url = CloudStorageTools::getPublicUrl(\"gs://my_bucket/some_file.txt\", true); >
$public_url = CloudStorageTools::getPublicUrl(\"gs://my_bucket/some_file.txt\", true);
You need to use get_serving_url from the Images API. As that page explains, you need to call create_gs_key() first to get the key to pass to the Images API.
create_gs_key()