Google Cloud Contact Center Insights V1 Client - Class BulkDeleteConversationsRequest (1.8.0)

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

The request to delete conversations in bulk.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}

↳ filter string

Filter used to select the subset of conversations to delete.

↳ max_delete_count int

Maximum number of conversations 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.

getParent

Required. The parent resource to delete conversations from.

Format: projects/{project}/locations/{location}

Returns
TypeDescription
string

setParent

Required. The parent resource to delete conversations from.

Format: projects/{project}/locations/{location}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Filter used to select the subset of conversations to delete.

Returns
TypeDescription
string

setFilter

Filter used to select the subset of conversations to delete.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMaxDeleteCount

Maximum number of conversations to delete.

Returns
TypeDescription
int

setMaxDeleteCount

Maximum number of conversations to delete.

Parameter
NameDescription
var int
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

Parameters
NameDescription
parent string

Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} Please see Google\Cloud\ContactCenterInsights\V1\ContactCenterInsightsClient::locationName() for help formatting this field.

filter string

Filter used to select the subset of conversations to delete.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\BulkDeleteConversationsRequest