Google Cloud Dialogflow V2 Client - Class UpdateFulfillmentRequest (1.12.3)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class UpdateFulfillmentRequest.

The request message for Fulfillments.UpdateFulfillment.

Generated from protobuf message google.cloud.dialogflow.v2.UpdateFulfillmentRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fulfillment Google\Cloud\Dialogflow\V2\Fulfillment

Required. The fulfillment to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

getFulfillment

Required. The fulfillment to update.

Returns
Type Description
Google\Cloud\Dialogflow\V2\Fulfillment|null

hasFulfillment

clearFulfillment

setFulfillment

Required. The fulfillment to update.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\Fulfillment
Returns
Type Description
$this

getUpdateMask

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

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

static::build

Parameters
Name Description
fulfillment Google\Cloud\Dialogflow\V2\Fulfillment

Required. The fulfillment to update.

updateMask Google\Protobuf\FieldMask

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
Type Description
Google\Cloud\Dialogflow\V2\UpdateFulfillmentRequest