Path within 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
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 creates a URL that can be used as the target for a POST form, allowing file uploads."],["The `success_path` argument determines the application path that will be called upon successful completion of the POST request and upload."],["You can set limits on the size of individual blobs (`max_bytes_per_blob`) and the total size of all blobs uploaded (`max_bytes_total`)."],["Blobs can be uploaded to a specific Google Cloud Storage bucket by providing the `gs_bucket_name`."],["The function returns the URL to which the POST form should be submitted for the file upload."]]],[]]