The path within the application to call when a POST call is
successful and the upload is complete.
max_bytes_per_blob
The maximum size in bytes that any one blob in the
upload can be, or None for no maximum size.
max_bytes_total
The maximum size in bytes that the aggregate sizes of all
of the blobs in the upload can be, or None for no maximum size.
rpc
Optional UserRPC object.
gs_bucket_name
The Google Cloud Storage bucket name to which the blobs
should be uploaded. The application's service account must have the
correct permissions to write to this bucket. The bucket name can be of
the format bucket/path/, in which case the included path will be
prepended to the uploaded object name.
Returns
A UserRPC whose result will be the upload URL.
Raises
TypeError
If max_bytes_per_blob or max_bytes_total are not integral
types.
ValueError
If max_bytes_per_blob or max_bytes_total are not
positive values.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-09-30 UTC."],[[["This function, `create_upload_url_async`, asynchronously generates a URL for POST form uploads."],["The `success_path` argument defines the application path to be called upon successful upload completion."],["You can limit the size of individual blobs using `max_bytes_per_blob` and the combined size of all blobs via `max_bytes_total`."],["You may specify a Google Cloud Storage bucket for uploads with the `gs_bucket_name` argument, requiring appropriate service account permissions."],["The function returns a UserRPC object, which will contain the upload URL as its result."]]],[]]