Google Cloud Functions V2 Client - Class UpdateFunctionRequest (1.4.2)

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

Request for the UpdateFunction method.

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

Namespace

Google \ Cloud \ Functions \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ function Google\Cloud\Functions\V2\PBFunction

Required. New version of the function.

↳ update_mask Google\Protobuf\FieldMask

The list of fields to be updated. If no field mask is provided, all provided fields in the request will be updated.

getFunction

Required. New version of the function.

Returns
TypeDescription
Google\Cloud\Functions\V2\PBFunction|null

hasFunction

clearFunction

setFunction

Required. New version of the function.

Parameter
NameDescription
var Google\Cloud\Functions\V2\PBFunction
Returns
TypeDescription
$this

getUpdateMask

The list of fields to be updated.

If no field mask is provided, all provided fields in the request will be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated.

If no field mask is provided, all provided fields in the request will be updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
function Google\Cloud\Functions\V2\PBFunction

Required. New version of the function.

updateMask Google\Protobuf\FieldMask

The list of fields to be updated. If no field mask is provided, all provided fields in the request will be updated.

Returns
TypeDescription
Google\Cloud\Functions\V2\UpdateFunctionRequest