Stay organized with collections
Save and categorize content based on your preferences.
Returns a signed URL for downloading deployed function source code. The
URL is only valid for a limited period and should be used within minutes
after generation. For more information about the signed URL usage see:
https://cloud.google.com/storage/docs/access-control/signed-urls
Arguments
Parameters
name
string
Required. The name of function for which source code Google Cloud Storage signed URL should be generated.
[[["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 2025-09-04 UTC."],[],[],null,["# Method: googleapis.cloudfunctions.v1.projects.locations.functions.generateDownloadUrl\n\nReturns a signed URL for downloading deployed function source code. The\nURL is only valid for a limited period and should be used within minutes\nafter generation. For more information about the signed URL usage see:\nhttps://cloud.google.com/storage/docs/access-control/signed-urls\n\nArguments\n---------\n\nRaised exceptions\n-----------------\n\nResponse\n--------\n\nIf successful, the response contains an instance of [`GenerateDownloadUrlResponse`](/workflows/docs/reference/googleapis/cloudfunctions/v1/Overview#GenerateDownloadUrlResponse).\n\nSubworkflow snippet\n-------------------\n\nSome fields might be optional or required.\nTo identify required fields, refer to the [API documentation](https://cloud.google.com/functions/docs/reference/rest/v1/projects.locations.functions/generateDownloadUrl). \n\n### YAML\n\n```yaml\n- generateDownloadUrl:\n call: googleapis.cloudfunctions.v1.projects.locations.functions.generateDownloadUrl\n args:\n name: ...\n body:\n versionId: ...\n result: generateDownloadUrlResult\n```\n\n### JSON\n\n```json\n[\n {\n \"generateDownloadUrl\": {\n \"call\": \"googleapis.cloudfunctions.v1.projects.locations.functions.generateDownloadUrl\",\n \"args\": {\n \"name\": \"...\",\n \"body\": {\n \"versionId\": \"...\"\n }\n },\n \"result\": \"generateDownloadUrlResult\"\n }\n }\n]\n```"]]