I got some problem while managing migration from PHP5 to PHP7. Actually, what I was doing with php5, to get an URL where upload a file, was something like this: I’ve uploaded the library and now I’m trying to use GoogleCloudStorageStorageClient I’ve converted the code above to something like this: I got a 403 FORBIDDEN error Some suggestions? In the
Tag: google-cloud-storage
Listing buckets in cloud storage project using PHP API
I’m trying to list out all (some, even) of the buckets in my storage project. If I know the name of a bucket, the “bucket” function will get the bucket. But I can’t use “buckets” …
Google Cloud Storage bucket->exists gives 403
I am trying to check if a bucket exists in Laravel PHP. I am getting a 403 on the exists() method. Why? See line 160 https://github.com/googleapis/google-cloud-php/blob/master/Storage/src/Bucket.php …