Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class StreamableUploader (1.49.3)

Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class StreamableUploader.

Uploader that is a special case of the ResumableUploader where we can write the file contents in a streaming manner.

Methods

upload

Triggers the upload process.

Parameter
NameDescription
writeSize mixed
Returns
TypeDescription
array

uploadAsync

Currently only the MultiPartUploader supports async.

Any calls to this will throw a generic Google Exception.

Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface