# Cloud Functions V2 API - Class Google::Cloud::Functions::V2::OnDeployUpdatePolicy (v1.5.1)

1.5.1 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Functions V2 API class Google::Cloud::Functions::V2::OnDeployUpdatePolicy.

Security patches are only applied when a function is redeployed.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #runtime_version

    def runtime_version() -> ::String

**Returns**

- (::String) --- Output only. contains the runtime version which was used during latest function deployment.