@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250107 → 0.0.20250116

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 +20 -8
  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=v1alpha
12
- // Revision: 20250107
12
+ // Revision: 20250116
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -171,7 +171,7 @@ declare namespace gapi.client {
171
171
  name?: string;
172
172
  }
173
173
  interface GoogleCloudDiscoveryengineV1alphaActionConfig {
174
- /** Required. Params needed to support actions in the format of (Key, Value) pairs. Required parameters for sources that support OAUTH, i.e. `gmail`, `google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `client_id` * Value: type STRING. The client id for the service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the application's authorization server. */
174
+ /** Required. Params needed to support actions in the format of (Key, Value) pairs. Required parameters for sources that support OAUTH, i.e. `gmail`, `google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `client_id` * Value: type STRING. The client ID for the service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the application's authorization server. */
175
175
  actionParams?: {[P in string]: any};
176
176
  /** Output only. The connector contains the necessary parameters and is configured to support actions. */
177
177
  isActionConfigured?: boolean;
@@ -1163,7 +1163,7 @@ declare namespace gapi.client {
1163
1163
  name?: string;
1164
1164
  /** 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. */
1165
1165
  nextSyncTime?: GoogleTypeDateTime;
1166
- /** 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`. */
1166
+ /** 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`. */
1167
1167
  params?: {[P in string]: any};
1168
1168
  /** Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function. */
1169
1169
  privateConnectivityProjectId?: string;
@@ -1187,7 +1187,7 @@ declare namespace gapi.client {
1187
1187
  entityName?: string;
1188
1188
  /** Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as `title`, and `description`. Supported key properties: * `title`: The title for data record. This would be displayed on search results. * `description`: The description for data record. This would be displayed on search results. */
1189
1189
  keyPropertyMappings?: {[P in string]: string};
1190
- /** The parameters for the entity to facilitate data ingestion. E.g. for BQ connectors: * Key: `document_id_column` * Value: type STRING. The value of the column id. */
1190
+ /** The parameters for the entity to facilitate data ingestion. E.g. for BigQuery connectors: * Key: `document_id_column` * Value: type STRING. The value of the column ID. */
1191
1191
  params?: {[P in string]: any};
1192
1192
  }
1193
1193
  interface GoogleCloudDiscoveryengineV1alphaDataStore {
@@ -1912,6 +1912,8 @@ declare namespace gapi.client {
1912
1912
  fhirStoreSource?: GoogleCloudDiscoveryengineV1alphaFhirStoreSource;
1913
1913
  /** Firestore input source. */
1914
1914
  firestoreSource?: GoogleCloudDiscoveryengineV1alphaFirestoreSource;
1915
+ /** Optional. Whether to force refresh the unstructured content of the documents. If set to `true`, the content part of the documents will be refreshed regardless of the update status of the referencing content. */
1916
+ forceRefreshContent?: boolean;
1915
1917
  /** Cloud Storage location for the input content. */
1916
1918
  gcsSource?: GoogleCloudDiscoveryengineV1alphaGcsSource;
1917
1919
  /** The field indicates the ID field or column to be used as unique IDs of the documents. For GcsSource it is the key of the JSON field. For instance, `my_id` for JSON `{"my_id": "some_uuid"}`. For others, it may be the column name of the table where the unique ids are stored. The values of the JSON field or the table column are used as the Document.ids. The JSON field or the table column must be of string type, and the values must be set as valid strings conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters. Otherwise, documents without valid IDs fail to be imported. Only set this field when auto_generate_ids is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown. If it is unset, a default value `_id` is used when importing from the allowed data sources. Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * FirestoreSource. * BigtableSource. */
@@ -2184,7 +2186,7 @@ declare namespace gapi.client {
2184
2186
  mode?: string;
2185
2187
  }
2186
2188
  interface GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest {
2187
- /** Required. The scope of the crawl rate that the user wants to monitor. Currently, only domain and host name are supported. A domain name example: `abc.com`. A host name example: `www.abc.com`. Please do not include `/` in the domain or host name. */
2189
+ /** Required. The scope of the crawl rate that the user wants to monitor. Currently, only domain and host name are supported. A domain name example: `example.com`. A host name example: `www.example.com`. Please do not include `/` in the domain or host name. */
2188
2190
  crawlRateScope?: string;
2189
2191
  }
2190
2192
  interface GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse {
@@ -2494,7 +2496,7 @@ declare namespace gapi.client {
2494
2496
  updateTime?: string;
2495
2497
  }
2496
2498
  interface GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest {
2497
- /** Required. The scope of the crawl rate change. Currently, only domain and host name are supported. A domain name example: `abc.com`. A host name example: `www.abc.com`. Please do not include `/` in the domain or host name. */
2499
+ /** Required. The scope of the crawl rate change. Currently, only domain and host name are supported. A domain name example: `example.com`. A host name example: `www.example.com`. Please do not include `/` in the domain or host name. */
2498
2500
  crawlRateScope?: string;
2499
2501
  }
2500
2502
  interface GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse {
@@ -2928,6 +2930,8 @@ declare namespace gapi.client {
2928
2930
  searchLinkPromotions?: GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion[];
2929
2931
  /** Session information. Only set if SearchRequest.session is provided. See its description for more details. */
2930
2932
  sessionInfo?: GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo;
2933
+ /** Corrected query with low confidence, AKA did you mean query. Compared with corrected_query, this field is set when SpellCorrector returned a response, but FPR(full page replacement) is not triggered because the corrction is of low confidence(eg, reversed because there are matches of the original query in document corpus). */
2934
+ suggestedQuery?: string;
2931
2935
  /** A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set. */
2932
2936
  summary?: GoogleCloudDiscoveryengineV1alphaSearchResponseSummary;
2933
2937
  /** The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches. */
@@ -2972,9 +2976,15 @@ declare namespace gapi.client {
2972
2976
  extractedFilters?: string;
2973
2977
  /** Rewritten input query minus the extracted filters. */
2974
2978
  rewrittenQuery?: string;
2979
+ /** Optional. The SQL request that was generated from the natural language query understanding phase. */
2980
+ sqlRequest?: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest;
2975
2981
  /** The filters that were extracted from the input query represented in a structured form. */
2976
2982
  structuredExtractedFilter?: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter;
2977
2983
  }
2984
+ interface GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest {
2985
+ /** Optional. The SQL query in text format. */
2986
+ sqlQuery?: string;
2987
+ }
2978
2988
  interface GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter {
2979
2989
  /** The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators. */
2980
2990
  expression?: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression;
@@ -3214,9 +3224,9 @@ declare namespace gapi.client {
3214
3224
  interface GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest {
3215
3225
  /** Optional. The crawl QPS set by the user. It is not guaranteed that Vertex crawl bot will crawl at this QPS. If the crawl rate is too high, the real QPS may be lower than the value set by the user to avoid overloading the user's website. */
3216
3226
  crawlRate?: number;
3217
- /** Required. The scope of the crawl rate that the user wants to config. Currently, only domain and host name are supported. A domain name example: `abc.com`. A host name example: `www.abc.com`. Please do not include `/` in the domain or host name. */
3227
+ /** Required. The scope of the crawl rate that the user wants to config. Currently, only domain and host name are supported. A domain name example: `example.com`. A host name example: `www.example.com`. Please do not include `/` in the domain or host name. */
3218
3228
  crawlRateScope?: string;
3219
- /** Optional. Whether its the crawl rate of user-triggered or auto-refresh. */
3229
+ /** Optional. Whether it's the crawl rate of user-triggered or auto-refresh. */
3220
3230
  crawlType?: string;
3221
3231
  /** Optional. Whether the rate is explicitly set by users, or set by vertex AI. */
3222
3232
  mode?: string;
@@ -3288,6 +3298,8 @@ declare namespace gapi.client {
3288
3298
  interface GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest {
3289
3299
  /** Specifies which Third Party Connector entities should be synced. If not specified, all entities will be synced. */
3290
3300
  entities?: string[];
3301
+ /** Optional. Whether to force refresh the unstructured content of the documents. If set to `true`, the content part of the documents will be refreshed regardless of the update status of the referencing content. */
3302
+ forceRefreshContent?: boolean;
3291
3303
  /** The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty. */
3292
3304
  healthcareFhirResourceTypes?: string[];
3293
3305
  /** If true, trigger Identity sync. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20250107",
3
+ "version": "0.0.20250116",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",