# Google Cloud Functions V2 Client - Class GenerateDownloadUrlResponse (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.7.0 1.6.5 1.5.0 1.4.2 1.3.1 1.2.0 1.1.2 1.0.3 Reference documentation and code samples for the Google Cloud Functions V2 Client class GenerateDownloadUrlResponse.

Response of `GenerateDownloadUrl` method.

Generated from protobuf message `google.cloud.functions.v2.GenerateDownloadUrlResponse`

## Namespace

Google \\ Cloud \\ Functions \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ download_url` | `string` The generated Google Cloud Storage signed URL that should be used for function source code download. |

### getDownloadUrl

The generated Google Cloud Storage signed URL that should be used for
function source code download.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDownloadUrl

The generated Google Cloud Storage signed URL that should be used for
function source code download.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |