Provides a base impementation for uploads.

Abstract
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 __construct(Google\Cloud\Core\RequestWrapper $requestWrapper, $data, $uri, array $options = [])
 


    public buildUriWithQuery( $uri, array $query)
     


    • return UriInterface
    public expandUri( $uri, array $variables)
     


    • return string
    • todo look at returning UriInterface
    public abstract upload()
     


    • return array
    Properties
    protected $chunkSize
     


    • var int
    protected $contentType
     


    • var string
    protected $data
     


    • var StreamInterface
    protected $metadata
     


    • var array
    protected $requestOptions
     


    • var array
    protected $requestWrapper
     


    • var RequestWrapper
    protected $uri
     


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