Google Cloud Functions V2 Client - Class OnDeployUpdatePolicy (1.7.0)

Reference documentation and code samples for the Google Cloud Functions V2 Client class OnDeployUpdatePolicy.

Security patches are only applied when a function is redeployed.

Generated from protobuf message google.cloud.functions.v2.OnDeployUpdatePolicy

Namespace

Google \ Cloud \ Functions \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ runtime_version string

Output only. contains the runtime version which was used during latest function deployment.

getRuntimeVersion

Output only. contains the runtime version which was used during latest function deployment.

Returns
Type Description
string

setRuntimeVersion

Output only. contains the runtime version which was used during latest function deployment.

Parameter
Name Description
var string
Returns
Type Description
$this