@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20241220 → 0.0.20250107

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 +125 -25
  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: 20241220
12
+ // Revision: 20250107
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -158,7 +158,12 @@ declare namespace gapi.client {
158
158
  /** Human-readable name of a function or method—for example, `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`. */
159
159
  functionName?: string;
160
160
  }
161
- interface GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig {}
161
+ interface GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig {
162
+ /** If set true, automatic refresh is disabled for the DataStore. */
163
+ disableAutomaticRefresh?: boolean;
164
+ /** If set true, initial indexing is disabled for the DataStore. */
165
+ disableInitialIndex?: boolean;
166
+ }
162
167
  interface GoogleCloudDiscoveryengineV1alphaAclConfig {
163
168
  /** Identity provider config. */
164
169
  idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
@@ -200,6 +205,8 @@ declare namespace gapi.client {
200
205
  references?: GoogleCloudDiscoveryengineV1alphaAnswerReference[];
201
206
  /** Suggested related questions. */
202
207
  relatedQuestions?: string[];
208
+ /** Optional. Safety ratings. */
209
+ safetyRatings?: GoogleCloudDiscoveryengineV1alphaSafetyRating[];
203
210
  /** The state of the answer generation. */
204
211
  state?: string;
205
212
  /** Answer generation steps. */
@@ -376,7 +383,7 @@ declare namespace gapi.client {
376
383
  interface GoogleCloudDiscoveryengineV1alphaCollection {
377
384
  /** Output only. Timestamp the Collection was created at. */
378
385
  createTime?: string;
379
- /** Output only. The data connector, if present, manages the connection for data stores in the Collection. To set up the connector, use DataConnectorService.SetUpDataConnector method, which creates a new Collection while setting up the DataConnector singleton resource. Setting up connector on an existing Collection is not supported. This output only field contains a subset of the DataConnector fields, including `name`, `data_source`, `entities.entity_name` and `entities.data_store`. To get more details about a data connector, use the DataConnector.GetDataConnector method. */
386
+ /** Output only. The data connector, if present, manages the connection for data stores in the Collection. To set up the connector, use DataConnectorService.SetUpDataConnector method, which creates a new Collection while setting up the DataConnector singleton resource. Setting up connector on an existing Collection is not supported. This output only field contains a subset of the DataConnector fields, including `name`, `data_source`, `entities.entity_name` and `entities.data_store`. To get more details about a data connector, use the DataConnectorService.GetDataConnector method. */
380
387
  dataConnector?: GoogleCloudDiscoveryengineV1alphaDataConnector;
381
388
  /** Required. The Collection 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. */
382
389
  displayName?: string;
@@ -470,12 +477,14 @@ declare namespace gapi.client {
470
477
  useCases?: string[];
471
478
  }
472
479
  interface GoogleCloudDiscoveryengineV1alphaControlBoostAction {
473
- /** Required. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
480
+ /** Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
474
481
  boost?: number;
475
482
  /** Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
476
483
  dataStore?: string;
477
484
  /** Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
478
485
  filter?: string;
486
+ /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
487
+ fixedBoost?: number;
479
488
  }
480
489
  interface GoogleCloudDiscoveryengineV1alphaControlFilterAction {
481
490
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -678,6 +687,12 @@ declare namespace gapi.client {
678
687
  /** Operation last update time. If the operation is done, this is also the finish time. */
679
688
  updateTime?: string;
680
689
  }
690
+ interface GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata {
691
+ /** Operation create time. */
692
+ createTime?: string;
693
+ /** Operation last update time. If the operation is done, this is also the finish time. */
694
+ updateTime?: string;
695
+ }
681
696
  interface GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata {
682
697
  /** Operation create time. */
683
698
  createTime?: string;
@@ -938,6 +953,8 @@ declare namespace gapi.client {
938
953
  documentDataMap?: {[P in string]: {[P in string]: any}};
939
954
  }
940
955
  interface GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig {
956
+ /** Optional. The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day. */
957
+ nextSyncTime?: GoogleTypeDateTime;
941
958
  /** Optional. The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days. */
942
959
  refreshInterval?: string;
943
960
  }
@@ -1248,6 +1265,32 @@ declare namespace gapi.client {
1248
1265
  /** Reason why the URI was not crawled. */
1249
1266
  errorMessage?: string;
1250
1267
  }
1268
+ interface GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata {
1269
+ /** Operation create time. */
1270
+ createTime?: string;
1271
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1272
+ updateTime?: string;
1273
+ }
1274
+ interface GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse {
1275
+ /** Errors from service when handling the request. */
1276
+ error?: GoogleRpcStatus;
1277
+ /** Output only. The state of the response. */
1278
+ state?: string;
1279
+ }
1280
+ interface GoogleCloudDiscoveryengineV1alphaSafetyRating {
1281
+ /** Output only. Indicates whether the content was filtered out because of this rating. */
1282
+ blocked?: boolean;
1283
+ /** Output only. Harm category. */
1284
+ category?: string;
1285
+ /** Output only. Harm probability levels in the content. */
1286
+ probability?: string;
1287
+ /** Output only. Harm probability score. */
1288
+ probabilityScore?: number;
1289
+ /** Output only. Harm severity levels in the content. */
1290
+ severity?: string;
1291
+ /** Output only. Harm severity score. */
1292
+ severityScore?: number;
1293
+ }
1251
1294
  interface GoogleCloudDiscoveryengineV1alphaSchema {
1252
1295
  /** Output only. Configurations for fields of the schema. */
1253
1296
  fieldConfigs?: GoogleCloudDiscoveryengineV1alphaFieldConfig[];
@@ -1483,7 +1526,7 @@ declare namespace gapi.client {
1483
1526
  imageBytes?: string;
1484
1527
  }
1485
1528
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec {
1486
- /** The condition under which filter extraction should occur. Default to Condition.DISABLED. */
1529
+ /** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
1487
1530
  filterExtractionCondition?: string;
1488
1531
  /** Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names. */
1489
1532
  geoSearchQueryDetectionFieldNames?: string[];
@@ -1538,6 +1581,18 @@ declare namespace gapi.client {
1538
1581
  /** The user query. */
1539
1582
  query?: GoogleCloudDiscoveryengineV1alphaQuery;
1540
1583
  }
1584
+ interface GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata {
1585
+ /** Operation create time. */
1586
+ createTime?: string;
1587
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1588
+ updateTime?: string;
1589
+ }
1590
+ interface GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse {
1591
+ /** Errors from service when handling the request. */
1592
+ error?: GoogleRpcStatus;
1593
+ /** Output only. The state of the response. */
1594
+ state?: string;
1595
+ }
1541
1596
  interface GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata {}
1542
1597
  interface GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata {
1543
1598
  /** Operation create time. */
@@ -1565,7 +1620,7 @@ declare namespace gapi.client {
1565
1620
  verifyTime?: string;
1566
1621
  }
1567
1622
  interface GoogleCloudDiscoveryengineV1alphaTargetSite {
1568
- /** Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine. */
1623
+ /** Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine. */
1569
1624
  exactMatch?: boolean;
1570
1625
  /** Output only. Failure reason. */
1571
1626
  failureReason?: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason;
@@ -1745,7 +1800,12 @@ declare namespace gapi.client {
1745
1800
  /** The suggestion for the query. */
1746
1801
  suggestion?: string;
1747
1802
  }
1748
- interface GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig {}
1803
+ interface GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig {
1804
+ /** If set true, automatic refresh is disabled for the DataStore. */
1805
+ disableAutomaticRefresh?: boolean;
1806
+ /** If set true, initial indexing is disabled for the DataStore. */
1807
+ disableInitialIndex?: boolean;
1808
+ }
1749
1809
  interface GoogleCloudDiscoveryengineV1betaAlloyDbSource {
1750
1810
  /** Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters. */
1751
1811
  clusterId?: string;
@@ -1783,6 +1843,8 @@ declare namespace gapi.client {
1783
1843
  references?: GoogleCloudDiscoveryengineV1betaAnswerReference[];
1784
1844
  /** Suggested related questions. */
1785
1845
  relatedQuestions?: string[];
1846
+ /** Optional. Safety ratings. */
1847
+ safetyRatings?: GoogleCloudDiscoveryengineV1betaSafetyRating[];
1786
1848
  /** The state of the answer generation. */
1787
1849
  state?: string;
1788
1850
  /** Answer generation steps. */
@@ -1897,6 +1959,14 @@ declare namespace gapi.client {
1897
1959
  interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec {
1898
1960
  /** Enable the safety filtering on the answer response. It is false by default. */
1899
1961
  enable?: boolean;
1962
+ /** Optional. Safety settings. This settings are effective only when the safety_spec.enable is true. */
1963
+ safetySettings?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpecSafetySetting[];
1964
+ }
1965
+ interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpecSafetySetting {
1966
+ /** Required. Harm category. */
1967
+ category?: string;
1968
+ /** Required. The harm block threshold. */
1969
+ threshold?: string;
1900
1970
  }
1901
1971
  interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec {
1902
1972
  /** Search parameters. */
@@ -2376,12 +2446,14 @@ declare namespace gapi.client {
2376
2446
  useCases?: string[];
2377
2447
  }
2378
2448
  interface GoogleCloudDiscoveryengineV1betaControlBoostAction {
2379
- /** Required. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
2449
+ /** Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
2380
2450
  boost?: number;
2381
2451
  /** Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
2382
2452
  dataStore?: string;
2383
2453
  /** Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
2384
2454
  filter?: string;
2455
+ /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
2456
+ fixedBoost?: number;
2385
2457
  }
2386
2458
  interface GoogleCloudDiscoveryengineV1betaControlFilterAction {
2387
2459
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -2522,7 +2594,7 @@ declare namespace gapi.client {
2522
2594
  }
2523
2595
  interface GoogleCloudDiscoveryengineV1betaDataStore {
2524
2596
  /** Optional. Configuration for advanced site search. */
2525
- advancedSiteSearchConfig?: any;
2597
+ advancedSiteSearchConfig?: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig;
2526
2598
  /** Output only. Data size estimation for billing. */
2527
2599
  billingEstimation?: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation;
2528
2600
  /** Output only. CMEK-related information for the DataStore. */
@@ -2588,6 +2660,12 @@ declare namespace gapi.client {
2588
2660
  /** Operation last update time. If the operation is done, this is also the finish time. */
2589
2661
  updateTime?: string;
2590
2662
  }
2663
+ interface GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata {
2664
+ /** Operation create time. */
2665
+ createTime?: string;
2666
+ /** Operation last update time. If the operation is done, this is also the finish time. */
2667
+ updateTime?: string;
2668
+ }
2591
2669
  interface GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata {
2592
2670
  /** Operation create time. */
2593
2671
  createTime?: string;
@@ -2619,7 +2697,7 @@ declare namespace gapi.client {
2619
2697
  content?: GoogleCloudDiscoveryengineV1betaDocumentContent;
2620
2698
  /** Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document. */
2621
2699
  derivedStructData?: {[P in string]: any};
2622
- /** Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. */
2700
+ /** Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. */
2623
2701
  id?: string;
2624
2702
  /** Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, if document's index is in progress, the pending_message field is populated. */
2625
2703
  indexStatus?: GoogleCloudDiscoveryengineV1betaDocumentIndexStatus;
@@ -3235,7 +3313,7 @@ declare namespace gapi.client {
3235
3313
  nextPageToken?: string;
3236
3314
  }
3237
3315
  interface GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse {
3238
- /** The EvaluationResults. */
3316
+ /** The evaluation results for the SampleQuerys. */
3239
3317
  evaluationResults?: GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult[];
3240
3318
  /** A token that can be sent as ListEvaluationResultsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3241
3319
  nextPageToken?: string;
@@ -3501,7 +3579,7 @@ declare namespace gapi.client {
3501
3579
  metadata?: {[P in string]: any};
3502
3580
  }
3503
3581
  interface GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest {
3504
- /** Optional. Full resource name of the SiteCredential, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/siteCredentials/*`. Only set to crawl private URIs. */
3582
+ /** Optional. Full resource name of the `SiteCredential`, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/siteCredentials/*`. Only set to crawl private URIs. */
3505
3583
  siteCredential?: string;
3506
3584
  /** Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in `site_search_engine`. */
3507
3585
  uris?: string[];
@@ -3525,6 +3603,20 @@ declare namespace gapi.client {
3525
3603
  uri?: string;
3526
3604
  }
3527
3605
  interface GoogleCloudDiscoveryengineV1betaResumeEngineRequest {}
3606
+ interface GoogleCloudDiscoveryengineV1betaSafetyRating {
3607
+ /** Output only. Indicates whether the content was filtered out because of this rating. */
3608
+ blocked?: boolean;
3609
+ /** Output only. Harm category. */
3610
+ category?: string;
3611
+ /** Output only. Harm probability levels in the content. */
3612
+ probability?: string;
3613
+ /** Output only. Harm probability score. */
3614
+ probabilityScore?: number;
3615
+ /** Output only. Harm severity levels in the content. */
3616
+ severity?: string;
3617
+ /** Output only. Harm severity score. */
3618
+ severityScore?: number;
3619
+ }
3528
3620
  interface GoogleCloudDiscoveryengineV1betaSampleQuery {
3529
3621
  /** Output only. Timestamp the SampleQuery was created at. */
3530
3622
  createTime?: string;
@@ -3796,7 +3888,7 @@ declare namespace gapi.client {
3796
3888
  imageBytes?: string;
3797
3889
  }
3798
3890
  interface GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec {
3799
- /** The condition under which filter extraction should occur. Default to Condition.DISABLED. */
3891
+ /** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
3800
3892
  filterExtractionCondition?: string;
3801
3893
  /** Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names. */
3802
3894
  geoSearchQueryDetectionFieldNames?: string[];
@@ -4069,7 +4161,7 @@ declare namespace gapi.client {
4069
4161
  personalizationSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec;
4070
4162
  /** Condition promote specifications. Maximum number of specifications is 100. */
4071
4163
  promoteControlIds?: string[];
4072
- /** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined 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)`. */
4164
+ /** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if `SearchRequest.ranking_expression` is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined 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)`. */
4073
4165
  rankingExpression?: string;
4074
4166
  /** IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
4075
4167
  redirectControlIds?: string[];
@@ -4165,7 +4257,7 @@ declare namespace gapi.client {
4165
4257
  matchOperator?: string;
4166
4258
  }
4167
4259
  interface GoogleCloudDiscoveryengineV1betaTargetSite {
4168
- /** Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine. */
4260
+ /** Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine. */
4169
4261
  exactMatch?: boolean;
4170
4262
  /** Output only. Failure reason. */
4171
4263
  failureReason?: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason;
@@ -4395,12 +4487,14 @@ declare namespace gapi.client {
4395
4487
  useCases?: string[];
4396
4488
  }
4397
4489
  interface GoogleCloudDiscoveryengineV1ControlBoostAction {
4398
- /** Required. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
4490
+ /** Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
4399
4491
  boost?: number;
4400
4492
  /** Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
4401
4493
  dataStore?: string;
4402
4494
  /** Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
4403
4495
  filter?: string;
4496
+ /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
4497
+ fixedBoost?: number;
4404
4498
  }
4405
4499
  interface GoogleCloudDiscoveryengineV1ControlFilterAction {
4406
4500
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -4448,7 +4542,7 @@ declare namespace gapi.client {
4448
4542
  }
4449
4543
  interface GoogleCloudDiscoveryengineV1DataStore {
4450
4544
  /** Optional. Configuration for advanced site search. */
4451
- advancedSiteSearchConfig?: any;
4545
+ advancedSiteSearchConfig?: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig;
4452
4546
  /** Output only. Data size estimation for billing. */
4453
4547
  billingEstimation?: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation;
4454
4548
  /** Output only. CMEK-related information for the DataStore. */
@@ -4510,6 +4604,12 @@ declare namespace gapi.client {
4510
4604
  /** Operation last update time. If the operation is done, this is also the finish time. */
4511
4605
  updateTime?: string;
4512
4606
  }
4607
+ interface GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata {
4608
+ /** Operation create time. */
4609
+ createTime?: string;
4610
+ /** Operation last update time. If the operation is done, this is also the finish time. */
4611
+ updateTime?: string;
4612
+ }
4513
4613
  interface GoogleCloudDiscoveryengineV1DeleteSchemaMetadata {
4514
4614
  /** Operation create time. */
4515
4615
  createTime?: string;
@@ -4884,7 +4984,7 @@ declare namespace gapi.client {
4884
4984
  onewaySynonymsControlIds?: string[];
4885
4985
  /** Condition promote specifications. Maximum number of specifications is 100. */
4886
4986
  promoteControlIds?: string[];
4887
- /** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined 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)`. */
4987
+ /** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if `SearchRequest.ranking_expression` is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined 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)`. */
4888
4988
  rankingExpression?: string;
4889
4989
  /** IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
4890
4990
  redirectControlIds?: string[];
@@ -4924,7 +5024,7 @@ declare namespace gapi.client {
4924
5024
  verifyTime?: string;
4925
5025
  }
4926
5026
  interface GoogleCloudDiscoveryengineV1TargetSite {
4927
- /** Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine. */
5027
+ /** Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine. */
4928
5028
  exactMatch?: boolean;
4929
5029
  /** Output only. Failure reason. */
4930
5030
  failureReason?: GoogleCloudDiscoveryengineV1TargetSiteFailureReason;
@@ -5179,7 +5279,7 @@ declare namespace gapi.client {
5179
5279
  alt?: string;
5180
5280
  /** JSONP */
5181
5281
  callback?: string;
5182
- /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
5282
+ /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
5183
5283
  documentId?: string;
5184
5284
  /** Selector specifying which fields to include in a partial response. */
5185
5285
  fields?: string;
@@ -5210,7 +5310,7 @@ declare namespace gapi.client {
5210
5310
  alt?: string;
5211
5311
  /** JSONP */
5212
5312
  callback?: string;
5213
- /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
5313
+ /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
5214
5314
  documentId?: string;
5215
5315
  /** Selector specifying which fields to include in a partial response. */
5216
5316
  fields?: string;
@@ -10565,7 +10665,7 @@ declare namespace gapi.client {
10565
10665
  alt?: string;
10566
10666
  /** JSONP */
10567
10667
  callback?: string;
10568
- /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
10668
+ /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
10569
10669
  documentId?: string;
10570
10670
  /** Selector specifying which fields to include in a partial response. */
10571
10671
  fields?: string;
@@ -10596,7 +10696,7 @@ declare namespace gapi.client {
10596
10696
  alt?: string;
10597
10697
  /** JSONP */
10598
10698
  callback?: string;
10599
- /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
10699
+ /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
10600
10700
  documentId?: string;
10601
10701
  /** Selector specifying which fields to include in a partial response. */
10602
10702
  fields?: string;
@@ -14039,7 +14139,7 @@ declare namespace gapi.client {
14039
14139
  alt?: string;
14040
14140
  /** JSONP */
14041
14141
  callback?: string;
14042
- /** Required. The evaluation resource name, such as `projects/{project}/locations/{location}/evaluations/{evaluation}`. If the caller does not have permission to list EvaluationResult under this evaluation, regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED` error is returned. */
14142
+ /** Required. The evaluation resource name, such as `projects/{project}/locations/{location}/evaluations/{evaluation}`. If the caller does not have permission to list ListEvaluationResultsResponse.EvaluationResult under this evaluation, regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED` error is returned. */
14043
14143
  evaluation: string;
14044
14144
  /** Selector specifying which fields to include in a partial response. */
14045
14145
  fields?: string;
@@ -14047,7 +14147,7 @@ declare namespace gapi.client {
14047
14147
  key?: string;
14048
14148
  /** OAuth 2.0 token for the current user. */
14049
14149
  oauth_token?: string;
14050
- /** Maximum number of EvaluationResult to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned. */
14150
+ /** Maximum number of ListEvaluationResultsResponse.EvaluationResult to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned. */
14051
14151
  pageSize?: number;
14052
14152
  /** A page token ListEvaluationResultsResponse.next_page_token, received from a previous EvaluationService.ListEvaluationResults call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to EvaluationService.ListEvaluationResults must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned. */
14053
14153
  pageToken?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20241220",
3
+ "version": "0.0.20250107",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",