Google Cloud Dialogflow V2 Client - Class UpdateConversationProfileRequest (1.7.2)

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

hasConversationProfile

clearConversationProfile

setConversationProfile

Required. The conversation profile to update.

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

getUpdateMask

Required. The mask to control which fields to update.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to control which fields to update.

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

static::build

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