|
1 | | -// Copyright 2025 Google LLC |
| 1 | +// Copyright 2026 Google LLC |
2 | 2 | // |
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | // you may not use this file except in compliance with the License. |
@@ -132,6 +132,11 @@ message DataStore {
|
132 | 132 | AdvancedSiteSearchConfig advanced_site_search_config = 12 |
133 | 133 | [(google.api.field_behavior) = OPTIONAL]; |
134 | 134 | |
| 135 | +// Optional. Configuration for Natural Language Query Understanding. |
| 136 | + NaturalLanguageQueryUnderstandingConfig |
| 137 | + natural_language_query_understanding_config = 34 |
| 138 | + [(google.api.field_behavior) = OPTIONAL]; |
| 139 | + |
135 | 140 | // Input only. The KMS key to be used to protect this DataStore at creation |
136 | 141 | // time. |
137 | 142 | // |
@@ -223,6 +228,30 @@ message AdvancedSiteSearchConfig {
|
223 | 228 | optional bool disable_automatic_refresh = 4; |
224 | 229 | } |
225 | 230 | |
| 231 | +// Configuration for Natural Language Query Understanding. |
| 232 | +message NaturalLanguageQueryUnderstandingConfig { |
| 233 | +// Mode of Natural Language Query Understanding. When the |
| 234 | +// NaturalLanguageQueryUnderstandingConfig.Mode is ENABLED, the natural |
| 235 | +// language understanding capabilities will be enabled for a search request if |
| 236 | +// the NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition in the |
| 237 | +// SearchRequest is ENABLED. |
| 238 | +enum Mode { |
| 239 | +// Default value. |
| 240 | +MODE_UNSPECIFIED = 0; |
| 241 | + |
| 242 | +// Natural Language Query Understanding is disabled. |
| 243 | +DISABLED = 1; |
| 244 | + |
| 245 | +// Natural Language Query Understanding is enabled. |
| 246 | +ENABLED = 2; |
| 247 | + } |
| 248 | + |
| 249 | +// Mode of Natural Language Query Understanding. If this field is unset, the |
| 250 | +// behavior defaults to |
| 251 | +// [NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED][google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED]. |
| 252 | +Mode mode = 1; |
| 253 | +} |
| 254 | + |
226 | 255 | // Config to store data store type configuration for workspace data |
227 | 256 | message WorkspaceConfig { |
228 | 257 | // Specifies the type of Workspace App supported by this DataStore |
|