@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20231026 → 0.0.20231102
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/index.d.ts +267 -25
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231102
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -104,6 +104,22 @@ declare namespace gapi.client {
|
|
|
104
104
|
functionName?:
|
|
105
105
|
string;
|
|
106
106
|
}
|
|
107
|
+
interface GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata {
|
|
108
|
+
/** Operation create time. */
|
|
109
|
+
createTime?:
|
|
110
|
+
string;
|
|
111
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
112
|
+
updateTime?:
|
|
113
|
+
string;
|
|
114
|
+
}
|
|
115
|
+
interface GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata {
|
|
116
|
+
/** Operation create time. */
|
|
117
|
+
createTime?:
|
|
118
|
+
string;
|
|
119
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
120
|
+
updateTime?:
|
|
121
|
+
string;
|
|
122
|
+
}
|
|
107
123
|
interface GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata {
|
|
108
124
|
/** Operation create time. */
|
|
109
125
|
createTime?:
|
|
@@ -112,6 +128,51 @@ declare namespace gapi.client {
|
|
|
112
128
|
updateTime?:
|
|
113
129
|
string;
|
|
114
130
|
}
|
|
131
|
+
interface GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
132
|
+
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
133
|
+
contentConfig?:
|
|
134
|
+
string;
|
|
135
|
+
/** Output only. Timestamp the DataStore was created at. */
|
|
136
|
+
createTime?:
|
|
137
|
+
string;
|
|
138
|
+
/** Output only. The id of the default Schema asscociated to this data store. */
|
|
139
|
+
defaultSchemaId?:
|
|
140
|
+
string;
|
|
141
|
+
/** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
142
|
+
displayName?:
|
|
143
|
+
string;
|
|
144
|
+
/** Immutable. The industry vertical that the data store registers. */
|
|
145
|
+
industryVertical?:
|
|
146
|
+
string;
|
|
147
|
+
/**
|
|
148
|
+
* Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a
|
|
149
|
+
* UTF-8 encoded string with a length limit of 1024 characters.
|
|
150
|
+
*/
|
|
151
|
+
name?:
|
|
152
|
+
string;
|
|
153
|
+
/**
|
|
154
|
+
* The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`:
|
|
155
|
+
* `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
|
|
156
|
+
*/
|
|
157
|
+
solutionTypes?:
|
|
158
|
+
string[];
|
|
159
|
+
}
|
|
160
|
+
interface GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata {
|
|
161
|
+
/** Operation create time. */
|
|
162
|
+
createTime?:
|
|
163
|
+
string;
|
|
164
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
165
|
+
updateTime?:
|
|
166
|
+
string;
|
|
167
|
+
}
|
|
168
|
+
interface GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata {
|
|
169
|
+
/** Operation create time. */
|
|
170
|
+
createTime?:
|
|
171
|
+
string;
|
|
172
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
173
|
+
updateTime?:
|
|
174
|
+
string;
|
|
175
|
+
}
|
|
115
176
|
interface GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata {
|
|
116
177
|
/** Operation create time. */
|
|
117
178
|
createTime?:
|
|
@@ -120,6 +181,167 @@ declare namespace gapi.client {
|
|
|
120
181
|
updateTime?:
|
|
121
182
|
string;
|
|
122
183
|
}
|
|
184
|
+
interface GoogleCloudDiscoveryengineV1alphaEngine {
|
|
185
|
+
/** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
186
|
+
chatEngineConfig?:
|
|
187
|
+
GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig;
|
|
188
|
+
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
189
|
+
chatEngineMetadata?:
|
|
190
|
+
GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata;
|
|
191
|
+
/** Common config spec that specifies the metadata of the engine. */
|
|
192
|
+
commonConfig?:
|
|
193
|
+
GoogleCloudDiscoveryengineV1alphaEngineCommonConfig;
|
|
194
|
+
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
195
|
+
createTime?:
|
|
196
|
+
string;
|
|
197
|
+
/**
|
|
198
|
+
* The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If
|
|
199
|
+
* solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided
|
|
200
|
+
* as the system will use it for necessary intializations.
|
|
201
|
+
*/
|
|
202
|
+
dataStoreIds?:
|
|
203
|
+
string[];
|
|
204
|
+
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
205
|
+
displayName?:
|
|
206
|
+
string;
|
|
207
|
+
/** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
|
|
208
|
+
mediaRecommendationEngineConfig?:
|
|
209
|
+
GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
|
|
210
|
+
/**
|
|
211
|
+
* Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format:
|
|
212
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an
|
|
213
|
+
* INVALID_ARGUMENT error is returned.
|
|
214
|
+
*/
|
|
215
|
+
name?:
|
|
216
|
+
string;
|
|
217
|
+
/** Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
|
|
218
|
+
recommendationMetadata?:
|
|
219
|
+
GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
|
|
220
|
+
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
221
|
+
searchEngineConfig?:
|
|
222
|
+
GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig;
|
|
223
|
+
/** Additional config specs for a `similar-items` engine. */
|
|
224
|
+
similarDocumentsConfig?:
|
|
225
|
+
any;
|
|
226
|
+
/** Required. The solutions of the engine. */
|
|
227
|
+
solutionType?:
|
|
228
|
+
string;
|
|
229
|
+
/** Output only. Timestamp the Recommendation Engine was last updated. */
|
|
230
|
+
updateTime?:
|
|
231
|
+
string;
|
|
232
|
+
}
|
|
233
|
+
interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig {
|
|
234
|
+
/**
|
|
235
|
+
* The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It
|
|
236
|
+
* means they cannot be retrieved using GetEngine or ListEngine API after engine creation.
|
|
237
|
+
*/
|
|
238
|
+
agentCreationConfig?:
|
|
239
|
+
GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig;
|
|
240
|
+
/**
|
|
241
|
+
* The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links
|
|
242
|
+
* the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means
|
|
243
|
+
* they cannot be retrieved using GetEngine or ListEngine API after engine creation. Please use Engine.chat_engine_metadata.dialogflow_agent for actual agent association after Engine
|
|
244
|
+
* is created.
|
|
245
|
+
*/
|
|
246
|
+
dialogflowAgentToLink?:
|
|
247
|
+
string;
|
|
248
|
+
}
|
|
249
|
+
interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig {
|
|
250
|
+
/** Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search. */
|
|
251
|
+
business?:
|
|
252
|
+
string;
|
|
253
|
+
/**
|
|
254
|
+
* Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently
|
|
255
|
+
* supported language codes.
|
|
256
|
+
*/
|
|
257
|
+
defaultLanguageCode?:
|
|
258
|
+
string;
|
|
259
|
+
/** Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. */
|
|
260
|
+
timeZone?:
|
|
261
|
+
string;
|
|
262
|
+
}
|
|
263
|
+
interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata {
|
|
264
|
+
/** The resource name of a Dialogflow agent, that this Chat Engine refers to. Format: `projects//locations//agents/`. */
|
|
265
|
+
dialogflowAgent?:
|
|
266
|
+
string;
|
|
267
|
+
}
|
|
268
|
+
interface GoogleCloudDiscoveryengineV1alphaEngineCommonConfig {
|
|
269
|
+
/** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
|
|
270
|
+
companyName?:
|
|
271
|
+
string;
|
|
272
|
+
}
|
|
273
|
+
interface GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig {
|
|
274
|
+
/**
|
|
275
|
+
* The optimization objective e.g. `cvr`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported
|
|
276
|
+
* values: `ctr`, `cvr`. If not specified, we choose default based on engine type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` =>
|
|
277
|
+
* `ctr`
|
|
278
|
+
*/
|
|
279
|
+
optimizationObjective?:
|
|
280
|
+
string;
|
|
281
|
+
/**
|
|
282
|
+
* Name and value of the custom threshold for cvr optimization_objective. For target_field `watch-time`, target_field_value must be an integer value indicating the media progress time
|
|
283
|
+
* in seconds between (0, 86400] (excludes 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the target_field_value must be a valid float value between (0, 1.0]
|
|
284
|
+
* (excludes 0, includes 1.0) (e.g., 0.5).
|
|
285
|
+
*/
|
|
286
|
+
optimizationObjectiveConfig?:
|
|
287
|
+
GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig;
|
|
288
|
+
/**
|
|
289
|
+
* The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when
|
|
290
|
+
* to train engine in order to control cost. If not specified: the default value for `CreateEngine` method is `TRAINING`. The default value for `UpdateEngine` method is to keep the
|
|
291
|
+
* state the same as before.
|
|
292
|
+
*/
|
|
293
|
+
trainingState?:
|
|
294
|
+
string;
|
|
295
|
+
/**
|
|
296
|
+
* Required. The type of engine e.g. `recommended-for-you`. This field together with optimization_objective describe engine metadata to use to control engine training and serving.
|
|
297
|
+
* Currently supported values: `recommended-for-you`, `others-you-may-like`, `more-like-this`, `most-popular-items`.
|
|
298
|
+
*/
|
|
299
|
+
type?:
|
|
300
|
+
string;
|
|
301
|
+
}
|
|
302
|
+
interface GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig {
|
|
303
|
+
/** Required. The name of the field to target. Currently supported values: `watch-percentage`, `watch-time`. */
|
|
304
|
+
targetField?:
|
|
305
|
+
string;
|
|
306
|
+
/** Required. The threshold to be applied to the target (e.g., 0.5). */
|
|
307
|
+
targetFieldValueFloat?:
|
|
308
|
+
number;
|
|
309
|
+
}
|
|
310
|
+
interface GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata {
|
|
311
|
+
/**
|
|
312
|
+
* Output only. The state of data requirements for this engine: `DATA_OK` and `DATA_ERROR`. Engine cannot be trained if the data is in `DATA_ERROR` state. Engine can have `DATA_ERROR`
|
|
313
|
+
* state even if serving state is `ACTIVE`: engines were trained successfully before, but cannot be refreshed because the underlying engine no longer has sufficient data for training.
|
|
314
|
+
*/
|
|
315
|
+
dataState?:
|
|
316
|
+
string;
|
|
317
|
+
/** Output only. The timestamp when the latest successful tune finished. Only applicable on Media Recommendation engines. */
|
|
318
|
+
lastTuneTime?:
|
|
319
|
+
string;
|
|
320
|
+
/** Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`. */
|
|
321
|
+
servingState?:
|
|
322
|
+
string;
|
|
323
|
+
/**
|
|
324
|
+
* Output only. The latest tune operation id associated with the engine. Only applicable on Media Recommendation engines. If present, this operation id can be used to determine if
|
|
325
|
+
* there is an ongoing tune for this engine. To check the operation status, send the GetOperation request with this operation id in the engine resource format. If no tuning has
|
|
326
|
+
* happened for this engine, the string is empty.
|
|
327
|
+
*/
|
|
328
|
+
tuningOperation?:
|
|
329
|
+
string;
|
|
330
|
+
}
|
|
331
|
+
interface GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig {
|
|
332
|
+
/** The add-on that this search engine enables. */
|
|
333
|
+
searchAddOns?:
|
|
334
|
+
string[];
|
|
335
|
+
/**
|
|
336
|
+
* The search feature tier of this engine. Different tiers might have different pricing. To learn more, please check the pricing documentation. Defaults to
|
|
337
|
+
* SearchTier.SEARCH_TIER_STANDARD if not specified.
|
|
338
|
+
*/
|
|
339
|
+
searchTier?:
|
|
340
|
+
string;
|
|
341
|
+
}
|
|
342
|
+
// tslint:disable-next-line:no-empty-interface
|
|
343
|
+
interface GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig {
|
|
344
|
+
}
|
|
123
345
|
interface GoogleCloudDiscoveryengineV1alphaFieldConfig {
|
|
124
346
|
/**
|
|
125
347
|
* If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option
|
|
@@ -395,6 +617,14 @@ declare namespace gapi.client {
|
|
|
395
617
|
// tslint:disable-next-line:no-empty-interface
|
|
396
618
|
interface GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure {
|
|
397
619
|
}
|
|
620
|
+
interface GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata {
|
|
621
|
+
/** Required. The resource name of the engine that this tune applies to. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
|
|
622
|
+
engine?:
|
|
623
|
+
string;
|
|
624
|
+
}
|
|
625
|
+
// tslint:disable-next-line:no-empty-interface
|
|
626
|
+
interface GoogleCloudDiscoveryengineV1alphaTuneEngineResponse {
|
|
627
|
+
}
|
|
398
628
|
interface GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata {
|
|
399
629
|
/** Operation create time. */
|
|
400
630
|
createTime?:
|
|
@@ -3463,8 +3693,10 @@ declare namespace gapi.client {
|
|
|
3463
3693
|
quotaUser?:
|
|
3464
3694
|
string;
|
|
3465
3695
|
/**
|
|
3466
|
-
* Required. Full resource name of
|
|
3467
|
-
*
|
|
3696
|
+
* Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or
|
|
3697
|
+
* `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID
|
|
3698
|
+
* will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use
|
|
3699
|
+
* `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your Recommend requests.
|
|
3468
3700
|
*/
|
|
3469
3701
|
servingConfig:
|
|
3470
3702
|
string;
|
|
@@ -3507,8 +3739,10 @@ declare namespace gapi.client {
|
|
|
3507
3739
|
quotaUser?:
|
|
3508
3740
|
string;
|
|
3509
3741
|
/**
|
|
3510
|
-
* Required. Full resource name of
|
|
3511
|
-
*
|
|
3742
|
+
* Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or
|
|
3743
|
+
* `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID
|
|
3744
|
+
* will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use
|
|
3745
|
+
* `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your Recommend requests.
|
|
3512
3746
|
*/
|
|
3513
3747
|
servingConfig:
|
|
3514
3748
|
string;
|
|
@@ -3550,8 +3784,8 @@ declare namespace gapi.client {
|
|
|
3550
3784
|
quotaUser?:
|
|
3551
3785
|
string;
|
|
3552
3786
|
/**
|
|
3553
|
-
* Required. The resource name of the Search serving config, such as
|
|
3554
|
-
* `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
3787
|
+
* Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`,
|
|
3788
|
+
* or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
3555
3789
|
* configuration name, set of models used to make the search.
|
|
3556
3790
|
*/
|
|
3557
3791
|
servingConfig:
|
|
@@ -3595,8 +3829,8 @@ declare namespace gapi.client {
|
|
|
3595
3829
|
quotaUser?:
|
|
3596
3830
|
string;
|
|
3597
3831
|
/**
|
|
3598
|
-
* Required. The resource name of the Search serving config, such as
|
|
3599
|
-
* `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
3832
|
+
* Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`,
|
|
3833
|
+
* or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
3600
3834
|
* configuration name, set of models used to make the search.
|
|
3601
3835
|
*/
|
|
3602
3836
|
servingConfig:
|
|
@@ -4224,8 +4458,10 @@ declare namespace gapi.client {
|
|
|
4224
4458
|
quotaUser?:
|
|
4225
4459
|
string;
|
|
4226
4460
|
/**
|
|
4227
|
-
* Required. Full resource name of
|
|
4228
|
-
*
|
|
4461
|
+
* Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or
|
|
4462
|
+
* `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID
|
|
4463
|
+
* will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use
|
|
4464
|
+
* `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your Recommend requests.
|
|
4229
4465
|
*/
|
|
4230
4466
|
servingConfig:
|
|
4231
4467
|
string;
|
|
@@ -4268,8 +4504,10 @@ declare namespace gapi.client {
|
|
|
4268
4504
|
quotaUser?:
|
|
4269
4505
|
string;
|
|
4270
4506
|
/**
|
|
4271
|
-
* Required. Full resource name of
|
|
4272
|
-
*
|
|
4507
|
+
* Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or
|
|
4508
|
+
* `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID
|
|
4509
|
+
* will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use
|
|
4510
|
+
* `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your Recommend requests.
|
|
4273
4511
|
*/
|
|
4274
4512
|
servingConfig:
|
|
4275
4513
|
string;
|
|
@@ -4311,8 +4549,8 @@ declare namespace gapi.client {
|
|
|
4311
4549
|
quotaUser?:
|
|
4312
4550
|
string;
|
|
4313
4551
|
/**
|
|
4314
|
-
* Required. The resource name of the Search serving config, such as
|
|
4315
|
-
* `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
4552
|
+
* Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`,
|
|
4553
|
+
* or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
4316
4554
|
* configuration name, set of models used to make the search.
|
|
4317
4555
|
*/
|
|
4318
4556
|
servingConfig:
|
|
@@ -4356,8 +4594,8 @@ declare namespace gapi.client {
|
|
|
4356
4594
|
quotaUser?:
|
|
4357
4595
|
string;
|
|
4358
4596
|
/**
|
|
4359
|
-
* Required. The resource name of the Search serving config, such as
|
|
4360
|
-
* `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
4597
|
+
* Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`,
|
|
4598
|
+
* or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
4361
4599
|
* configuration name, set of models used to make the search.
|
|
4362
4600
|
*/
|
|
4363
4601
|
servingConfig:
|
|
@@ -6008,8 +6246,10 @@ declare namespace gapi.client {
|
|
|
6008
6246
|
quotaUser?:
|
|
6009
6247
|
string;
|
|
6010
6248
|
/**
|
|
6011
|
-
* Required. Full resource name of
|
|
6012
|
-
*
|
|
6249
|
+
* Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or
|
|
6250
|
+
* `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID
|
|
6251
|
+
* will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use
|
|
6252
|
+
* `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your Recommend requests.
|
|
6013
6253
|
*/
|
|
6014
6254
|
servingConfig:
|
|
6015
6255
|
string;
|
|
@@ -6052,8 +6292,10 @@ declare namespace gapi.client {
|
|
|
6052
6292
|
quotaUser?:
|
|
6053
6293
|
string;
|
|
6054
6294
|
/**
|
|
6055
|
-
* Required. Full resource name of
|
|
6056
|
-
*
|
|
6295
|
+
* Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or
|
|
6296
|
+
* `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID
|
|
6297
|
+
* will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use
|
|
6298
|
+
* `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your Recommend requests.
|
|
6057
6299
|
*/
|
|
6058
6300
|
servingConfig:
|
|
6059
6301
|
string;
|
|
@@ -6095,8 +6337,8 @@ declare namespace gapi.client {
|
|
|
6095
6337
|
quotaUser?:
|
|
6096
6338
|
string;
|
|
6097
6339
|
/**
|
|
6098
|
-
* Required. The resource name of the Search serving config, such as
|
|
6099
|
-
* `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
6340
|
+
* Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`,
|
|
6341
|
+
* or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
6100
6342
|
* configuration name, set of models used to make the search.
|
|
6101
6343
|
*/
|
|
6102
6344
|
servingConfig:
|
|
@@ -6140,8 +6382,8 @@ declare namespace gapi.client {
|
|
|
6140
6382
|
quotaUser?:
|
|
6141
6383
|
string;
|
|
6142
6384
|
/**
|
|
6143
|
-
* Required. The resource name of the Search serving config, such as
|
|
6144
|
-
* `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
6385
|
+
* Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`,
|
|
6386
|
+
* or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving
|
|
6145
6387
|
* configuration name, set of models used to make the search.
|
|
6146
6388
|
*/
|
|
6147
6389
|
servingConfig:
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20231102
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|