It would be very convenient if we could take a string such as gs://bucket_name/path/to/blob and download the content for it.
I propose we add a Blob.from_string classmethod, similar to BigQuery's TableReference.from_string method.
Since the Blob class requires a client object (via Bucket) to support downloads, I suggest both path and client are required arguments for Blob.from_string(path, client).
It would be very convenient if we could take a string such as
gs://bucket_name/path/to/bloband download the content for it.I propose we add a
Blob.from_stringclassmethod, similar to BigQuery'sTableReference.from_stringmethod.Since the
Blobclass requires a client object (via Bucket) to support downloads, I suggest bothpathandclientare required arguments forBlob.from_string(path, client).