Generates a signed url for downloading the asset.
HTTP request
POST https://visionai.googleapis.com/v1/{name=projects/*/locations/*/corpora/*/assets/*}:generateRetrievalUrl
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the asset to request signed url for. Format: |
Request body
The request body must be empty.
Response body
Response message for assets.generateRetrievalUrl API.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "signedUri": string } |
Fields | |
---|---|
signedUri |
A signed url to download the content of the asset. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.