Google Cloud Functions V1 Client - Class OnDeployUpdatePolicy (1.6.4)

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

Security patches are only applied when a function is redeployed.

Generated from protobuf message google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy

Namespace

Google \ Cloud \ Functions \ V1 \ CloudFunction

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