Google Cloud Dialogflow V2 Client - Class UpdateFulfillmentRequest (1.10.2)

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
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\V2\Fulfillment|null

hasFulfillment

clearFulfillment

setFulfillment

Required. The fulfillment to update.

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\Fulfillment
Returns
TypeDescription
$this

getUpdateMask

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

Returns
TypeDescription
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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\V2\UpdateFulfillmentRequest