Skip to content

Commit

Permalink
feat: [contactcenterinsights] add optional SpeechConfig to UploadConv…
Browse files Browse the repository at this point in the history
…ersationRequest (#4695)

* feat: add optional SpeechConfig to UploadConversationRequest

PiperOrigin-RevId: 567616394

Source-Link: googleapis/googleapis@37b45d1

Source-Link: googleapis/googleapis-gen@fa3a564
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhY3RjZW50ZXJpbnNpZ2h0cy8uT3dsQm90LnlhbWwiLCJoIjoiZmEzYTU2NDhkMzI2N2E1MmZmODc0MmM2YmNhNDY1ZDMwNmZjZjRhNSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* build: update typescript generator version to publish in dual format (ESM)

PiperOrigin-RevId: 568643156

Source-Link: googleapis/googleapis@f95afc0

Source-Link: googleapis/googleapis-gen@bbd2c49
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhY3RjZW50ZXJpbnNpZ2h0cy8uT3dsQm90LnlhbWwiLCJoIjoiYmJkMmM0OWQyZTQyM2E4Y2U1Y2M4NTYyNzQwMmQ1MTJhZWVmYzU4YiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 27, 2023
1 parent c5cb397 commit 44b3333
Show file tree
Hide file tree
Showing 9 changed files with 431 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,10 @@ message UploadConversationRequest {
// Optional. DLP settings for transcript redaction. Optional, will default to
// the config specified in Settings.
RedactionConfig redaction_config = 4 [(google.api.field_behavior) = OPTIONAL];

// Optional. Default Speech-to-Text configuration. Optional, will default to
// the config specified in Settings.
SpeechConfig speech_config = 11 [(google.api.field_behavior) = OPTIONAL];
}

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,10 @@ message Settings {
// Default DLP redaction resources to be applied while ingesting
// conversations.
RedactionConfig redaction_config = 10;

// Optional. Default Speech-to-Text resources to be used while ingesting audio
// files. Optional, CCAI Insights will create a default if not provided.
SpeechConfig speech_config = 11 [(google.api.field_behavior) = OPTIONAL];
}

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

// Speech-to-Text configuration.
message SpeechConfig {
// The fully-qualified Speech Recognizer resource name.
// Format:
// `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
string speech_recognizer = 1 [(google.api.resource_reference) = {
type: "speech.googleapis.com/Recognizer"
}];
}

// An annotation that was generated during the customer and agent interaction.
message RuntimeAnnotation {
// The data in the annotation.
Expand Down
109 changes: 109 additions & 0 deletions packages/google-cloud-contactcenterinsights/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 44b3333

Please sign in to comment.