Class ResumableUpload (2.4.1)

ResumableUpload(upload_url, chunk_size, checksum=None, headers=None)

Inheritance

builtins.object > google.resumable_media.requests._request_helpers.RequestsMixin > builtins.object > google.resumable_media._upload.UploadBase > google.resumable_media._upload.ResumableUpload > ResumableUpload

Methods

initiate(transport, stream, metadata, content_type, total_bytes=None, stream_final=True, timeout=(61, 60))

initiate(transport, stream, metadata, content_type, total_bytes=None, stream_final=True, timeout=(61, 60))
Parameters
NameDescription
transport
stream
metadata
content_type
total_bytes
stream_final
timeout

recover(transport)

recover(transport)
Parameter
NameDescription
transport

transmit_next_chunk(transport, timeout=(61, 60))

transmit_next_chunk(transport, timeout=(61, 60))
Parameters
NameDescription
transport
timeout