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

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.

Namespace

Google \ Cloud \ Core \ Upload

Methods

upload

Triggers the upload process.

Parameter
Name Description
writeSize mixed
Returns
Type Description
array

uploadAsync

Currently only the MultiPartUploader supports async.

Any calls to this will throw a generic Google Exception.

Returns
Type Description
GuzzleHttp\Promise\PromiseInterface