@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20240607 → 0.0.20240612
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 +27 -1
- package/package.json +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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240612
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -371,6 +371,8 @@ declare namespace gapi.client {
|
|
|
371
371
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
372
372
|
/** Immutable. The industry vertical that the data store registers. */
|
|
373
373
|
industryVertical?: string;
|
|
374
|
+
/** Language info for DataStore. */
|
|
375
|
+
languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
|
|
374
376
|
/** 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 UTF-8 encoded string with a length limit of 1024 characters. */
|
|
375
377
|
name?: string;
|
|
376
378
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
@@ -641,6 +643,16 @@ declare namespace gapi.client {
|
|
|
641
643
|
/** Count of user events imported, but with Document information not found in the existing Branch. */
|
|
642
644
|
unjoinedEventsCount?: string;
|
|
643
645
|
}
|
|
646
|
+
interface GoogleCloudDiscoveryengineV1alphaLanguageInfo {
|
|
647
|
+
/** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
|
|
648
|
+
language?: string;
|
|
649
|
+
/** The language code for the DataStore. */
|
|
650
|
+
languageCode?: string;
|
|
651
|
+
/** Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`. */
|
|
652
|
+
normalizedLanguageCode?: string;
|
|
653
|
+
/** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
|
|
654
|
+
region?: string;
|
|
655
|
+
}
|
|
644
656
|
interface GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse {
|
|
645
657
|
/** List of custom tuning models. */
|
|
646
658
|
models?: GoogleCloudDiscoveryengineV1alphaCustomTuningModel[];
|
|
@@ -1279,6 +1291,8 @@ declare namespace gapi.client {
|
|
|
1279
1291
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
1280
1292
|
/** Immutable. The industry vertical that the data store registers. */
|
|
1281
1293
|
industryVertical?: string;
|
|
1294
|
+
/** Language info for DataStore. */
|
|
1295
|
+
languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
|
|
1282
1296
|
/** 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 UTF-8 encoded string with a length limit of 1024 characters. */
|
|
1283
1297
|
name?: string;
|
|
1284
1298
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
@@ -1472,6 +1486,16 @@ declare namespace gapi.client {
|
|
|
1472
1486
|
/** Count of user events imported, but with Document information not found in the existing Branch. */
|
|
1473
1487
|
unjoinedEventsCount?: string;
|
|
1474
1488
|
}
|
|
1489
|
+
interface GoogleCloudDiscoveryengineV1betaLanguageInfo {
|
|
1490
|
+
/** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
|
|
1491
|
+
language?: string;
|
|
1492
|
+
/** The language code for the DataStore. */
|
|
1493
|
+
languageCode?: string;
|
|
1494
|
+
/** Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`. */
|
|
1495
|
+
normalizedLanguageCode?: string;
|
|
1496
|
+
/** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
|
|
1497
|
+
region?: string;
|
|
1498
|
+
}
|
|
1475
1499
|
interface GoogleCloudDiscoveryengineV1betaListCustomModelsResponse {
|
|
1476
1500
|
/** List of custom tuning models. */
|
|
1477
1501
|
models?: GoogleCloudDiscoveryengineV1betaCustomTuningModel[];
|
|
@@ -2531,6 +2555,8 @@ declare namespace gapi.client {
|
|
|
2531
2555
|
filter?: string;
|
|
2532
2556
|
/** Raw image query. */
|
|
2533
2557
|
imageQuery?: GoogleCloudDiscoveryengineV1SearchRequestImageQuery;
|
|
2558
|
+
/** The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. */
|
|
2559
|
+
languageCode?: string;
|
|
2534
2560
|
/** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
2535
2561
|
offset?: number;
|
|
2536
2562
|
/** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering for retail search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
|