Google Cloud Dialogflow V2 Client - Class DeleteConversationProfileRequest (1.12.3)

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

The request message for ConversationProfiles.DeleteConversationProfile.

This operation fails if the conversation profile is still referenced from a phone number.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the conversation profile to delete. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.

getName

Required. The name of the conversation profile to delete.

Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.

Returns
Type Description
string

setName

Required. The name of the conversation profile to delete.

Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the conversation profile to delete. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>. Please see Google\Cloud\Dialogflow\V2\ConversationProfilesClient::conversationProfileName() for help formatting this field.

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