Settings

The CCAI Insights project wide settings. Use these settings to configure the behavior of Insights. View these settings with getsettings and change the settings with updateSettings.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "languageCode": string,
  "conversationTtl": string,
  "diagnosticMetricConfig": {
    object (DiagnosticMetricConfig)
  },
  "pubsubNotificationSettings": {
    string: string,
    ...
  },
  "analysisConfig": {
    object (AnalysisConfig)
  },
  "redactionConfig": {
    object (RedactionConfig)
  },
  "speechConfig": {
    object (SpeechConfig)
  },
  "screenRecordingBucketUri": string,
  "timeZone": string,
  "satisfiesPzi": boolean,
  "satisfiesPzs": boolean
}
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.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

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

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

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

diagnosticMetricConfig

object (DiagnosticMetricConfig)

Optional. Configuration for diagnostic metrics.

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.
  • "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.
  • "update-or-analyze-conversation": Notify when an analysis for a conversation is completed or when the conversation is updated. The message will contain the conversation with transcript, analysis and other metadata.

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. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

speechConfig

object (SpeechConfig)

Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

screenRecordingBucketUri

string

Optional. The path to a Cloud Storage bucket containing conversation screen recordings. If provided, Insights will search in the bucket for a screen recording file matching the conversation data source object name prefix. If matches are found, these file URIs will be stored in the conversation screen recordings field.

timeZone

string

Optional. The time zone applied to the project. This is a string representation of the time zone, for example, "America/New_York". This field follows the IANA TZ database format. See https://www.iana.org/time-zones for a list of valid values. If no value is set the user time zone will be used.

satisfiesPzi

boolean

Output only. Whether this resource is zone isolated.

satisfiesPzs

boolean

Output only. Whether this resource is zone separated.

DiagnosticMetricConfig

Configuration for diagnostic metrics.

JSON representation
{
  "metrics": {
    string: {
      object (MetricDefinition)
    },
    ...
  }
}
Fields
metrics

map (key: string, value: object (MetricDefinition))

Optional. A map of diagnostic metrics. The key is a unique identifier for the metric (e.g., "containment").

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

MetricDefinition

A definition for a metric to be calculated during analysis.

JSON representation
{
  "displayName": string,
  "sourceId": string
}
Fields
displayName

string

Output only. The user-visible name of the metric (e.g., "Containment Rate").

sourceId

string

Output only. The resource name of the underlying Insights primitive (e.g., Tag or QaQuestion) used to calculate this metric.

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.