class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings
The settings resource.
Attributes
Default configuration when creating Analyses in Insights. Corresponds to the JSON property `analysisConfig` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig]
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. Corresponds to the JSON property `conversationTtl` @return [String]
Output only. The time at which the settings was created. Corresponds to the JSON property `createTime` @return [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. Corresponds to the JSON property `languageCode` @return [String]
Immutable. The resource name of the settings resource. Format: projects/` project`/locations/`location`/settings Corresponds to the JSON property `name` @return [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` Corresponds to the JSON property `pubsubNotificationSettings` @return [Hash<String,String>]
Output only. The time at which the settings were last updated. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 2167 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 2172 def update!(**args) @analysis_config = args[:analysis_config] if args.key?(:analysis_config) @conversation_ttl = args[:conversation_ttl] if args.key?(:conversation_ttl) @create_time = args[:create_time] if args.key?(:create_time) @language_code = args[:language_code] if args.key?(:language_code) @name = args[:name] if args.key?(:name) @pubsub_notification_settings = args[:pubsub_notification_settings] if args.key?(:pubsub_notification_settings) @update_time = args[:update_time] if args.key?(:update_time) end