Skip to main content

settings

Creates, updates, deletes, gets or lists a settings resource.

Overview

Namesettings
TypeResource
Idgoogle.contactcenterinsights.settings

Fields

NameDatatypeDescription
namestringImmutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings
analysisConfigobjectDefault configuration when creating Analyses in Insights.
conversationTtlstringThe default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.
createTimestringOutput only. The time at which the settings was created.
languageCodestringA language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.
pubsubNotificationSettingsobjectA map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: "all-triggers": Notify each time any of the supported triggers occurs. "create-analysis": Notify each time an analysis is created. "create-conversation": Notify each time a conversation is created. "export-insights-data": Notify each time an export is complete. "ingest-conversations": Notify each time an IngestConversations LRO is complete. "update-conversation": Notify each time a conversation is updated via UpdateConversation. * "upload-conversation": Notify when an UploadConversation LRO is complete. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}
redactionConfigobjectDLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations, redaction should be performed in Dialogflow / Agent Assist.
speechConfigobjectSpeech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint.
updateTimestringOutput only. The time at which the settings were last updated.

Methods

NameAccessible byRequired ParamsDescription
get_settingsSELECTlocationsId, projectsIdGets project-level settings.
update_settingsUPDATElocationsId, projectsIdUpdates project-level settings.

SELECT examples

Gets project-level settings.

SELECT
name,
analysisConfig,
conversationTtl,
createTime,
languageCode,
pubsubNotificationSettings,
redactionConfig,
speechConfig,
updateTime
FROM google.contactcenterinsights.settings
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

UPDATE example

Updates a settings resource.

/*+ update */
UPDATE google.contactcenterinsights.settings
SET
name = '{{ name }}',
analysisConfig = '{{ analysisConfig }}',
languageCode = '{{ languageCode }}',
redactionConfig = '{{ redactionConfig }}',
speechConfig = '{{ speechConfig }}',
conversationTtl = '{{ conversationTtl }}',
pubsubNotificationSettings = '{{ pubsubNotificationSettings }}'
WHERE
locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';