Skip to content

Commit 37b45d1

Browse files
Google APIscopybara-github
authored andcommitted
feat: add optional SpeechConfig to UploadConversationRequest
PiperOrigin-RevId: 567616394
1 parent 1a3ea87 commit 37b45d1

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

google/cloud/contactcenterinsights/v1/contact_center_insights.proto

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,10 @@ message UploadConversationRequest {
576576
// Optional. DLP settings for transcript redaction. Optional, will default to
577577
// the config specified in Settings.
578578
RedactionConfig redaction_config = 4 [(google.api.field_behavior) = OPTIONAL];
579+
580+
// Optional. Default Speech-to-Text configuration. Optional, will default to
581+
// the config specified in Settings.
582+
SpeechConfig speech_config = 11 [(google.api.field_behavior) = OPTIONAL];
579583
}
580584

581585
// The metadata for an UploadConversation operation.
@@ -704,7 +708,8 @@ message IngestConversationsRequest {
704708
// Configuration for an external data store containing objects that will
705709
// be converted to conversations.
706710
oneof source {
707-
// A cloud storage bucket source.
711+
// A cloud storage bucket source. Note that any previously ingested objects
712+
// from the source will be skipped to avoid duplication.
708713
GcsSource gcs_source = 2;
709714
}
710715

google/cloud/contactcenterinsights/v1/resources.proto

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,10 @@ message Settings {
951951
// Default DLP redaction resources to be applied while ingesting
952952
// conversations.
953953
RedactionConfig redaction_config = 10;
954+
955+
// Optional. Default Speech-to-Text resources to be used while ingesting audio
956+
// files. Optional, CCAI Insights will create a default if not provided.
957+
SpeechConfig speech_config = 11 [(google.api.field_behavior) = OPTIONAL];
954958
}
955959

956960
// DLP resources used for redaction while ingesting conversations.
@@ -966,6 +970,16 @@ message RedactionConfig {
966970
string inspect_template = 2;
967971
}
968972

973+
// Speech-to-Text configuration.
974+
message SpeechConfig {
975+
// The fully-qualified Speech Recognizer resource name.
976+
// Format:
977+
// `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
978+
string speech_recognizer = 1 [(google.api.resource_reference) = {
979+
type: "speech.googleapis.com/Recognizer"
980+
}];
981+
}
982+
969983
// An annotation that was generated during the customer and agent interaction.
970984
message RuntimeAnnotation {
971985
// The data in the annotation.

0 commit comments

Comments
 (0)