Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class SignedUrlUploader.
Upload data to Cloud Storage using a Signed URL
Methods
__construct
Parameters | |
---|---|
Name | Description |
requestWrapper |
Google\Cloud\Core\RequestWrapper
|
data |
string|resource|Psr\Http\Message\StreamInterface
|
uri |
string
|
options |
array
Optional configuration. |
↳ metadata |
array
Metadata on the resource. |
↳ chunkSize |
int
Size of the chunks to send incrementally during a resumable upload. Must be in multiples of 262144 bytes. |
↳ restOptions |
array
HTTP client specific configuration options. |
↳ requestTimeout |
float
Seconds to wait before timing out the request. Defaults to |
↳ retries |
int
Number of retries for a failed request. Defaults to |
↳ contentType |
string
Content type of the resource. |
↳ origin |
string
If the target has Cross-Origin Resource Sharing enabled, the value of the Origin header to be used in upload requests. |