@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20231019 → 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.
Files changed (3) hide show
  1. package/index.d.ts +270 -27
  2. package/package.json +1 -1
  3. 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: 20231019
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?:
@@ -1114,8 +1344,9 @@ declare namespace gapi.client {
1114
1344
  string;
1115
1345
  /**
1116
1346
  * Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or
1117
- * boosted based on the location provided. * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which
1118
- * enables image searching.
1347
+ * boosted based on the location provided. Example: user_country_code: "au" For available codes see [Country
1348
+ * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * `search_type`: double. Default empty. Enables non-webpage searching depending on the
1349
+ * value. The only valid non-default value is 1, which enables image searching. Example: search_type: 1
1119
1350
  */
1120
1351
  params?:
1121
1352
  { [P in string]: any };
@@ -3462,8 +3693,10 @@ declare namespace gapi.client {
3462
3693
  quotaUser?:
3463
3694
  string;
3464
3695
  /**
3465
- * Required. Full resource name of the format: `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` Before you can request recommendations from your model,
3466
- * you must create at least one serving config for it.
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.
3467
3700
  */
3468
3701
  servingConfig:
3469
3702
  string;
@@ -3506,8 +3739,10 @@ declare namespace gapi.client {
3506
3739
  quotaUser?:
3507
3740
  string;
3508
3741
  /**
3509
- * Required. Full resource name of the format: `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` Before you can request recommendations from your model,
3510
- * you must create at least one serving config for it.
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.
3511
3746
  */
3512
3747
  servingConfig:
3513
3748
  string;
@@ -3549,8 +3784,8 @@ declare namespace gapi.client {
3549
3784
  quotaUser?:
3550
3785
  string;
3551
3786
  /**
3552
- * Required. The resource name of the Search serving config, such as
3553
- * `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
3554
3789
  * configuration name, set of models used to make the search.
3555
3790
  */
3556
3791
  servingConfig:
@@ -3594,8 +3829,8 @@ declare namespace gapi.client {
3594
3829
  quotaUser?:
3595
3830
  string;
3596
3831
  /**
3597
- * Required. The resource name of the Search serving config, such as
3598
- * `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
3599
3834
  * configuration name, set of models used to make the search.
3600
3835
  */
3601
3836
  servingConfig:
@@ -4223,8 +4458,10 @@ declare namespace gapi.client {
4223
4458
  quotaUser?:
4224
4459
  string;
4225
4460
  /**
4226
- * Required. Full resource name of the format: `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` Before you can request recommendations from your model,
4227
- * you must create at least one serving config for it.
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.
4228
4465
  */
4229
4466
  servingConfig:
4230
4467
  string;
@@ -4267,8 +4504,10 @@ declare namespace gapi.client {
4267
4504
  quotaUser?:
4268
4505
  string;
4269
4506
  /**
4270
- * Required. Full resource name of the format: `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` Before you can request recommendations from your model,
4271
- * you must create at least one serving config for it.
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.
4272
4511
  */
4273
4512
  servingConfig:
4274
4513
  string;
@@ -4310,8 +4549,8 @@ declare namespace gapi.client {
4310
4549
  quotaUser?:
4311
4550
  string;
4312
4551
  /**
4313
- * Required. The resource name of the Search serving config, such as
4314
- * `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
4315
4554
  * configuration name, set of models used to make the search.
4316
4555
  */
4317
4556
  servingConfig:
@@ -4355,8 +4594,8 @@ declare namespace gapi.client {
4355
4594
  quotaUser?:
4356
4595
  string;
4357
4596
  /**
4358
- * Required. The resource name of the Search serving config, such as
4359
- * `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
4360
4599
  * configuration name, set of models used to make the search.
4361
4600
  */
4362
4601
  servingConfig:
@@ -6007,8 +6246,10 @@ declare namespace gapi.client {
6007
6246
  quotaUser?:
6008
6247
  string;
6009
6248
  /**
6010
- * Required. Full resource name of the format: `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` Before you can request recommendations from your model,
6011
- * you must create at least one serving config for it.
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.
6012
6253
  */
6013
6254
  servingConfig:
6014
6255
  string;
@@ -6051,8 +6292,10 @@ declare namespace gapi.client {
6051
6292
  quotaUser?:
6052
6293
  string;
6053
6294
  /**
6054
- * Required. Full resource name of the format: `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` Before you can request recommendations from your model,
6055
- * you must create at least one serving config for it.
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.
6056
6299
  */
6057
6300
  servingConfig:
6058
6301
  string;
@@ -6094,8 +6337,8 @@ declare namespace gapi.client {
6094
6337
  quotaUser?:
6095
6338
  string;
6096
6339
  /**
6097
- * Required. The resource name of the Search serving config, such as
6098
- * `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
6099
6342
  * configuration name, set of models used to make the search.
6100
6343
  */
6101
6344
  servingConfig:
@@ -6139,8 +6382,8 @@ declare namespace gapi.client {
6139
6382
  quotaUser?:
6140
6383
  string;
6141
6384
  /**
6142
- * Required. The resource name of the Search serving config, such as
6143
- * `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
6144
6387
  * configuration name, set of models used to make the search.
6145
6388
  */
6146
6389
  servingConfig:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20231019",
3
+ "version": "0.0.20231102",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20231019
6
+ // Revision: 20231102
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */