Google Cloud Functions V1 Client - Class UpdateFunctionRequest (1.6.5)

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

Request for the UpdateFunction method.

Generated from protobuf message google.cloud.functions.v1.UpdateFunctionRequest

Namespace

Google \ Cloud \ Functions \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ function Google\Cloud\Functions\V1\CloudFunction

Required. New version of the function.

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields in CloudFunction that have to be updated.

getFunction

Required. New version of the function.

Returns
Type Description
Google\Cloud\Functions\V1\CloudFunction|null

hasFunction

clearFunction

setFunction

Required. New version of the function.

Parameter
Name Description
var Google\Cloud\Functions\V1\CloudFunction
Returns
Type Description
$this

getUpdateMask

Required. The list of fields in CloudFunction that have to be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields in CloudFunction that have to be updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this