Google Cloud Contact Center Insights V1 Client - Class DeleteConversationRequest (1.6.2)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class DeleteConversationRequest.

The request to delete a conversation.

Generated from protobuf message google.cloud.contactcenterinsights.v1.DeleteConversationRequest

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the conversation to delete.

↳ force bool

If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.

getName

Required. The name of the conversation to delete.

Returns
TypeDescription
string

setName

Required. The name of the conversation to delete.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getForce

If set to true, all of this conversation's analyses will also be deleted.

Otherwise, the request will only succeed if the conversation has no analyses.

Returns
TypeDescription
bool

setForce

If set to true, all of this conversation's analyses will also be deleted.

Otherwise, the request will only succeed if the conversation has no analyses.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the conversation to delete. Please see Google\Cloud\ContactCenterInsights\V1\ContactCenterInsightsClient::conversationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\DeleteConversationRequest