Google Cloud Dialogflow V2 Client - Class DeleteConversationProfileRequest (1.6.0)

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
NameDescription
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
TypeDescription
string

setName

Required. The name of the conversation profile to delete.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\V2\DeleteConversationProfileRequest