---
title: "POST /v2/{+name}:generateDownloadUrl"
method: POST
path: "/v2/{+name}:generateDownloadUrl"
tags: ["projects"]
---

# POST /v2/{+name}:generateDownloadUrl

`POST /v2/{+name}:generateDownloadUrl`

Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls

## Path parameters

- `name` string, required

## Request body

- GenerateDownloadUrlRequest — Request of `GenerateDownloadUrl` method.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/cloudfunctions.md) · [All operations](https://skmtc.dev/google/apis/cloudfunctions/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/cloudfunctions/revisions/3063be097e80/schema)
