@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20260226 → 0.1.20260301
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 +165 -7
- 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: 20260301
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -191,9 +191,17 @@ declare namespace gapi.client {
|
|
|
191
191
|
jsonActionParams?: string;
|
|
192
192
|
/** Optional. The Service Directory resource name (projects/*/locations/*/namespaces/*/services/*) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled. */
|
|
193
193
|
serviceName?: string;
|
|
194
|
+
/** Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes. */
|
|
195
|
+
userDefinedScopesMapping?: {
|
|
196
|
+
[P in string]: GoogleCloudDiscoveryengineV1ActionConfigScopeList;
|
|
197
|
+
};
|
|
194
198
|
/** Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored. */
|
|
195
199
|
useStaticSecrets?: boolean;
|
|
196
200
|
}
|
|
201
|
+
interface GoogleCloudDiscoveryengineV1ActionConfigScopeList {
|
|
202
|
+
/** Optional. The list of scopes. */
|
|
203
|
+
scopes?: string[];
|
|
204
|
+
}
|
|
197
205
|
interface GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig {
|
|
198
206
|
/** If set true, automatic refresh is disabled for the DataStore. */
|
|
199
207
|
disableAutomaticRefresh?: boolean;
|
|
@@ -246,9 +254,17 @@ declare namespace gapi.client {
|
|
|
246
254
|
jsonActionParams?: string;
|
|
247
255
|
/** Optional. The Service Directory resource name (projects/*/locations/*/namespaces/*/services/*) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled. */
|
|
248
256
|
serviceName?: string;
|
|
257
|
+
/** Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes. */
|
|
258
|
+
userDefinedScopesMapping?: {
|
|
259
|
+
[P in string]: GoogleCloudDiscoveryengineV1alphaActionConfigScopeList;
|
|
260
|
+
};
|
|
249
261
|
/** Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored. */
|
|
250
262
|
useStaticSecrets?: boolean;
|
|
251
263
|
}
|
|
264
|
+
interface GoogleCloudDiscoveryengineV1alphaActionConfigScopeList {
|
|
265
|
+
/** Optional. The list of scopes. */
|
|
266
|
+
scopes?: string[];
|
|
267
|
+
}
|
|
252
268
|
interface GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest {
|
|
253
269
|
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned. */
|
|
254
270
|
dataStore?: string;
|
|
@@ -794,6 +810,8 @@ declare namespace gapi.client {
|
|
|
794
810
|
interface GoogleCloudDiscoveryengineV1alphaAnswerReference {
|
|
795
811
|
/** Chunk information. */
|
|
796
812
|
chunkInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo;
|
|
813
|
+
/** Output only. The search queries that produced this reference. */
|
|
814
|
+
queries?: string[];
|
|
797
815
|
/** Structured document information. */
|
|
798
816
|
structuredDocumentInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo;
|
|
799
817
|
/** Unstructured document information. */
|
|
@@ -1878,7 +1896,7 @@ declare namespace gapi.client {
|
|
|
1878
1896
|
createTime?: string;
|
|
1879
1897
|
/** Optional. Specifies the data protection policy for the connector. */
|
|
1880
1898
|
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy;
|
|
1881
|
-
/** Required. The
|
|
1899
|
+
/** Required. The identifier for the data source. This is a partial list of supported connectors. Please refer to the [documentation](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/introduction-to-connectors-and-data-stores) for the full list of connectors. Supported first-party connectors include: * `gcs` * `bigquery` * `gcp_fhir` * `google_mail` * `google_drive` * `google_calendar` * `google_chat` Supported third-party connectors include: Generally available (GA) connectors: * `onedrive` * `outlook` * `confluence` * `jira` * `servicenow` * `sharepoint` Preview connectors: * `asana` * `azure_active_directory` * `box` * `canva` * `confluence_server` * `custom_connector` * `docusign` * `dropbox` * `dynamics365` * `github` * `gitlab` * `hubspot` * `jira_server` * `linear` * `native_cloud_identity` * `notion` * `okta` * `pagerduty` * `peoplesoft` * `salesforce` * `shopify` * `slack` * `snowflake` * `teams` * `trello` * `workday` * `zendesk` */
|
|
1882
1900
|
dataSource?: string;
|
|
1883
1901
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
1884
1902
|
destinationConfigs?: GoogleCloudDiscoveryengineV1alphaDestinationConfig[];
|
|
@@ -2018,6 +2036,8 @@ declare namespace gapi.client {
|
|
|
2018
2036
|
displayName?: string;
|
|
2019
2037
|
/** Configuration for Document understanding and enrichment. */
|
|
2020
2038
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
|
|
2039
|
+
/** Optional. If set, this DataStore is a federated search DataStore. */
|
|
2040
|
+
federatedSearchConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig;
|
|
2021
2041
|
/** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
|
|
2022
2042
|
healthcareFhirConfig?: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig;
|
|
2023
2043
|
/** Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. */
|
|
@@ -2059,6 +2079,50 @@ declare namespace gapi.client {
|
|
|
2059
2079
|
/** Last updated timestamp for websites. */
|
|
2060
2080
|
websiteDataUpdateTime?: string;
|
|
2061
2081
|
}
|
|
2082
|
+
interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig {
|
|
2083
|
+
/** AlloyDB config. If set, this DataStore is connected to AlloyDB. */
|
|
2084
|
+
alloyDbConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig;
|
|
2085
|
+
/** NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. */
|
|
2086
|
+
notebooklmConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig;
|
|
2087
|
+
/** Third Party OAuth config. If set, this DataStore is connected to a third party application. */
|
|
2088
|
+
thirdPartyOauthConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig;
|
|
2089
|
+
}
|
|
2090
|
+
interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig {
|
|
2091
|
+
/** Optional. Configuration for Magic. */
|
|
2092
|
+
alloydbAiNlConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig;
|
|
2093
|
+
/** Required. Configuration for connecting to AlloyDB. */
|
|
2094
|
+
alloydbConnectionConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig;
|
|
2095
|
+
/** Optional. Fields to be returned in the search results. If empty, all fields will be returned. */
|
|
2096
|
+
returnedFields?: string[];
|
|
2097
|
+
}
|
|
2098
|
+
interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig {
|
|
2099
|
+
/** Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty. */
|
|
2100
|
+
nlConfigId?: string;
|
|
2101
|
+
}
|
|
2102
|
+
interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig {
|
|
2103
|
+
/** Optional. Auth mode. */
|
|
2104
|
+
authMode?: string;
|
|
2105
|
+
/** Required. The AlloyDB database to connect to. */
|
|
2106
|
+
database?: string;
|
|
2107
|
+
/** Optional. If true, enable PSVS for AlloyDB. */
|
|
2108
|
+
enablePsvs?: boolean;
|
|
2109
|
+
/** Required. The AlloyDB instance to connect to. */
|
|
2110
|
+
instance?: string;
|
|
2111
|
+
/** Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user. */
|
|
2112
|
+
password?: string;
|
|
2113
|
+
/** Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user. */
|
|
2114
|
+
user?: string;
|
|
2115
|
+
}
|
|
2116
|
+
interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig {
|
|
2117
|
+
/** Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* */
|
|
2118
|
+
searchConfig?: string;
|
|
2119
|
+
}
|
|
2120
|
+
interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig {
|
|
2121
|
+
/** Optional. The type of the application. E.g., "jira", "box", etc. */
|
|
2122
|
+
appName?: string;
|
|
2123
|
+
/** Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com". */
|
|
2124
|
+
instanceName?: string;
|
|
2125
|
+
}
|
|
2062
2126
|
interface GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore {
|
|
2063
2127
|
/** Optional. If set true, the DataStore will not be available for serving search requests. */
|
|
2064
2128
|
disabledForServing?: boolean;
|
|
@@ -4009,7 +4073,7 @@ declare namespace gapi.client {
|
|
|
4009
4073
|
searchAsYouTypeSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec;
|
|
4010
4074
|
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
4011
4075
|
servingConfig?: string;
|
|
4012
|
-
/** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call.
|
|
4076
|
+
/** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. */
|
|
4013
4077
|
session?: string;
|
|
4014
4078
|
/** Session specification. Can be used only when `session` is set. */
|
|
4015
4079
|
sessionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec;
|
|
@@ -4915,6 +4979,8 @@ declare namespace gapi.client {
|
|
|
4915
4979
|
documents?: GoogleCloudDiscoveryengineV1alphaDocumentInfo[];
|
|
4916
4980
|
/** The Engine resource name, in the form of `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. Optional. Only required for Engine produced user events. For example, user events from blended search. */
|
|
4917
4981
|
engine?: string;
|
|
4982
|
+
/** Optional. Represents the entity for customers that may run multiple different entities, domains, sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. We recommend that you set `entity` to get better per-entity search, completion, and prediction results. */
|
|
4983
|
+
entity?: string;
|
|
4918
4984
|
/** Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened. */
|
|
4919
4985
|
eventTime?: string;
|
|
4920
4986
|
/** Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. Custom conversion value: * `conversion`: Customer defined conversion event. */
|
|
@@ -4949,7 +5015,7 @@ declare namespace gapi.client {
|
|
|
4949
5015
|
timeZone?: string;
|
|
4950
5016
|
/** User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set. */
|
|
4951
5017
|
userAgent?: string;
|
|
4952
|
-
/** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
5018
|
+
/** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. Represents an opaque ID to the Search API. The Search API doesn't interpret the value in any way. This field is used to associate events with a user across sessions if the events are being uploaded. */
|
|
4953
5019
|
userId?: string;
|
|
4954
5020
|
}
|
|
4955
5021
|
interface GoogleCloudDiscoveryengineV1alphaUserLicense {
|
|
@@ -5598,6 +5664,8 @@ declare namespace gapi.client {
|
|
|
5598
5664
|
displayName?: string;
|
|
5599
5665
|
/** Configuration for Document understanding and enrichment. */
|
|
5600
5666
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
5667
|
+
/** Optional. If set, this DataStore is a federated search DataStore. */
|
|
5668
|
+
federatedSearchConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig;
|
|
5601
5669
|
/** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
|
|
5602
5670
|
healthcareFhirConfig?: GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig;
|
|
5603
5671
|
/** Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. */
|
|
@@ -5637,6 +5705,50 @@ declare namespace gapi.client {
|
|
|
5637
5705
|
/** Last updated timestamp for websites. */
|
|
5638
5706
|
websiteDataUpdateTime?: string;
|
|
5639
5707
|
}
|
|
5708
|
+
interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig {
|
|
5709
|
+
/** AlloyDB config. If set, this DataStore is connected to AlloyDB. */
|
|
5710
|
+
alloyDbConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig;
|
|
5711
|
+
/** NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. */
|
|
5712
|
+
notebooklmConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig;
|
|
5713
|
+
/** Third Party OAuth config. If set, this DataStore is connected to a third party application. */
|
|
5714
|
+
thirdPartyOauthConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig;
|
|
5715
|
+
}
|
|
5716
|
+
interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig {
|
|
5717
|
+
/** Optional. Configuration for Magic. */
|
|
5718
|
+
alloydbAiNlConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig;
|
|
5719
|
+
/** Required. Configuration for connecting to AlloyDB. */
|
|
5720
|
+
alloydbConnectionConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig;
|
|
5721
|
+
/** Optional. Fields to be returned in the search results. If empty, all fields will be returned. */
|
|
5722
|
+
returnedFields?: string[];
|
|
5723
|
+
}
|
|
5724
|
+
interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig {
|
|
5725
|
+
/** Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty. */
|
|
5726
|
+
nlConfigId?: string;
|
|
5727
|
+
}
|
|
5728
|
+
interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig {
|
|
5729
|
+
/** Optional. Auth mode. */
|
|
5730
|
+
authMode?: string;
|
|
5731
|
+
/** Required. The AlloyDB database to connect to. */
|
|
5732
|
+
database?: string;
|
|
5733
|
+
/** Optional. If true, enable PSVS for AlloyDB. */
|
|
5734
|
+
enablePsvs?: boolean;
|
|
5735
|
+
/** Required. The AlloyDB instance to connect to. */
|
|
5736
|
+
instance?: string;
|
|
5737
|
+
/** Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user. */
|
|
5738
|
+
password?: string;
|
|
5739
|
+
/** Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user. */
|
|
5740
|
+
user?: string;
|
|
5741
|
+
}
|
|
5742
|
+
interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig {
|
|
5743
|
+
/** Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* */
|
|
5744
|
+
searchConfig?: string;
|
|
5745
|
+
}
|
|
5746
|
+
interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig {
|
|
5747
|
+
/** Optional. The type of the application. E.g., "jira", "box", etc. */
|
|
5748
|
+
appName?: string;
|
|
5749
|
+
/** Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com". */
|
|
5750
|
+
instanceName?: string;
|
|
5751
|
+
}
|
|
5640
5752
|
interface GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore {
|
|
5641
5753
|
/** Optional. If set true, the DataStore will not be available for serving search requests. */
|
|
5642
5754
|
disabledForServing?: boolean;
|
|
@@ -6338,7 +6450,7 @@ declare namespace gapi.client {
|
|
|
6338
6450
|
searchAsYouTypeSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec;
|
|
6339
6451
|
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
6340
6452
|
servingConfig?: string;
|
|
6341
|
-
/** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call.
|
|
6453
|
+
/** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. */
|
|
6342
6454
|
session?: string;
|
|
6343
6455
|
/** Session specification. Can be used only when `session` is set. */
|
|
6344
6456
|
sessionSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec;
|
|
@@ -6675,7 +6787,7 @@ declare namespace gapi.client {
|
|
|
6675
6787
|
timeZone?: string;
|
|
6676
6788
|
/** User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set. */
|
|
6677
6789
|
userAgent?: string;
|
|
6678
|
-
/** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
6790
|
+
/** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. Represents an opaque ID to the Search API. The Search API doesn't interpret the value in any way. This field is used to associate events with a user across sessions if the events are being uploaded. */
|
|
6679
6791
|
userId?: string;
|
|
6680
6792
|
}
|
|
6681
6793
|
interface GoogleCloudDiscoveryengineV1betaUserLicense {
|
|
@@ -6887,7 +6999,7 @@ declare namespace gapi.client {
|
|
|
6887
6999
|
createEuaSaas?: boolean;
|
|
6888
7000
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
6889
7001
|
createTime?: string;
|
|
6890
|
-
/** Required. The
|
|
7002
|
+
/** Required. The identifier for the data source. This is a partial list of supported connectors. Please refer to the [documentation](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/introduction-to-connectors-and-data-stores) for the full list of connectors. Supported first-party connectors include: * `gcs` * `bigquery` * `gcp_fhir` * `google_mail` * `google_drive` * `google_calendar` * `google_chat` Supported third-party connectors include: Generally available (GA) connectors: * `onedrive` * `outlook` * `confluence` * `jira` * `servicenow` * `sharepoint` Preview connectors: * `asana` * `azure_active_directory` * `box` * `canva` * `confluence_server` * `custom_connector` * `docusign` * `dropbox` * `dynamics365` * `github` * `gitlab` * `hubspot` * `jira_server` * `linear` * `native_cloud_identity` * `notion` * `okta` * `pagerduty` * `peoplesoft` * `salesforce` * `shopify` * `slack` * `snowflake` * `teams` * `trello` * `workday` * `zendesk` */
|
|
6891
7003
|
dataSource?: string;
|
|
6892
7004
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
6893
7005
|
destinationConfigs?: GoogleCloudDiscoveryengineV1DestinationConfig[];
|
|
@@ -7019,6 +7131,8 @@ declare namespace gapi.client {
|
|
|
7019
7131
|
displayName?: string;
|
|
7020
7132
|
/** Configuration for Document understanding and enrichment. */
|
|
7021
7133
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
|
|
7134
|
+
/** Optional. If set, this DataStore is a federated search DataStore. */
|
|
7135
|
+
federatedSearchConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig;
|
|
7022
7136
|
/** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
|
|
7023
7137
|
healthcareFhirConfig?: GoogleCloudDiscoveryengineV1HealthcareFhirConfig;
|
|
7024
7138
|
/** Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. */
|
|
@@ -7056,6 +7170,50 @@ declare namespace gapi.client {
|
|
|
7056
7170
|
/** Last updated timestamp for websites. */
|
|
7057
7171
|
websiteDataUpdateTime?: string;
|
|
7058
7172
|
}
|
|
7173
|
+
interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig {
|
|
7174
|
+
/** AlloyDB config. If set, this DataStore is connected to AlloyDB. */
|
|
7175
|
+
alloyDbConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig;
|
|
7176
|
+
/** NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. */
|
|
7177
|
+
notebooklmConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig;
|
|
7178
|
+
/** Third Party OAuth config. If set, this DataStore is connected to a third party application. */
|
|
7179
|
+
thirdPartyOauthConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigThirdPartyOauthConfig;
|
|
7180
|
+
}
|
|
7181
|
+
interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig {
|
|
7182
|
+
/** Optional. Configuration for Magic. */
|
|
7183
|
+
alloydbAiNlConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig;
|
|
7184
|
+
/** Required. Configuration for connecting to AlloyDB. */
|
|
7185
|
+
alloydbConnectionConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig;
|
|
7186
|
+
/** Optional. Fields to be returned in the search results. If empty, all fields will be returned. */
|
|
7187
|
+
returnedFields?: string[];
|
|
7188
|
+
}
|
|
7189
|
+
interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig {
|
|
7190
|
+
/** Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty. */
|
|
7191
|
+
nlConfigId?: string;
|
|
7192
|
+
}
|
|
7193
|
+
interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig {
|
|
7194
|
+
/** Optional. Auth mode. */
|
|
7195
|
+
authMode?: string;
|
|
7196
|
+
/** Required. The AlloyDB database to connect to. */
|
|
7197
|
+
database?: string;
|
|
7198
|
+
/** Optional. If true, enable PSVS for AlloyDB. */
|
|
7199
|
+
enablePsvs?: boolean;
|
|
7200
|
+
/** Required. The AlloyDB instance to connect to. */
|
|
7201
|
+
instance?: string;
|
|
7202
|
+
/** Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user. */
|
|
7203
|
+
password?: string;
|
|
7204
|
+
/** Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user. */
|
|
7205
|
+
user?: string;
|
|
7206
|
+
}
|
|
7207
|
+
interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig {
|
|
7208
|
+
/** Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/* */
|
|
7209
|
+
searchConfig?: string;
|
|
7210
|
+
}
|
|
7211
|
+
interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigThirdPartyOauthConfig {
|
|
7212
|
+
/** Optional. The type of the application. E.g., "jira", "box", etc. */
|
|
7213
|
+
appName?: string;
|
|
7214
|
+
/** Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com". */
|
|
7215
|
+
instanceName?: string;
|
|
7216
|
+
}
|
|
7059
7217
|
interface GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore {
|
|
7060
7218
|
/** Optional. If set true, the DataStore will not be available for serving search requests. */
|
|
7061
7219
|
disabledForServing?: boolean;
|