Creating storage object with the download url, then deleting the object #639
Labels
api: storage
Issues related to the Cloud Storage API.
type: question
Request for information or clarification. Not an issue.
I have a table of image file public urls that once they reach a certain age need to be automatically deleted. So far my attempts have failed. The examples i've found only show creating file objects using bucket, folder, and filename. I'm needing to create the storage object via the public url (as done in the Android library. i.e. getReferenceFromUrl(fileUrl)). How is this done?
composer require google/cloud-storage
print_r($url[0]); gives valid public url but I'm getting this error on object creation/deletion
The text was updated successfully, but these errors were encountered: