@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250221 → 0.0.20250222
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 +45 -5
- 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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250222
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -429,18 +429,30 @@ declare namespace gapi.client {
|
|
|
429
429
|
contentType?: string;
|
|
430
430
|
/** The name of the dataStore that this suggestion belongs to. */
|
|
431
431
|
dataStore?: string;
|
|
432
|
+
/** The destination uri of the content suggestion. */
|
|
433
|
+
destinationUri?: string;
|
|
432
434
|
/** The document data snippet in the suggestion. Only a subset of fields will be populated. */
|
|
433
435
|
document?: GoogleCloudDiscoveryengineV1alphaDocument;
|
|
436
|
+
/** The icon uri of the content suggestion. */
|
|
437
|
+
iconUri?: string;
|
|
438
|
+
/** The score of each suggestion. The score is in the range of [0, 1]. */
|
|
439
|
+
score?: number;
|
|
434
440
|
/** The suggestion for the query. */
|
|
435
441
|
suggestion?: string;
|
|
436
442
|
}
|
|
437
443
|
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion {
|
|
438
444
|
/** The name of the dataStore that this suggestion belongs to. */
|
|
439
445
|
dataStore?: string;
|
|
446
|
+
/** The destination uri of the person suggestion. */
|
|
447
|
+
destinationUri?: string;
|
|
448
|
+
/** The photo uri of the person suggestion. */
|
|
449
|
+
displayPhotoUri?: string;
|
|
440
450
|
/** The document data snippet in the suggestion. Only a subset of fields is populated. */
|
|
441
451
|
document?: GoogleCloudDiscoveryengineV1alphaDocument;
|
|
442
452
|
/** The type of the person. */
|
|
443
453
|
personType?: string;
|
|
454
|
+
/** The score of each suggestion. The score is in the range of [0, 1]. */
|
|
455
|
+
score?: number;
|
|
444
456
|
/** The suggestion for the query. */
|
|
445
457
|
suggestion?: string;
|
|
446
458
|
}
|
|
@@ -449,12 +461,16 @@ declare namespace gapi.client {
|
|
|
449
461
|
completableFieldPaths?: string[];
|
|
450
462
|
/** The name of the dataStore that this suggestion belongs to. */
|
|
451
463
|
dataStore?: string[];
|
|
464
|
+
/** The score of each suggestion. The score is in the range of [0, 1]. */
|
|
465
|
+
score?: number;
|
|
452
466
|
/** The suggestion for the query. */
|
|
453
467
|
suggestion?: string;
|
|
454
468
|
}
|
|
455
469
|
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion {
|
|
456
470
|
/** The time when this recent rearch happened. */
|
|
457
471
|
recentSearchTime?: string;
|
|
472
|
+
/** The score of each suggestion. The score is in the range of [0, 1]. */
|
|
473
|
+
score?: number;
|
|
458
474
|
/** The suggestion for the query. */
|
|
459
475
|
suggestion?: string;
|
|
460
476
|
}
|
|
@@ -856,6 +872,10 @@ declare namespace gapi.client {
|
|
|
856
872
|
/** The query to search. */
|
|
857
873
|
query?: string;
|
|
858
874
|
}
|
|
875
|
+
interface GoogleCloudDiscoveryengineV1alphaBAPConfig {
|
|
876
|
+
/** Required. The supported connector modes for the associated BAP connection. */
|
|
877
|
+
supportedConnectorModes?: string[];
|
|
878
|
+
}
|
|
859
879
|
interface GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata {
|
|
860
880
|
/** Operation create time. */
|
|
861
881
|
createTime?: string;
|
|
@@ -1391,6 +1411,8 @@ declare namespace gapi.client {
|
|
|
1391
1411
|
actionConfig?: GoogleCloudDiscoveryengineV1alphaActionConfig;
|
|
1392
1412
|
/** Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. */
|
|
1393
1413
|
autoRunDisabled?: boolean;
|
|
1414
|
+
/** Optional. The configuration for establishing a BAP connection. */
|
|
1415
|
+
bapConfig?: GoogleCloudDiscoveryengineV1alphaBAPConfig;
|
|
1394
1416
|
/** Output only. User actions that must be completed before the connector can start syncing data. */
|
|
1395
1417
|
blockingReasons?: string[];
|
|
1396
1418
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
@@ -1747,6 +1769,8 @@ declare namespace gapi.client {
|
|
|
1747
1769
|
interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig {
|
|
1748
1770
|
/** 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 means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
|
|
1749
1771
|
agentCreationConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig;
|
|
1772
|
+
/** Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
|
|
1773
|
+
allowCrossRegion?: boolean;
|
|
1750
1774
|
/** 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 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 they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
|
|
1751
1775
|
dialogflowAgentToLink?: string;
|
|
1752
1776
|
}
|
|
@@ -2848,7 +2872,7 @@ declare namespace gapi.client {
|
|
|
2848
2872
|
interface GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest {
|
|
2849
2873
|
/** Remove all search history suggestions for the user. */
|
|
2850
2874
|
removeAllSearchHistorySuggestions?: boolean;
|
|
2851
|
-
/**
|
|
2875
|
+
/** Required. Time at which the suggestion was removed. If not set, the current time will be used. */
|
|
2852
2876
|
removeTime?: string;
|
|
2853
2877
|
/** The search history suggestion to be removed. */
|
|
2854
2878
|
searchHistorySuggestion?: string;
|
|
@@ -3064,7 +3088,9 @@ declare namespace gapi.client {
|
|
|
3064
3088
|
rankingExpressionBackend?: string;
|
|
3065
3089
|
/** 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. */
|
|
3066
3090
|
regionCode?: string;
|
|
3067
|
-
/** The
|
|
3091
|
+
/** Optional. The specification for returning the relevance score. */
|
|
3092
|
+
relevanceScoreSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec;
|
|
3093
|
+
/** The relevance threshold of the search results. Default to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. This feature is not supported for healthcare search. */
|
|
3068
3094
|
relevanceThreshold?: string;
|
|
3069
3095
|
/** Whether to turn on safe search. This is only supported for website search. */
|
|
3070
3096
|
safeSearch?: boolean;
|
|
@@ -3249,6 +3275,10 @@ declare namespace gapi.client {
|
|
|
3249
3275
|
/** Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results. */
|
|
3250
3276
|
pinUnexpandedResults?: boolean;
|
|
3251
3277
|
}
|
|
3278
|
+
interface GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec {
|
|
3279
|
+
/** Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query. */
|
|
3280
|
+
returnRelevanceScore?: boolean;
|
|
3281
|
+
}
|
|
3252
3282
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec {
|
|
3253
3283
|
/** The condition under which search as you type should occur. Default to Condition.DISABLED. */
|
|
3254
3284
|
condition?: string;
|
|
@@ -3419,7 +3449,7 @@ declare namespace gapi.client {
|
|
|
3419
3449
|
document?: GoogleCloudDiscoveryengineV1alphaDocument;
|
|
3420
3450
|
/** Document.id of the searched Document. */
|
|
3421
3451
|
id?: string;
|
|
3422
|
-
/** Google provided available scores. */
|
|
3452
|
+
/** Output only. Google provided available scores. */
|
|
3423
3453
|
modelScores?: {
|
|
3424
3454
|
[P in string]: GoogleCloudDiscoveryengineV1alphaDoubleList;
|
|
3425
3455
|
};
|
|
@@ -4416,6 +4446,8 @@ declare namespace gapi.client {
|
|
|
4416
4446
|
interface GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig {
|
|
4417
4447
|
/** 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 means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
|
|
4418
4448
|
agentCreationConfig?: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig;
|
|
4449
|
+
/** Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
|
|
4450
|
+
allowCrossRegion?: boolean;
|
|
4419
4451
|
/** 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 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 they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
|
|
4420
4452
|
dialogflowAgentToLink?: string;
|
|
4421
4453
|
}
|
|
@@ -4775,7 +4807,9 @@ declare namespace gapi.client {
|
|
|
4775
4807
|
rankingExpressionBackend?: string;
|
|
4776
4808
|
/** 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. */
|
|
4777
4809
|
regionCode?: string;
|
|
4778
|
-
/** The
|
|
4810
|
+
/** Optional. The specification for returning the relevance score. */
|
|
4811
|
+
relevanceScoreSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec;
|
|
4812
|
+
/** The relevance threshold of the search results. Default to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. This feature is not supported for healthcare search. */
|
|
4779
4813
|
relevanceThreshold?: string;
|
|
4780
4814
|
/** Whether to turn on safe search. This is only supported for website search. */
|
|
4781
4815
|
safeSearch?: boolean;
|
|
@@ -4956,6 +4990,10 @@ declare namespace gapi.client {
|
|
|
4956
4990
|
/** Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results. */
|
|
4957
4991
|
pinUnexpandedResults?: boolean;
|
|
4958
4992
|
}
|
|
4993
|
+
interface GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec {
|
|
4994
|
+
/** Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query. */
|
|
4995
|
+
returnRelevanceScore?: boolean;
|
|
4996
|
+
}
|
|
4959
4997
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec {
|
|
4960
4998
|
/** The condition under which search as you type should occur. Default to Condition.DISABLED. */
|
|
4961
4999
|
condition?: string;
|
|
@@ -5398,6 +5436,8 @@ declare namespace gapi.client {
|
|
|
5398
5436
|
interface GoogleCloudDiscoveryengineV1EngineChatEngineConfig {
|
|
5399
5437
|
/** 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 means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
|
|
5400
5438
|
agentCreationConfig?: GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig;
|
|
5439
|
+
/** Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
|
|
5440
|
+
allowCrossRegion?: boolean;
|
|
5401
5441
|
/** 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 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 they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
|
|
5402
5442
|
dialogflowAgentToLink?: string;
|
|
5403
5443
|
}
|