Property | Type | Description | |
---|---|---|---|
$chunkSize | integer | ||
$contentType | string | ||
$data | Psr\Http\Message\StreamInterface | ||
$metadata | array | ||
$requestOptions | array | ||
$requestWrapper | |||
$uri | string |
Method | Description | |
---|---|---|
__construct ( |
||
upload ( ) : array |
public __construct ( |
||
$requestWrapper | ||
$data | string | resource | Psr\Http\Message\StreamInterface | |
$uri | string | |
$options | array | [optional] { Optional configuration. @type array $metadata Metadata on the resource. @type int $chunkSize Size of the chunks to send incrementally during a resumable upload. Must be in multiples of 262144 bytes. @type array $httpOptions HTTP client specific configuration options. @type int $retries Number of retries for a failed request. **Defaults to** `3`. @type string $contentType Content type of the resource. } |
protected StreamInterface,Psr\Http\Message $data | ||
return | Psr\Http\Message\StreamInterface |
protected RequestWrapper,Google\Cloud $requestWrapper | ||
return |