@maxim_mazurok/gapi.client.discoveryengine-v1 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.
Files changed (2) hide show
  1. package/index.d.ts +22 -2
  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=v1
12
- // Revision: 20250116
12
+ // Revision: 20250123
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -588,7 +588,7 @@ declare namespace gapi.client {
588
588
  latestPauseTime?: string;
589
589
  /** Output only. The full resource name of the Data Connector. Format: `projects/*‍/locations/*‍/collections/*‍/dataConnector`. */
590
590
  name?: string;
591
- /** 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. */
591
+ /** 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. */
592
592
  nextSyncTime?: GoogleTypeDateTime;
593
593
  /** 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`. */
594
594
  params?: {[P in string]: any};
@@ -1791,6 +1791,8 @@ declare namespace gapi.client {
1791
1791
  answerGenerationSpec?: GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec;
1792
1792
  /** 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. */
1793
1793
  asynchronousMode?: boolean;
1794
+ /** Optional. End user specification. */
1795
+ endUserSpec?: GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec;
1794
1796
  /** Optional. Grounding specification. */
1795
1797
  groundingSpec?: GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec;
1796
1798
  /** Required. Current user query. */
@@ -1836,6 +1838,24 @@ declare namespace gapi.client {
1836
1838
  /** Customized preamble. */
1837
1839
  preamble?: string;
1838
1840
  }
1841
+ interface GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec {
1842
+ /** Optional. End user metadata. */
1843
+ endUserMetadata?: GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData[];
1844
+ }
1845
+ interface GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData {
1846
+ /** Chunk information. */
1847
+ chunkInfo?: GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo;
1848
+ }
1849
+ interface GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo {
1850
+ /** Chunk textual content. It is limited to 8000 characters. */
1851
+ content?: string;
1852
+ /** Metadata of the document from the current chunk. */
1853
+ documentMetadata?: GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata;
1854
+ }
1855
+ interface GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata {
1856
+ /** Title of the document. */
1857
+ title?: string;
1858
+ }
1839
1859
  interface GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec {
1840
1860
  /** Optional. Specifies whether to enable the filtering based on grounding score and at what level. */
1841
1861
  filteringLevel?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20250116",
3
+ "version": "0.0.20250123",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",