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 \ CloudFunctionMethods
__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 |