Class Settings (1.5.0)

Settings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The settings resource.

Attributes

NameDescription
name str
Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the settings was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the settings were last updated.
language_code str
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_pb2.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 MutableMapping[str, str]
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}
analysis_config google.cloud.contact_center_insights_v1.types.Settings.AnalysisConfig
Default analysis settings.

Classes

AnalysisConfig

AnalysisConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Default configuration when creating Analyses in Insights.

PubsubNotificationSettingsEntry

PubsubNotificationSettingsEntry(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.