Google cloud storage signed url chunked download In python?
问题 I'd like to do the following functionality: service = get_service('storage', 'v1', auth) data = BytesIO() request = service.objects().get_media(bucket=bucket, object=filename) media = MediaIoBaseDownload(data, request, chunksize=chunksize) But with a signed URL instead if a bucket and object. How do I chunk download a signed url in python? 回答1: You can create s Signed URL either using gsutil or writing your own code to generate it. I have tested it using this: gsutil signurl -d 10m my-key