Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class 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
.
Generated from protobuf message google.cloud.contactcenterinsights.v1.Settings
Namespace
Google \ Cloud \ ContactCenterInsights \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings
↳ create_time
↳ update_time
↳ language_code
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.
↳ conversation_ttl
Google\Protobuf\Duration
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.
↳ pubsub_notification_settings
array| Google\Protobuf\Internal\MapField
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. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}
↳ analysis_config
↳ redaction_config
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.
↳ speech_config
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.
getName
Immutable. The resource name of the settings resource.
Format: projects/{project}/locations/{location}/settings
string
setName
Immutable. The resource name of the settings resource.
Format: projects/{project}/locations/{location}/settings
var
string
$this
getCreateTime
Output only. The time at which the settings was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which the settings was created.
$this
getUpdateTime
Output only. The time at which the settings were last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time at which the settings were last updated.
$this
getLanguageCode
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.
string
setLanguageCode
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.
var
string
$this
getConversationTtl
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.
hasConversationTtl
clearConversationTtl
setConversationTtl
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.
$this
getPubsubNotificationSettings
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. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}
setPubsubNotificationSettings
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. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}
$this
getAnalysisConfig
Default analysis settings.
hasAnalysisConfig
clearAnalysisConfig
setAnalysisConfig
Default analysis settings.
$this
getRedactionConfig
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.
hasRedactionConfig
clearRedactionConfig
setRedactionConfig
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.
$this
getSpeechConfig
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.
hasSpeechConfig
clearSpeechConfig
setSpeechConfig
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.
$this