Settings

The settings resource.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "languageCode": string,
  "conversationTtl": string,
  "pubsubNotificationSettings": {
    string: string,
    ...
  },
  "analysisConfig": {
    object (AnalysisConfig)
  },
  "redactionConfig": {
    object (RedactionConfig)
  },
  "speechConfig": {
    object (SpeechConfig)
  }
}
Fields
name

string

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

createTime

string (Timestamp format)

Output only. The time at which the settings was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The time at which the settings were last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

languageCode

string

A 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.

conversationTtl

string (Duration format)

The 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.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

pubsubNotificationSettings

map (key: string, value: string)

A 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.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.

Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

analysisConfig

object (AnalysisConfig)

Default analysis settings.

redactionConfig

object (RedactionConfig)

Default DLP redaction resources to be applied while ingesting conversations.

speechConfig

object (SpeechConfig)

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

AnalysisConfig

Default configuration when creating Analyses in Insights.

JSON representation
{
  "runtimeIntegrationAnalysisPercentage": number,
  "uploadConversationAnalysisPercentage": number,
  "annotatorSelector": {
    object (AnnotatorSelector)
  }
}
Fields
runtimeIntegrationAnalysisPercentage

number

Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100].

uploadConversationAnalysisPercentage

number

Percentage of conversations created using the UploadConversation endpoint to analyze automatically, between [0, 100].

annotatorSelector

object (AnnotatorSelector)

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.