Multipart upload implementation.

CloneableInstantiable
ExtendsGoogle\Cloud\Core\Upload\AbstractUploader
Constants
public Google\Cloud\Core\Upload\AbstractUploader::RESUMABLE_LIMIT = 5000000
public Google\Cloud\Core\Upload\AbstractUploader::UPLOAD_TYPE_MULTIPART = 'multipart'
public Google\Cloud\Core\Upload\AbstractUploader::UPLOAD_TYPE_RESUMABLE = 'resumable'
public Google\Cloud\Core\Upload\AbstractUploader::UPLOAD_TYPE_SIGNED = 'signed'
public Google\Cloud\Core\Upload\AbstractUploader::UPLOAD_TYPE_STREAMABLE = 'streamable'
Methods
public Google\Cloud\Core\Upload\AbstractUploader::__construct(Google\Cloud\Core\RequestWrapper $requestWrapper, $data, $uri, array $options = [])
 


    public Google\Cloud\Core\Upload\AbstractUploader::buildUriWithQuery( $uri, array $query)
     


    • return UriInterface
    public Google\Cloud\Core\Upload\AbstractUploader::expandUri( $uri, array $variables)
     


    • return string
    • todo look at returning UriInterface
    public upload()
     
    Triggers the upload process.

    • return array
    Properties
    protected Google\Cloud\Core\Upload\AbstractUploader::$chunkSize
     


    • var int
    protected Google\Cloud\Core\Upload\AbstractUploader::$contentType
     


    • var string
    protected Google\Cloud\Core\Upload\AbstractUploader::$data
     


    • var StreamInterface
    protected Google\Cloud\Core\Upload\AbstractUploader::$metadata
     


    • var array
    protected Google\Cloud\Core\Upload\AbstractUploader::$requestOptions
     


    • var array
    protected Google\Cloud\Core\Upload\AbstractUploader::$requestWrapper
     


    • var RequestWrapper
    protected Google\Cloud\Core\Upload\AbstractUploader::$uri
     


    • var string
    Methods
    private static jsonDecode( $json, $assoc = false, $depth = 512, $options = 0)
     


    • return mixed
    • throws InvalidArgumentException
    private static jsonEncode( $value, $options = 0, $depth = 512)
     


    • return string
    • throws InvalidArgumentException
    Methods
    private static jsonDecode( $json, $assoc = false, $depth = 512, $options = 0)
     


    • return mixed
    • throws InvalidArgumentException
    private static jsonEncode( $value, $options = 0, $depth = 512)
     


    • return string
    • throws InvalidArgumentException
    © 2020 Bruce Wells
    Search Namespaces \ Classes
    ConfigurationNumbers (0-9.) only