@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.2.20260614 → 0.3.20260620
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 +49 -69
- 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:
|
|
12
|
+
// Revision: 20260620
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1462,7 +1462,9 @@ declare namespace gapi.client {
|
|
|
1462
1462
|
name?: string;
|
|
1463
1463
|
/** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
|
|
1464
1464
|
parsingConfigOverrides?: {
|
|
1465
|
-
[
|
|
1465
|
+
[
|
|
1466
|
+
P in string
|
|
1467
|
+
]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
|
|
1466
1468
|
};
|
|
1467
1469
|
}
|
|
1468
1470
|
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig {
|
|
@@ -1530,6 +1532,8 @@ declare namespace gapi.client {
|
|
|
1530
1532
|
agentGatewaySetting?: GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting;
|
|
1531
1533
|
/** Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type. */
|
|
1532
1534
|
appType?: 'APP_TYPE_UNSPECIFIED' | 'APP_TYPE_INTRANET';
|
|
1535
|
+
/** Optional. The Agent registry containing the agents, MCP servers and tools associated with this engine. Field is required if the engine has an Agent Gateway setting. */
|
|
1536
|
+
associatedAgentRegistry?: string;
|
|
1533
1537
|
/** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
1534
1538
|
chatEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig;
|
|
1535
1539
|
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
@@ -1552,7 +1556,7 @@ declare namespace gapi.client {
|
|
|
1552
1556
|
disableAnalytics?: boolean;
|
|
1553
1557
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
1554
1558
|
displayName?: string;
|
|
1555
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
1559
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
|
|
1556
1560
|
features?: {
|
|
1557
1561
|
[P in string]:
|
|
1558
1562
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -1579,9 +1583,7 @@ declare namespace gapi.client {
|
|
|
1579
1583
|
/** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
1580
1584
|
modelConfigs?: {
|
|
1581
1585
|
[P in string]:
|
|
1582
|
-
| '
|
|
1583
|
-
| 'MODEL_ENABLED'
|
|
1584
|
-
| 'MODEL_DISABLED';
|
|
1586
|
+
'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
|
|
1585
1587
|
};
|
|
1586
1588
|
/** Immutable. Identifier. 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: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
1587
1589
|
name?: string;
|
|
@@ -1695,10 +1697,7 @@ declare namespace gapi.client {
|
|
|
1695
1697
|
lastTuneTime?: string;
|
|
1696
1698
|
/** Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`. */
|
|
1697
1699
|
servingState?:
|
|
1698
|
-
| '
|
|
1699
|
-
| 'INACTIVE'
|
|
1700
|
-
| 'ACTIVE'
|
|
1701
|
-
| 'TUNED';
|
|
1700
|
+
'SERVING_STATE_UNSPECIFIED' | 'INACTIVE' | 'ACTIVE' | 'TUNED';
|
|
1702
1701
|
/** 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 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 happened for this engine, the string is empty. */
|
|
1703
1702
|
tuningOperation?: string;
|
|
1704
1703
|
}
|
|
@@ -1756,11 +1755,7 @@ declare namespace gapi.client {
|
|
|
1756
1755
|
qualityMetrics?: GoogleCloudDiscoveryengineV1alphaQualityMetrics;
|
|
1757
1756
|
/** Output only. The state of the evaluation. */
|
|
1758
1757
|
state?:
|
|
1759
|
-
| '
|
|
1760
|
-
| 'PENDING'
|
|
1761
|
-
| 'RUNNING'
|
|
1762
|
-
| 'SUCCEEDED'
|
|
1763
|
-
| 'FAILED';
|
|
1758
|
+
'STATE_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'SUCCEEDED' | 'FAILED';
|
|
1764
1759
|
}
|
|
1765
1760
|
interface GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec {
|
|
1766
1761
|
/** Optional. The specification of the query set. */
|
|
@@ -2614,9 +2609,7 @@ declare namespace gapi.client {
|
|
|
2614
2609
|
extractiveContentSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec;
|
|
2615
2610
|
/** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. */
|
|
2616
2611
|
searchResultMode?:
|
|
2617
|
-
| '
|
|
2618
|
-
| 'DOCUMENTS'
|
|
2619
|
-
| 'CHUNKS';
|
|
2612
|
+
'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
|
|
2620
2613
|
/** If `snippetSpec` is not specified, snippets are not included in the search response. */
|
|
2621
2614
|
snippetSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec;
|
|
2622
2615
|
/** If `summarySpec` is not specified, summaries are not included in the search response. */
|
|
@@ -2767,14 +2760,10 @@ declare namespace gapi.client {
|
|
|
2767
2760
|
allowedFieldNames?: string[];
|
|
2768
2761
|
/** Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED. */
|
|
2769
2762
|
extractedFilterBehavior?:
|
|
2770
|
-
| '
|
|
2771
|
-
| 'HARD_FILTER'
|
|
2772
|
-
| 'SOFT_BOOST';
|
|
2763
|
+
'EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED' | 'HARD_FILTER' | 'SOFT_BOOST';
|
|
2773
2764
|
/** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
|
|
2774
2765
|
filterExtractionCondition?:
|
|
2775
|
-
| '
|
|
2776
|
-
| 'DISABLED'
|
|
2777
|
-
| 'ENABLED';
|
|
2766
|
+
'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
|
|
2778
2767
|
/** 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`. */
|
|
2779
2768
|
geoSearchQueryDetectionFieldNames?: string[];
|
|
2780
2769
|
}
|
|
@@ -3276,9 +3265,7 @@ declare namespace gapi.client {
|
|
|
3276
3265
|
interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion {
|
|
3277
3266
|
/** The type of the content suggestion. */
|
|
3278
3267
|
contentType?:
|
|
3279
|
-
| '
|
|
3280
|
-
| 'GOOGLE_WORKSPACE'
|
|
3281
|
-
| 'THIRD_PARTY';
|
|
3268
|
+
'CONTENT_TYPE_UNSPECIFIED' | 'GOOGLE_WORKSPACE' | 'THIRD_PARTY';
|
|
3282
3269
|
/** The name of the dataStore that this suggestion belongs to. */
|
|
3283
3270
|
dataStore?: string;
|
|
3284
3271
|
/** The destination uri of the content suggestion. */
|
|
@@ -3303,9 +3290,7 @@ declare namespace gapi.client {
|
|
|
3303
3290
|
document?: GoogleCloudDiscoveryengineV1betaDocument;
|
|
3304
3291
|
/** The type of the person. */
|
|
3305
3292
|
personType?:
|
|
3306
|
-
| '
|
|
3307
|
-
| 'CLOUD_IDENTITY'
|
|
3308
|
-
| 'THIRD_PARTY_IDENTITY';
|
|
3293
|
+
'PERSON_TYPE_UNSPECIFIED' | 'CLOUD_IDENTITY' | 'THIRD_PARTY_IDENTITY';
|
|
3309
3294
|
/** The score of each suggestion. The score is in the range of [0, 1]. */
|
|
3310
3295
|
score?: number;
|
|
3311
3296
|
/** The suggestion for the query. */
|
|
@@ -3632,9 +3617,7 @@ declare namespace gapi.client {
|
|
|
3632
3617
|
orderBy?: string;
|
|
3633
3618
|
/** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents) */
|
|
3634
3619
|
searchResultMode?:
|
|
3635
|
-
| '
|
|
3636
|
-
| 'DOCUMENTS'
|
|
3637
|
-
| 'CHUNKS';
|
|
3620
|
+
'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
|
|
3638
3621
|
}
|
|
3639
3622
|
interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultList {
|
|
3640
3623
|
/** Search results. */
|
|
@@ -4090,10 +4073,7 @@ declare namespace gapi.client {
|
|
|
4090
4073
|
matcherValue?: GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue;
|
|
4091
4074
|
/** The state of the document. */
|
|
4092
4075
|
state?:
|
|
4093
|
-
| '
|
|
4094
|
-
| 'INDEXED'
|
|
4095
|
-
| 'NOT_IN_TARGET_SITE'
|
|
4096
|
-
| 'NOT_IN_INDEX';
|
|
4076
|
+
'STATE_UNSPECIFIED' | 'INDEXED' | 'NOT_IN_TARGET_SITE' | 'NOT_IN_INDEX';
|
|
4097
4077
|
}
|
|
4098
4078
|
interface GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue {
|
|
4099
4079
|
/** Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
|
|
@@ -4147,7 +4127,9 @@ declare namespace gapi.client {
|
|
|
4147
4127
|
interface GoogleCloudDiscoveryengineV1betaBigtableOptions {
|
|
4148
4128
|
/** The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored. */
|
|
4149
4129
|
families?: {
|
|
4150
|
-
[
|
|
4130
|
+
[
|
|
4131
|
+
P in string
|
|
4132
|
+
]: GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily;
|
|
4151
4133
|
};
|
|
4152
4134
|
/** The field name used for saving row key value in the document. The name has to match the pattern `a-zA-Z0-9*`. */
|
|
4153
4135
|
keyFieldName?: string;
|
|
@@ -4908,7 +4890,9 @@ declare namespace gapi.client {
|
|
|
4908
4890
|
name?: string;
|
|
4909
4891
|
/** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
|
|
4910
4892
|
parsingConfigOverrides?: {
|
|
4911
|
-
[
|
|
4893
|
+
[
|
|
4894
|
+
P in string
|
|
4895
|
+
]: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
|
|
4912
4896
|
};
|
|
4913
4897
|
}
|
|
4914
4898
|
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig {
|
|
@@ -4975,6 +4959,8 @@ declare namespace gapi.client {
|
|
|
4975
4959
|
agentGatewaySetting?: GoogleCloudDiscoveryengineV1betaAgentGatewaySetting;
|
|
4976
4960
|
/** Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type. */
|
|
4977
4961
|
appType?: 'APP_TYPE_UNSPECIFIED' | 'APP_TYPE_INTRANET';
|
|
4962
|
+
/** Optional. The Agent registry containing the agents, MCP servers and tools associated with this engine. Field is required if the engine has an Agent Gateway setting. */
|
|
4963
|
+
associatedAgentRegistry?: string;
|
|
4978
4964
|
/** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
4979
4965
|
chatEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig;
|
|
4980
4966
|
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
@@ -4997,7 +4983,7 @@ declare namespace gapi.client {
|
|
|
4997
4983
|
disableAnalytics?: boolean;
|
|
4998
4984
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
4999
4985
|
displayName?: string;
|
|
5000
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
4986
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
|
|
5001
4987
|
features?: {
|
|
5002
4988
|
[P in string]:
|
|
5003
4989
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -5024,9 +5010,7 @@ declare namespace gapi.client {
|
|
|
5024
5010
|
/** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
5025
5011
|
modelConfigs?: {
|
|
5026
5012
|
[P in string]:
|
|
5027
|
-
| '
|
|
5028
|
-
| 'MODEL_ENABLED'
|
|
5029
|
-
| 'MODEL_DISABLED';
|
|
5013
|
+
'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
|
|
5030
5014
|
};
|
|
5031
5015
|
/** Immutable. Identifier. 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: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
5032
5016
|
name?: string;
|
|
@@ -5170,11 +5154,7 @@ declare namespace gapi.client {
|
|
|
5170
5154
|
qualityMetrics?: GoogleCloudDiscoveryengineV1betaQualityMetrics;
|
|
5171
5155
|
/** Output only. The state of the evaluation. */
|
|
5172
5156
|
state?:
|
|
5173
|
-
| '
|
|
5174
|
-
| 'PENDING'
|
|
5175
|
-
| 'RUNNING'
|
|
5176
|
-
| 'SUCCEEDED'
|
|
5177
|
-
| 'FAILED';
|
|
5157
|
+
'STATE_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'SUCCEEDED' | 'FAILED';
|
|
5178
5158
|
}
|
|
5179
5159
|
interface GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec {
|
|
5180
5160
|
/** Optional. The specification of the query set. */
|
|
@@ -5408,9 +5388,7 @@ declare namespace gapi.client {
|
|
|
5408
5388
|
inlineSource?: GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource;
|
|
5409
5389
|
/** The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL. */
|
|
5410
5390
|
reconciliationMode?:
|
|
5411
|
-
| '
|
|
5412
|
-
| 'INCREMENTAL'
|
|
5413
|
-
| 'FULL';
|
|
5391
|
+
'RECONCILIATION_MODE_UNSPECIFIED' | 'INCREMENTAL' | 'FULL';
|
|
5414
5392
|
/** Spanner input source. */
|
|
5415
5393
|
spannerSource?: GoogleCloudDiscoveryengineV1betaSpannerSource;
|
|
5416
5394
|
/** Indicates which fields in the provided imported documents to update. If not set, the default is to update all fields. */
|
|
@@ -6369,9 +6347,7 @@ declare namespace gapi.client {
|
|
|
6369
6347
|
extractiveContentSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec;
|
|
6370
6348
|
/** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. */
|
|
6371
6349
|
searchResultMode?:
|
|
6372
|
-
| '
|
|
6373
|
-
| 'DOCUMENTS'
|
|
6374
|
-
| 'CHUNKS';
|
|
6350
|
+
'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
|
|
6375
6351
|
/** If `snippetSpec` is not specified, snippets are not included in the search response. */
|
|
6376
6352
|
snippetSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec;
|
|
6377
6353
|
/** If `summarySpec` is not specified, summaries are not included in the search response. */
|
|
@@ -6522,14 +6498,10 @@ declare namespace gapi.client {
|
|
|
6522
6498
|
allowedFieldNames?: string[];
|
|
6523
6499
|
/** Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED. */
|
|
6524
6500
|
extractedFilterBehavior?:
|
|
6525
|
-
| '
|
|
6526
|
-
| 'HARD_FILTER'
|
|
6527
|
-
| 'SOFT_BOOST';
|
|
6501
|
+
'EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED' | 'HARD_FILTER' | 'SOFT_BOOST';
|
|
6528
6502
|
/** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
|
|
6529
6503
|
filterExtractionCondition?:
|
|
6530
|
-
| '
|
|
6531
|
-
| 'DISABLED'
|
|
6532
|
-
| 'ENABLED';
|
|
6504
|
+
'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
|
|
6533
6505
|
/** 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`. */
|
|
6534
6506
|
geoSearchQueryDetectionFieldNames?: string[];
|
|
6535
6507
|
}
|
|
@@ -7077,6 +7049,8 @@ declare namespace gapi.client {
|
|
|
7077
7049
|
answer?: GoogleCloudDiscoveryengineV1betaAssistAnswer;
|
|
7078
7050
|
/** A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support. */
|
|
7079
7051
|
assistToken?: string;
|
|
7052
|
+
/** Per-connector authentication errors encountered during the request. Present when one or more connectors failed authentication but the request proceeded with the remaining connectors. */
|
|
7053
|
+
connectorAuthErrors?: GoogleCloudDiscoveryengineV1betaStreamAssistResponseConnectorAuthError[];
|
|
7080
7054
|
/** The tool names of the tools that were invoked. */
|
|
7081
7055
|
invocationTools?: string[];
|
|
7082
7056
|
/** The skills executed during the turn. */
|
|
@@ -7084,6 +7058,12 @@ declare namespace gapi.client {
|
|
|
7084
7058
|
/** Session information. Only included in the final StreamAssistResponse of the response stream. */
|
|
7085
7059
|
sessionInfo?: GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo;
|
|
7086
7060
|
}
|
|
7061
|
+
interface GoogleCloudDiscoveryengineV1betaStreamAssistResponseConnectorAuthError {
|
|
7062
|
+
/** Resource name of the data connector that failed authentication. */
|
|
7063
|
+
dataConnector?: string;
|
|
7064
|
+
/** Human-readable error message describing the auth failure. */
|
|
7065
|
+
errorMessage?: string;
|
|
7066
|
+
}
|
|
7087
7067
|
interface GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill {
|
|
7088
7068
|
/** The display name of the skill. */
|
|
7089
7069
|
displayName?: string;
|
|
@@ -7912,7 +7892,9 @@ declare namespace gapi.client {
|
|
|
7912
7892
|
name?: string;
|
|
7913
7893
|
/** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
|
|
7914
7894
|
parsingConfigOverrides?: {
|
|
7915
|
-
[
|
|
7895
|
+
[
|
|
7896
|
+
P in string
|
|
7897
|
+
]: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
|
|
7916
7898
|
};
|
|
7917
7899
|
}
|
|
7918
7900
|
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig {
|
|
@@ -7980,6 +7962,8 @@ declare namespace gapi.client {
|
|
|
7980
7962
|
agentGatewaySetting?: GoogleCloudDiscoveryengineV1AgentGatewaySetting;
|
|
7981
7963
|
/** Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type. */
|
|
7982
7964
|
appType?: 'APP_TYPE_UNSPECIFIED' | 'APP_TYPE_INTRANET';
|
|
7965
|
+
/** Optional. The Agent registry containing the agents, MCP servers and tools associated with this engine. Field is required if the engine has an Agent Gateway setting. */
|
|
7966
|
+
associatedAgentRegistry?: string;
|
|
7983
7967
|
/** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
7984
7968
|
chatEngineConfig?: GoogleCloudDiscoveryengineV1EngineChatEngineConfig;
|
|
7985
7969
|
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
@@ -8002,7 +7986,7 @@ declare namespace gapi.client {
|
|
|
8002
7986
|
disableAnalytics?: boolean;
|
|
8003
7987
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
8004
7988
|
displayName?: string;
|
|
8005
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
|
|
7989
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
|
|
8006
7990
|
features?: {
|
|
8007
7991
|
[P in string]:
|
|
8008
7992
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -8029,9 +8013,7 @@ declare namespace gapi.client {
|
|
|
8029
8013
|
/** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
8030
8014
|
modelConfigs?: {
|
|
8031
8015
|
[P in string]:
|
|
8032
|
-
| '
|
|
8033
|
-
| 'MODEL_ENABLED'
|
|
8034
|
-
| 'MODEL_DISABLED';
|
|
8016
|
+
'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
|
|
8035
8017
|
};
|
|
8036
8018
|
/** Immutable. Identifier. 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: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
8037
8019
|
name?: string;
|
|
@@ -8502,9 +8484,7 @@ declare namespace gapi.client {
|
|
|
8502
8484
|
extractiveContentSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec;
|
|
8503
8485
|
/** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. */
|
|
8504
8486
|
searchResultMode?:
|
|
8505
|
-
| '
|
|
8506
|
-
| 'DOCUMENTS'
|
|
8507
|
-
| 'CHUNKS';
|
|
8487
|
+
'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
|
|
8508
8488
|
/** If `snippetSpec` is not specified, snippets are not included in the search response. */
|
|
8509
8489
|
snippetSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec;
|
|
8510
8490
|
/** If `summarySpec` is not specified, summaries are not included in the search response. */
|
|
@@ -20400,7 +20380,7 @@ declare namespace gapi.client {
|
|
|
20400
20380
|
oauth_token?: string;
|
|
20401
20381
|
/** Optional. The order in which the UserLicenses are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a " desc" suffix. Redundant space characters in the syntax are insignificant. Supported fields (only `user_principal` is supported for now): * `user_principal` If not set, the default ordering is by `user_principal`. Examples: * `user_principal` to order by `user_principal` in ascending order. * `user_principal desc` to order by `user_principal` in descending order. */
|
|
20402
20382
|
orderBy?: string;
|
|
20403
|
-
/** Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to
|
|
20383
|
+
/** Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned. */
|
|
20404
20384
|
pageSize?: number;
|
|
20405
20385
|
/** Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token. */
|
|
20406
20386
|
pageToken?: string;
|