class ProjectsLocationsConversations extends Resource (View source)

The "conversations" collection of methods.

Typical usage is:

 $contactcenterinsightsService = new Google\Service\Contactcenterinsights(...);
 $conversations = $contactcenterinsightsService->projects_locations_conversations;

Methods

bulkAnalyze(string $parent, GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest $postBody, array $optParams = [])

Analyzes multiple conversations in a single request.

bulkDelete(string $parent, GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest $postBody, array $optParams = [])

Deletes multiple conversations in a single request.

calculateStats(string $location, array $optParams = [])

Gets conversation statistics. (conversations.calculateStats)

create(string $parent, GoogleCloudContactcenterinsightsV1Conversation $postBody, array $optParams = [])

Creates a conversation. Does not support audio transcription or DLP redaction. Use conversations.upload instead. (conversations.create)

delete(string $name, array $optParams = [])

Deletes a conversation. (conversations.delete)

get(string $name, array $optParams = [])

Gets a conversation. (conversations.get)

ingest(string $parent, GoogleCloudContactcenterinsightsV1IngestConversationsRequest $postBody, array $optParams = [])

Imports conversations and processes them according to the user's configuration. (conversations.ingest)

listProjectsLocationsConversations(string $parent, array $optParams = [])

Lists conversations. (conversations.listProjectsLocationsConversations)

patch(string $name, GoogleCloudContactcenterinsightsV1Conversation $postBody, array $optParams = [])

Updates a conversation. (conversations.patch)

upload(string $parent, GoogleCloudContactcenterinsightsV1UploadConversationRequest $postBody, array $optParams = [])

Create a long-running conversation upload operation. This method differs from CreateConversation by allowing audio transcription and optional DLP redaction. (conversations.upload)

Details

GoogleLongrunningOperation bulkAnalyze(string $parent, GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest $postBody, array $optParams = [])

Analyzes multiple conversations in a single request.

(conversations.bulkAnalyze)

Parameters

string $parent

Required. The parent resource to create analyses in.

GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation bulkDelete(string $parent, GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest $postBody, array $optParams = [])

Deletes multiple conversations in a single request.

(conversations.bulkDelete)

Parameters

string $parent

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

GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudContactcenterinsightsV1CalculateStatsResponse calculateStats(string $location, array $optParams = [])

Gets conversation statistics. (conversations.calculateStats)

Parameters

string $location

Required. The location of the conversations.

array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1CalculateStatsResponse

Exceptions

Exception

GoogleCloudContactcenterinsightsV1Conversation create(string $parent, GoogleCloudContactcenterinsightsV1Conversation $postBody, array $optParams = [])

Creates a conversation. Does not support audio transcription or DLP redaction. Use conversations.upload instead. (conversations.create)

Parameters

string $parent

Required. The parent resource of the conversation.

GoogleCloudContactcenterinsightsV1Conversation $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1Conversation

Exceptions

Exception

GoogleProtobufEmpty delete(string $name, array $optParams = [])

Deletes a conversation. (conversations.delete)

Parameters

string $name

Required. The name of the conversation to delete.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleCloudContactcenterinsightsV1Conversation get(string $name, array $optParams = [])

Gets a conversation. (conversations.get)

Parameters

string $name

Required. The name of the conversation to get.

array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1Conversation

Exceptions

Exception

GoogleLongrunningOperation ingest(string $parent, GoogleCloudContactcenterinsightsV1IngestConversationsRequest $postBody, array $optParams = [])

Imports conversations and processes them according to the user's configuration. (conversations.ingest)

Parameters

string $parent

Required. The parent resource for new conversations.

GoogleCloudContactcenterinsightsV1IngestConversationsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudContactcenterinsightsV1ListConversationsResponse listProjectsLocationsConversations(string $parent, array $optParams = [])

Lists conversations. (conversations.listProjectsLocationsConversations)

Parameters

string $parent

Required. The parent resource of the conversation.

array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1ListConversationsResponse

Exceptions

Exception

GoogleCloudContactcenterinsightsV1Conversation patch(string $name, GoogleCloudContactcenterinsightsV1Conversation $postBody, array $optParams = [])

Updates a conversation. (conversations.patch)

Parameters

string $name

Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}

GoogleCloudContactcenterinsightsV1Conversation $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1Conversation

Exceptions

Exception

GoogleLongrunningOperation upload(string $parent, GoogleCloudContactcenterinsightsV1UploadConversationRequest $postBody, array $optParams = [])

Create a long-running conversation upload operation. This method differs from CreateConversation by allowing audio transcription and optional DLP redaction. (conversations.upload)

Parameters

string $parent

Required. The parent resource of the conversation.

GoogleCloudContactcenterinsightsV1UploadConversationRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception