Google Cloud Dialogflow V2 Client - Class UpdateConversationProfileRequest (1.15.0)

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

The request message for ConversationProfiles.UpdateConversationProfile.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ conversation_profile Google\Cloud\Dialogflow\V2\ConversationProfile

Required. The conversation profile to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The mask to control which fields to update.

getConversationProfile

Required. The conversation profile to update.

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

hasConversationProfile

clearConversationProfile

setConversationProfile

Required. The conversation profile to update.

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

getUpdateMask

Required. The mask to control which fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to control which fields to update.

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

static::build

Parameters
Name Description
conversationProfile Google\Cloud\Dialogflow\V2\ConversationProfile

Required. The conversation profile to update.

updateMask Google\Protobuf\FieldMask

Required. The mask to control which fields to update.

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