Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class SignedUrlUploader (1.53.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.53.0 keyboard_arrow_down
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
Namespace
Google \ Cloud \ Core \ Upload
Methods
__construct
data
string|resource| Psr\Http\Message\StreamInterface
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 0
.
↳ retries
int
Number of retries for a failed request. Defaults to 3
.
↳ 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-08 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]