@google-cloud/discoveryengine 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +39 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +190 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +134 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +138 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +306 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +307 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +121 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +318 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +370 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +336 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +343 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +159 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +227 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +312 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +260 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +874 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +152 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +475 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +154 -0
- package/build/protos/protos.d.ts +16365 -7
- package/build/protos/protos.js +42499 -1945
- package/build/protos/protos.json +4455 -5
- package/build/src/index.d.ts +3 -1
- package/build/src/index.js +4 -1
- package/build/src/v1alpha/completion_service_client.d.ts +645 -0
- package/build/src/v1alpha/completion_service_client.js +901 -0
- package/build/src/v1alpha/completion_service_client_config.json +43 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +1040 -0
- package/build/src/v1alpha/conversational_search_service_client.js +1333 -0
- package/build/src/v1alpha/conversational_search_service_client_config.json +68 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +1060 -0
- package/build/src/v1alpha/data_store_service_client.js +1431 -0
- package/build/src/v1alpha/data_store_service_client_config.json +46 -0
- package/build/src/v1alpha/document_service_client.d.ts +1257 -0
- package/build/src/v1alpha/document_service_client.js +1555 -0
- package/build/src/v1alpha/document_service_client_config.json +82 -0
- package/build/src/v1alpha/engine_service_client.d.ts +1079 -0
- package/build/src/v1alpha/engine_service_client.js +1481 -0
- package/build/src/v1alpha/engine_service_client_config.json +58 -0
- package/build/src/v1alpha/index.d.ts +10 -0
- package/build/src/v1alpha/index.js +41 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +858 -0
- package/build/src/v1alpha/recommendation_service_client.js +1100 -0
- package/build/src/v1alpha/recommendation_service_client_config.json +43 -0
- package/build/src/v1alpha/schema_service_client.d.ts +977 -0
- package/build/src/v1alpha/schema_service_client.js +1385 -0
- package/build/src/v1alpha/schema_service_client_config.json +63 -0
- package/build/src/v1alpha/search_service_client.d.ts +1394 -0
- package/build/src/v1alpha/search_service_client.js +1640 -0
- package/build/src/v1alpha/search_service_client_config.json +43 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +821 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +1249 -0
- package/build/src/v1alpha/site_search_engine_service_client_config.json +30 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +895 -0
- package/build/src/v1alpha/user_event_service_client.js +1232 -0
- package/build/src/v1alpha/user_event_service_client_config.json +67 -0
- package/package.json +5 -5
@@ -0,0 +1,370 @@
|
|
1
|
+
// Copyright 2022 Google LLC
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
syntax = "proto3";
|
16
|
+
|
17
|
+
package google.cloud.discoveryengine.v1alpha;
|
18
|
+
|
19
|
+
import "google/api/field_behavior.proto";
|
20
|
+
import "google/api/resource.proto";
|
21
|
+
import "google/cloud/discoveryengine/v1alpha/common.proto";
|
22
|
+
import "google/protobuf/timestamp.proto";
|
23
|
+
|
24
|
+
option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Alpha";
|
25
|
+
option go_package = "cloud.google.com/go/discoveryengine/apiv1alpha/discoveryenginepb;discoveryenginepb";
|
26
|
+
option java_multiple_files = true;
|
27
|
+
option java_outer_classname = "EngineProto";
|
28
|
+
option java_package = "com.google.cloud.discoveryengine.v1alpha";
|
29
|
+
option objc_class_prefix = "DISCOVERYENGINE";
|
30
|
+
option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1alpha";
|
31
|
+
option ruby_package = "Google::Cloud::DiscoveryEngine::V1alpha";
|
32
|
+
|
33
|
+
// Metadata that describes the training and serving parameters of an
|
34
|
+
// [Engine][google.cloud.discoveryengine.v1alpha.Engine].
|
35
|
+
message Engine {
|
36
|
+
option (google.api.resource) = {
|
37
|
+
type: "discoveryengine.googleapis.com/Engine"
|
38
|
+
pattern: "projects/{project}/locations/{location}/collections/{collection}/engines/{engine}"
|
39
|
+
};
|
40
|
+
|
41
|
+
// Configurations for a Search Engine.
|
42
|
+
message SearchEngineConfig {
|
43
|
+
// The search feature tier of this engine.
|
44
|
+
//
|
45
|
+
// Different tiers might have different
|
46
|
+
// pricing. To learn more, please check the pricing documentation.
|
47
|
+
//
|
48
|
+
// Defaults to
|
49
|
+
// [SearchTier.SEARCH_TIER_STANDARD][google.cloud.discoveryengine.v1alpha.SearchTier.SEARCH_TIER_STANDARD]
|
50
|
+
// if not specified.
|
51
|
+
SearchTier search_tier = 1;
|
52
|
+
|
53
|
+
// The add-on that this search engine enables.
|
54
|
+
repeated SearchAddOn search_add_ons = 2;
|
55
|
+
}
|
56
|
+
|
57
|
+
// Additional config specs for a `similar-items` engine.
|
58
|
+
message SimilarDocumentsEngineConfig {}
|
59
|
+
|
60
|
+
// Additional config specs for a Media Recommendation engine.
|
61
|
+
message MediaRecommendationEngineConfig {
|
62
|
+
// Custom threshold for `cvr` optimization_objective.
|
63
|
+
message OptimizationObjectiveConfig {
|
64
|
+
// Required. The name of the field to target. Currently supported
|
65
|
+
// values: `watch-percentage`, `watch-time`.
|
66
|
+
string target_field = 1 [(google.api.field_behavior) = REQUIRED];
|
67
|
+
|
68
|
+
// Required. The threshold to be applied to the target (e.g., 0.5).
|
69
|
+
float target_field_value_float = 2
|
70
|
+
[(google.api.field_behavior) = REQUIRED];
|
71
|
+
}
|
72
|
+
|
73
|
+
// The training state of the engine.
|
74
|
+
enum TrainingState {
|
75
|
+
// Unspecified training state.
|
76
|
+
TRAINING_STATE_UNSPECIFIED = 0;
|
77
|
+
|
78
|
+
// The engine training is paused.
|
79
|
+
PAUSED = 1;
|
80
|
+
|
81
|
+
// The engine is training.
|
82
|
+
TRAINING = 2;
|
83
|
+
}
|
84
|
+
|
85
|
+
// Required. The type of engine e.g. `recommended-for-you`.
|
86
|
+
//
|
87
|
+
// This field together with
|
88
|
+
// [optimization_objective][Engine.optimization_objective] describe engine
|
89
|
+
// metadata to use to control engine training and serving.
|
90
|
+
//
|
91
|
+
// Currently supported values: `recommended-for-you`, `others-you-may-like`,
|
92
|
+
// `more-like-this`, `most-popular-items`.
|
93
|
+
string type = 1 [(google.api.field_behavior) = REQUIRED];
|
94
|
+
|
95
|
+
// The optimization objective e.g. `cvr`.
|
96
|
+
//
|
97
|
+
// This field together with
|
98
|
+
// [optimization_objective][google.cloud.discoveryengine.v1alpha.Engine.MediaRecommendationEngineConfig.type]
|
99
|
+
// describe engine metadata to use to control engine training and serving.
|
100
|
+
//
|
101
|
+
// Currently supported
|
102
|
+
// values: `ctr`, `cvr`.
|
103
|
+
//
|
104
|
+
// If not specified, we choose default based on engine type.
|
105
|
+
// Default depends on type of recommendation:
|
106
|
+
//
|
107
|
+
// `recommended-for-you` => `ctr`
|
108
|
+
//
|
109
|
+
// `others-you-may-like` => `ctr`
|
110
|
+
string optimization_objective = 2;
|
111
|
+
|
112
|
+
// Name and value of the custom threshold for cvr optimization_objective.
|
113
|
+
// For target_field `watch-time`, target_field_value must be an integer
|
114
|
+
// value indicating the media progress time in seconds between (0, 86400]
|
115
|
+
// (excludes 0, includes 86400) (e.g., 90).
|
116
|
+
// For target_field `watch-percentage`, the target_field_value must be a
|
117
|
+
// valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g.,
|
118
|
+
// 0.5).
|
119
|
+
OptimizationObjectiveConfig optimization_objective_config = 3;
|
120
|
+
|
121
|
+
// The training state that the engine is in (e.g.
|
122
|
+
// `TRAINING` or `PAUSED`).
|
123
|
+
//
|
124
|
+
// Since part of the cost of running the service
|
125
|
+
// is frequency of training - this can be used to determine when to train
|
126
|
+
// engine in order to control cost. If not specified: the default value for
|
127
|
+
// `CreateEngine` method is `TRAINING`. The default value for
|
128
|
+
// `UpdateEngine` method is to keep the state the same as before.
|
129
|
+
TrainingState training_state = 4;
|
130
|
+
}
|
131
|
+
|
132
|
+
// Configurations for a Chat Engine.
|
133
|
+
message ChatEngineConfig {
|
134
|
+
// Configurations for generating a Dialogflow agent.
|
135
|
+
//
|
136
|
+
// Note that these configurations are one-time consumed by
|
137
|
+
// and passed to Dialogflow service. It means they cannot be retrieved using
|
138
|
+
// [EngineService.GetEngine][google.cloud.discoveryengine.v1alpha.EngineService.GetEngine]
|
139
|
+
// or
|
140
|
+
// [EngineService.ListEngines][google.cloud.discoveryengine.v1alpha.EngineService.ListEngines]
|
141
|
+
// API after engine creation.
|
142
|
+
message AgentCreationConfig {
|
143
|
+
// Name of the company, organization or other entity that the agent
|
144
|
+
// represents. Used for knowledge connector LLM prompt and for knowledge
|
145
|
+
// search.
|
146
|
+
string business = 1;
|
147
|
+
|
148
|
+
// Required. The default language of the agent as a language tag.
|
149
|
+
// See [Language
|
150
|
+
// Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
151
|
+
// for a list of the currently supported language codes.
|
152
|
+
string default_language_code = 2;
|
153
|
+
|
154
|
+
// Required. The time zone of the agent from the [time zone
|
155
|
+
// database](https://www.iana.org/time-zones), e.g., America/New_York,
|
156
|
+
// Europe/Paris.
|
157
|
+
string time_zone = 3 [(google.api.field_behavior) = REQUIRED];
|
158
|
+
}
|
159
|
+
|
160
|
+
// The configurationt generate the Dialogflow agent that is associated to
|
161
|
+
// this Engine.
|
162
|
+
//
|
163
|
+
// Note that these configurations are one-time consumed by
|
164
|
+
// and passed to Dialogflow service. It means they cannot be retrieved using
|
165
|
+
// [EngineService.GetEngine][google.cloud.discoveryengine.v1alpha.EngineService.GetEngine]
|
166
|
+
// or
|
167
|
+
// [EngineService.ListEngines][google.cloud.discoveryengine.v1alpha.EngineService.ListEngines]
|
168
|
+
// API after engine creation.
|
169
|
+
AgentCreationConfig agent_creation_config = 1;
|
170
|
+
|
171
|
+
// The resource name of an exist Dialogflow agent to link to this Chat
|
172
|
+
// Engine. Customers can either provide `agent_creation_config` to create
|
173
|
+
// agent or provide an agent name that links the agent with the Chat engine.
|
174
|
+
//
|
175
|
+
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
176
|
+
// ID>`.
|
177
|
+
//
|
178
|
+
// Note that the `dialogflow_agent_to_link` are one-time consumed by and
|
179
|
+
// passed to Dialogflow service. It means they cannot be retrieved using
|
180
|
+
// [EngineService.GetEngine][google.cloud.discoveryengine.v1alpha.EngineService.GetEngine]
|
181
|
+
// or
|
182
|
+
// [EngineService.ListEngines][google.cloud.discoveryengine.v1alpha.EngineService.ListEngines]
|
183
|
+
// API after engine creation. Please use
|
184
|
+
// [chat_engine_metadata.dialogflow_agent][] for actual agent
|
185
|
+
// association after Engine is created.
|
186
|
+
string dialogflow_agent_to_link = 2;
|
187
|
+
}
|
188
|
+
|
189
|
+
// Common configurations for an Engine.
|
190
|
+
message CommonConfig {
|
191
|
+
// The name of the company, business or entity that is associated with the
|
192
|
+
// engine. Setting this may help improve LLM related features.
|
193
|
+
string company_name = 1;
|
194
|
+
}
|
195
|
+
|
196
|
+
// Additional information of a recommendation engine.
|
197
|
+
message RecommendationMetadata {
|
198
|
+
// The serving state of the recommendation engine.
|
199
|
+
enum ServingState {
|
200
|
+
// Unspecified serving state.
|
201
|
+
SERVING_STATE_UNSPECIFIED = 0;
|
202
|
+
|
203
|
+
// The engine is not serving.
|
204
|
+
INACTIVE = 1;
|
205
|
+
|
206
|
+
// The engine is serving and can be queried.
|
207
|
+
ACTIVE = 2;
|
208
|
+
|
209
|
+
// The engine is trained on tuned hyperparameters and can be
|
210
|
+
// queried.
|
211
|
+
TUNED = 3;
|
212
|
+
}
|
213
|
+
|
214
|
+
// Describes whether this engine have sufficient training data
|
215
|
+
// to be continuously trained.
|
216
|
+
enum DataState {
|
217
|
+
// Unspecified default value, should never be explicitly set.
|
218
|
+
DATA_STATE_UNSPECIFIED = 0;
|
219
|
+
|
220
|
+
// The engine has sufficient training data.
|
221
|
+
DATA_OK = 1;
|
222
|
+
|
223
|
+
// The engine does not have sufficient training data. Error
|
224
|
+
// messages can be queried via Stackdriver.
|
225
|
+
DATA_ERROR = 2;
|
226
|
+
}
|
227
|
+
|
228
|
+
// Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`.
|
229
|
+
ServingState serving_state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
230
|
+
|
231
|
+
// Output only. The state of data requirements for this engine: `DATA_OK`
|
232
|
+
// and `DATA_ERROR`.
|
233
|
+
//
|
234
|
+
// Engine cannot be trained if the data is in
|
235
|
+
// `DATA_ERROR` state. Engine can have `DATA_ERROR` state even
|
236
|
+
// if serving state is `ACTIVE`: engines were trained successfully before,
|
237
|
+
// but cannot be refreshed because the underlying engine no longer has
|
238
|
+
// sufficient data for training.
|
239
|
+
DataState data_state = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
240
|
+
|
241
|
+
// Output only. The timestamp when the latest successful tune finished. Only
|
242
|
+
// applicable on Media Recommendation engines.
|
243
|
+
google.protobuf.Timestamp last_tune_time = 3
|
244
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
245
|
+
|
246
|
+
// Output only. The latest tune operation id associated with the engine.
|
247
|
+
// Only applicable on Media Recommendation engines.
|
248
|
+
//
|
249
|
+
// If present, this operation id can be used to determine if there is an
|
250
|
+
// ongoing tune for this engine. To check the operation status, send the
|
251
|
+
// GetOperation request with this operation id in the engine resource
|
252
|
+
// format. If no tuning has happened for this engine, the string is empty.
|
253
|
+
string tuning_operation = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
|
254
|
+
}
|
255
|
+
|
256
|
+
// Additional information of a Chat Engine.
|
257
|
+
// Fields in this message are output only.
|
258
|
+
message ChatEngineMetadata {
|
259
|
+
// The resource name of a Dialogflow agent, that this Chat Engine refers
|
260
|
+
// to.
|
261
|
+
//
|
262
|
+
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
263
|
+
// ID>`.
|
264
|
+
string dialogflow_agent = 1;
|
265
|
+
}
|
266
|
+
|
267
|
+
// Additional config specs that defines the behavior of the engine.
|
268
|
+
oneof engine_config {
|
269
|
+
// Additional config specs for a `similar-items` engine.
|
270
|
+
SimilarDocumentsEngineConfig similar_documents_config = 9;
|
271
|
+
|
272
|
+
// Configurations for the Chat Engine. Only applicable if
|
273
|
+
// [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type]
|
274
|
+
// is
|
275
|
+
// [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT].
|
276
|
+
ChatEngineConfig chat_engine_config = 11;
|
277
|
+
|
278
|
+
// Configurations for the Search Engine. Only applicable if
|
279
|
+
// [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type]
|
280
|
+
// is
|
281
|
+
// [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH].
|
282
|
+
SearchEngineConfig search_engine_config = 13;
|
283
|
+
|
284
|
+
// Configurations for the Media Engine. Only applicable on the data
|
285
|
+
// stores with
|
286
|
+
// [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type]
|
287
|
+
// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION]
|
288
|
+
// and
|
289
|
+
// [IndustryVertical.MEDIA][google.cloud.discoveryengine.v1alpha.IndustryVertical.MEDIA]
|
290
|
+
// vertical.
|
291
|
+
MediaRecommendationEngineConfig media_recommendation_engine_config = 14;
|
292
|
+
}
|
293
|
+
|
294
|
+
// Engine metadata to monitor the status of the engine.
|
295
|
+
oneof engine_metadata {
|
296
|
+
// Output only. Additional information of a recommendation engine. Only
|
297
|
+
// applicable if
|
298
|
+
// [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type]
|
299
|
+
// is
|
300
|
+
// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
|
301
|
+
RecommendationMetadata recommendation_metadata = 10
|
302
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
303
|
+
|
304
|
+
// Output only. Additional information of the Chat Engine. Only applicable
|
305
|
+
// if
|
306
|
+
// [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type]
|
307
|
+
// is
|
308
|
+
// [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT].
|
309
|
+
ChatEngineMetadata chat_engine_metadata = 12
|
310
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
311
|
+
}
|
312
|
+
|
313
|
+
// Immutable. The fully qualified resource name of the engine.
|
314
|
+
//
|
315
|
+
// This field must be a UTF-8 encoded string with a length limit of 1024
|
316
|
+
// characters.
|
317
|
+
//
|
318
|
+
// Format:
|
319
|
+
// `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
320
|
+
// engine should be 1-63 characters, and valid characters are
|
321
|
+
// /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.
|
322
|
+
string name = 1 [(google.api.field_behavior) = IMMUTABLE];
|
323
|
+
|
324
|
+
// Required. The display name of the engine. Should be human readable. UTF-8
|
325
|
+
// encoded string with limit of 1024 characters.
|
326
|
+
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
327
|
+
|
328
|
+
// Output only. Timestamp the Recommendation Engine was created at.
|
329
|
+
google.protobuf.Timestamp create_time = 3
|
330
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
331
|
+
|
332
|
+
// Output only. Timestamp the Recommendation Engine was last updated.
|
333
|
+
google.protobuf.Timestamp update_time = 4
|
334
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
335
|
+
|
336
|
+
// The data stores associated with this engine.
|
337
|
+
//
|
338
|
+
// For
|
339
|
+
// [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH]
|
340
|
+
// and
|
341
|
+
// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION]
|
342
|
+
// type of engines, they can only associate with at most one data store.
|
343
|
+
//
|
344
|
+
// If
|
345
|
+
// [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type]
|
346
|
+
// is
|
347
|
+
// [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT],
|
348
|
+
// multiple [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s in
|
349
|
+
// the same [Collection][google.cloud.discoveryengine.v1alpha.Collection] can
|
350
|
+
// be associated here.
|
351
|
+
//
|
352
|
+
// Note that when used in
|
353
|
+
// [CreateEngineRequest][google.cloud.discoveryengine.v1alpha.CreateEngineRequest],
|
354
|
+
// one DataStore id must be provided as the system will use it for necessary
|
355
|
+
// intializations.
|
356
|
+
repeated string data_store_ids = 5;
|
357
|
+
|
358
|
+
// Required. The solutions of the engine.
|
359
|
+
SolutionType solution_type = 6 [(google.api.field_behavior) = REQUIRED];
|
360
|
+
|
361
|
+
// The industry vertical that the engine registers.
|
362
|
+
// The restriction of the Engine industry vertical is based on
|
363
|
+
// [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]: If
|
364
|
+
// unspecified, default to `GENERIC`. Vertical on Engine has to match vertical
|
365
|
+
// of the DataStore liniked to the engine.
|
366
|
+
IndustryVertical industry_vertical = 16;
|
367
|
+
|
368
|
+
// Common config spec that specifies the metadata of the engine.
|
369
|
+
CommonConfig common_config = 15;
|
370
|
+
}
|