From 828ad60e31d7f7c1a61646a1f292f32b693f964f Mon Sep 17 00:00:00 2001 From: Modular Apprentice Date: Mon, 23 Mar 2026 23:08:47 +0000 Subject: [PATCH] [CES] Add channel_profile.noise_suppression_level to google_ces_deployment --- mmv1/products/ces/Deployment.yaml | 9 ++++++ ..._deployment_with_noise_suppression.tf.tmpl | 30 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 mmv1/templates/terraform/examples/ces_deployment_with_noise_suppression.tf.tmpl diff --git a/mmv1/products/ces/Deployment.yaml b/mmv1/products/ces/Deployment.yaml index 2e78f1d0b012..f40db8807e96 100644 --- a/mmv1/products/ces/Deployment.yaml +++ b/mmv1/products/ces/Deployment.yaml @@ -29,6 +29,12 @@ examples: app_display_name: my-app app_id: app-id deployment_display_name: my-deployment + - name: ces_deployment_with_noise_suppression + primary_resource_id: my-deployment + vars: + app_display_name: my-app + app_id: app-id + deployment_display_name: my-deployment parameters: - name: location type: String @@ -118,6 +124,9 @@ properties: - name: webWidgetTitle type: String description: The title of the web widget. + - name: noiseSuppressionLevel + type: String + description: The noise suppression level of the channel profile. Available values are "low", "moderate", "high", "very_high". - name: createTime type: String description: Timestamp when this deployment was created. diff --git a/mmv1/templates/terraform/examples/ces_deployment_with_noise_suppression.tf.tmpl b/mmv1/templates/terraform/examples/ces_deployment_with_noise_suppression.tf.tmpl new file mode 100644 index 000000000000..1ab594c1f6f0 --- /dev/null +++ b/mmv1/templates/terraform/examples/ces_deployment_with_noise_suppression.tf.tmpl @@ -0,0 +1,30 @@ +resource "google_ces_app" "my-app" { + location = "us" + display_name = "{{index $.Vars "app_display_name"}}" + app_id = "{{index $.Vars "app_id"}}" + time_zone_settings { + time_zone = "America/Los_Angeles" + } +} + +resource "google_ces_deployment" "{{$.PrimaryResourceId}}" { + location = "us" + display_name = "{{index $.Vars "deployment_display_name"}}" + app = google_ces_app.my-app.name + app_version = "projects/example-project/locations/us/apps/example-app/versions/example-version" + channel_profile { + channel_type = "API" + disable_barge_in_control = true + disable_dtmf = true + noise_suppression_level = "high" + persona_property { + persona = "CHATTY" + } + profile_id = "temp_profile_id" + web_widget_config { + modality = "CHAT_AND_VOICE" + theme = "DARK" + web_widget_title = "temp_webwidget_title" + } + } +} \ No newline at end of file