diff --git a/mmv1/products/ces/AppVersion.yaml b/mmv1/products/ces/AppVersion.yaml index 54e223af2998..fe354f467c38 100644 --- a/mmv1/products/ces/AppVersion.yaml +++ b/mmv1/products/ces/AppVersion.yaml @@ -2161,6 +2161,15 @@ properties: type: String description: The prompt definition. If not set, default prompt will be used. output: true + - name: snippetsConfig + type: NestedObject + description: Snippets configuration. + output: true + properties: + - name: enableSnippets + type: Boolean + description: Whether snippets are enabled. + output: true - name: summarizationConfig type: NestedObject description: Summarization configuration. diff --git a/mmv1/products/ces/Tool.yaml b/mmv1/products/ces/Tool.yaml index 18276c94d9ef..740936e9afae 100644 --- a/mmv1/products/ces/Tool.yaml +++ b/mmv1/products/ces/Tool.yaml @@ -844,6 +844,13 @@ properties: - name: prompt type: String description: The prompt definition. If not set, default prompt will be used. + - name: snippetsConfig + type: NestedObject + description: Snippets configuration. + properties: + - name: enableSnippets + type: Boolean + description: Whether snippets are enabled. - name: summarizationConfig type: NestedObject description: Summarization configuration. diff --git a/mmv1/templates/terraform/samples/services/ces/ces_tool_data_store_tool_engine_source_basic.tf.tmpl b/mmv1/templates/terraform/samples/services/ces/ces_tool_data_store_tool_engine_source_basic.tf.tmpl index 342771ff1c71..cbb4d979439f 100644 --- a/mmv1/templates/terraform/samples/services/ces/ces_tool_data_store_tool_engine_source_basic.tf.tmpl +++ b/mmv1/templates/terraform/samples/services/ces/ces_tool_data_store_tool_engine_source_basic.tf.tmpl @@ -74,6 +74,9 @@ resource "google_ces_tool" "{{$.PrimaryResourceId}}" { grounding_level = 3 disabled = false } + snippets_config { + enable_snippets = true + } } engine_source { diff --git a/mmv1/third_party/terraform/services/ces/ces_tool_test.go b/mmv1/third_party/terraform/services/ces/ces_tool_test.go index ab71528447ba..d0f35454b1c0 100644 --- a/mmv1/third_party/terraform/services/ces/ces_tool_test.go +++ b/mmv1/third_party/terraform/services/ces/ces_tool_test.go @@ -483,6 +483,9 @@ resource "google_ces_tool" "ces_tool_data_store_tool_engine_source_basic" { grounding_level = 3 disabled = false } + snippets_config { + enable_snippets = true + } } engine_source {