# Cloud Functions V1 API - Class Google::Cloud::Functions::V1::GenerateDownloadUrlRequest (v2.6.0)

2.6.0 (latest) 2.5.1 2.4.0 2.3.1 2.2.0 2.1.0 2.0.2 1.3.0 1.2.0 1.1.1 1.0.0 0.15.0 0.14.1 0.13.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.1 Reference documentation and code samples for the Cloud Functions V1 API class Google::Cloud::Functions::V1::GenerateDownloadUrlRequest.

Request of `GenerateDownloadUrl` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- The name of function for which source code Google Cloud Storage signed URL should be generated.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of function for which source code Google Cloud Storage signed URL should be generated.
**Returns**

- (::String) --- The name of function for which source code Google Cloud Storage signed URL should be generated.

### #version_id

    def version_id() -> ::Integer

**Returns**

- (::Integer) --- The optional version of function. If not set, default, current version is used.

### #version_id=

    def version_id=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The optional version of function. If not set, default, current version is used.
**Returns**

- (::Integer) --- The optional version of function. If not set, default, current version is used.