@maxim_mazurok/gapi.client.discoveryengine-v1beta 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.
Files changed (2) hide show
  1. package/index.d.ts +29 -1
  2. 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=v1beta
12
- // Revision: 20240607
12
+ // Revision: 20240612
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -357,6 +357,8 @@ declare namespace gapi.client {
357
357
  idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
358
358
  /** Immutable. The industry vertical that the data store registers. */
359
359
  industryVertical?: string;
360
+ /** Language info for DataStore. */
361
+ languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
360
362
  /** 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. */
361
363
  name?: string;
362
364
  /** 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. */
@@ -627,6 +629,16 @@ declare namespace gapi.client {
627
629
  /** Count of user events imported, but with Document information not found in the existing Branch. */
628
630
  unjoinedEventsCount?: string;
629
631
  }
632
+ interface GoogleCloudDiscoveryengineV1alphaLanguageInfo {
633
+ /** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
634
+ language?: string;
635
+ /** The language code for the DataStore. */
636
+ languageCode?: string;
637
+ /** 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`. */
638
+ normalizedLanguageCode?: string;
639
+ /** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
640
+ region?: string;
641
+ }
630
642
  interface GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse {
631
643
  /** List of custom tuning models. */
632
644
  models?: GoogleCloudDiscoveryengineV1alphaCustomTuningModel[];
@@ -1505,6 +1517,8 @@ declare namespace gapi.client {
1505
1517
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
1506
1518
  /** Immutable. The industry vertical that the data store registers. */
1507
1519
  industryVertical?: string;
1520
+ /** Language info for DataStore. */
1521
+ languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
1508
1522
  /** 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. */
1509
1523
  name?: string;
1510
1524
  /** 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. */
@@ -1862,6 +1876,16 @@ declare namespace gapi.client {
1862
1876
  /** Inclusive lower bound. */
1863
1877
  minimum?: number;
1864
1878
  }
1879
+ interface GoogleCloudDiscoveryengineV1betaLanguageInfo {
1880
+ /** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
1881
+ language?: string;
1882
+ /** The language code for the DataStore. */
1883
+ languageCode?: string;
1884
+ /** 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`. */
1885
+ normalizedLanguageCode?: string;
1886
+ /** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
1887
+ region?: string;
1888
+ }
1865
1889
  interface GoogleCloudDiscoveryengineV1betaListControlsResponse {
1866
1890
  /** All the Controls for a given data store. */
1867
1891
  controls?: GoogleCloudDiscoveryengineV1betaControl[];
@@ -2141,6 +2165,8 @@ declare namespace gapi.client {
2141
2165
  filter?: string;
2142
2166
  /** Raw image query. */
2143
2167
  imageQuery?: GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery;
2168
+ /** 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. */
2169
+ languageCode?: string;
2144
2170
  /** 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. */
2145
2171
  offset?: number;
2146
2172
  /** 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. */
@@ -2157,6 +2183,8 @@ declare namespace gapi.client {
2157
2183
  queryExpansionSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec;
2158
2184
  /** The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joint by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: `relevance_score`: pre-defined keywords, used for measure relevance between query and document. `embedding_field_path`: the document embedding field used with query embedding vector. `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. */
2159
2185
  rankingExpression?: string;
2186
+ /** The Unicode country/region code (CLDR) of a location, such as "US" and "419". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided. */
2187
+ regionCode?: string;
2160
2188
  /** Whether to turn on safe search. This is only supported for website search. */
2161
2189
  safeSearch?: boolean;
2162
2190
  /** The spell correction specification that specifies the mode under which spell correction takes effect. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20240607",
3
+ "version": "0.0.20240612",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",