Asynchronously creates an encoded key for a Google Cloud Storage file.
View aliases
Main aliases
`google.appengine.api.blobstore.blobstore.create_gs_key_async`
google.appengine.api.blobstore.create_gs_key_async(
filename, rpc=None
)
It is safe to persist this key for future use.
Args |
filename
|
The file name of the Google Cloud Storage object for which you
want to create the key.
|
rpc
|
Optional UserRPC object.
|
Returns |
A UserRPC whose result will be a string as returned by create_gs_key() .
|
Raises |
TypeError
|
If filename is not a string.
|
ValueError
|
If filename is not in the format
/gs/bucket_name/object_name .
|