@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20250116 → 0.0.20250123
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 +30 -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:
|
|
12
|
+
// Revision: 20250123
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -574,7 +574,7 @@ declare namespace gapi.client {
|
|
|
574
574
|
latestPauseTime?: string;
|
|
575
575
|
/** Output only. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`. */
|
|
576
576
|
name?: string;
|
|
577
|
-
/**
|
|
577
|
+
/** Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity. */
|
|
578
578
|
nextSyncTime?: GoogleTypeDateTime;
|
|
579
579
|
/** Required. Params needed to access the source in the format of (Key, Value) pairs. Required parameters for all data sources: * Key: `instance_uri` * Value: type STRING. The uri to access the data source. Required parameters for sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * Value: type STRING. The client ID for the third party service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the third party authorization server. * Key: `access_token` * Value: type STRING. OAuth token for UCS to access to the protected resource. * Key: `refresh_token` * Value: type STRING. OAuth refresh token for UCS to obtain a new access token without user interaction. Required parameters for sources that support basic API token auth, i.e. `jira`, `confluence`: * Key: `user_account` * Value: type STRING. The username or email with the source. * Key: `api_token` * Value: type STRING. The API token generated for the source account, that is used for authenticating anywhere where you would have used a password. Example: ```json { "instance_uri": "https://xxx.atlassian.net", "user_account": "xxxx.xxx@xxx.com", "api_token": "test-token" } ``` Optional parameter to specify the authorization type to use for multiple authorization types support: * Key: `auth_type` * Value: type STRING. The authorization type for the data source. Supported values: `BASIC_AUTH`, `OAUTH`, `OAUTH_ACCESS_TOKEN`, `OAUTH_TWO_LEGGED`, `OAUTH_JWT_BEARER`, `OAUTH_PASSWORD_GRANT`, `JWT`, `API_TOKEN`, `FEDERATED_CREDENTIAL`. */
|
|
580
580
|
params?: {[P in string]: any};
|
|
@@ -1739,6 +1739,8 @@ declare namespace gapi.client {
|
|
|
1739
1739
|
queryModel?: string;
|
|
1740
1740
|
/** Optional. Suggestion types to return. If empty or unspecified, query suggestions are returned. Only one suggestion type is supported at the moment. */
|
|
1741
1741
|
suggestionTypes?: string[];
|
|
1742
|
+
/** Optional. Specification of each suggestion type. */
|
|
1743
|
+
suggestionTypeSpecs?: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec[];
|
|
1742
1744
|
/** Optional. Information about the end user. This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info. */
|
|
1743
1745
|
userInfo?: GoogleCloudDiscoveryengineV1betaUserInfo;
|
|
1744
1746
|
/** A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 */
|
|
@@ -1754,6 +1756,12 @@ declare namespace gapi.client {
|
|
|
1754
1756
|
/** An expression which specifies a boost condition. The syntax is the same as [filter expression syntax](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax). Currently, the only supported condition is a list of BCP-47 lang codes. Example: * To boost suggestions in languages `en` or `fr`: `(lang_code: ANY("en", "fr"))` */
|
|
1755
1757
|
condition?: string;
|
|
1756
1758
|
}
|
|
1759
|
+
interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec {
|
|
1760
|
+
/** Optional. Maximum number of suggestions to return for each suggestion type. */
|
|
1761
|
+
maxSuggestions?: number;
|
|
1762
|
+
/** Optional. Suggestion type. */
|
|
1763
|
+
suggestionType?: string;
|
|
1764
|
+
}
|
|
1757
1765
|
interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse {
|
|
1758
1766
|
/** Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion. */
|
|
1759
1767
|
contentSuggestions?: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion[];
|
|
@@ -1879,6 +1887,8 @@ declare namespace gapi.client {
|
|
|
1879
1887
|
answerGenerationSpec?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec;
|
|
1880
1888
|
/** Deprecated: This field is deprecated. Streaming Answer API will be supported. Asynchronous mode control. If enabled, the response will be returned with answer/session resource name without final answer. The API users need to do the polling to get the latest status of answer/session by calling ConversationalSearchService.GetAnswer or ConversationalSearchService.GetSession method. */
|
|
1881
1889
|
asynchronousMode?: boolean;
|
|
1890
|
+
/** Optional. End user specification. */
|
|
1891
|
+
endUserSpec?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec;
|
|
1882
1892
|
/** Optional. Grounding specification. */
|
|
1883
1893
|
groundingSpec?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec;
|
|
1884
1894
|
/** Required. Current user query. */
|
|
@@ -1924,6 +1934,24 @@ declare namespace gapi.client {
|
|
|
1924
1934
|
/** Customized preamble. */
|
|
1925
1935
|
preamble?: string;
|
|
1926
1936
|
}
|
|
1937
|
+
interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec {
|
|
1938
|
+
/** Optional. End user metadata. */
|
|
1939
|
+
endUserMetadata?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaData[];
|
|
1940
|
+
}
|
|
1941
|
+
interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaData {
|
|
1942
|
+
/** Chunk information. */
|
|
1943
|
+
chunkInfo?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo;
|
|
1944
|
+
}
|
|
1945
|
+
interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo {
|
|
1946
|
+
/** Chunk textual content. It is limited to 8000 characters. */
|
|
1947
|
+
content?: string;
|
|
1948
|
+
/** Metadata of the document from the current chunk. */
|
|
1949
|
+
documentMetadata?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata;
|
|
1950
|
+
}
|
|
1951
|
+
interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata {
|
|
1952
|
+
/** Title of the document. */
|
|
1953
|
+
title?: string;
|
|
1954
|
+
}
|
|
1927
1955
|
interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec {
|
|
1928
1956
|
/** Optional. Specifies whether to enable the filtering based on grounding score and at what level. */
|
|
1929
1957
|
filteringLevel?: string;
|