Google Cloud Dialogflow V2 Client - Class UpdateParticipantRequest (1.7.2)

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

The request message for Participants.UpdateParticipant.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ participant Google\Cloud\Dialogflow\V2\Participant

Required. The participant to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The mask to specify which fields to update.

getParticipant

Required. The participant to update.

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\Participant|null

hasParticipant

clearParticipant

setParticipant

Required. The participant to update.

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

getUpdateMask

Required. The mask to specify which fields to update.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to specify which fields to update.

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

static::build

Parameters
NameDescription
participant Google\Cloud\Dialogflow\V2\Participant

Required. The participant to update.

updateMask Google\Protobuf\FieldMask

Required. The mask to specify which fields to update.

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\UpdateParticipantRequest