Ability to fetch a GCS file given a URL #21550
Labels
api: storage
Issues related to the Cloud Storage API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
Given a
gs://bucket/path?generation=...
URL, it would be nice to be able to fetch a file without needing to manually split the URL into pieces.Describe the solution you'd like
A method could exist to do the splitting automatically and fetch the specified file. For example:
Google::Cloud::Storage#file_from_url
Google::Cloud::Storage::File.from_url
Describe alternatives you've considered
The current approach involves manually extracting the pieces of the URL to construct
The text was updated successfully, but these errors were encountered: