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

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
Name Description
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
Type Description
string

setName

Required. The name of the conversation to delete.

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
Google\Cloud\ContactCenterInsights\V1\DeleteConversationRequest