@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250320 → 0.0.20250322
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 +26 -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: 20250322
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1786,12 +1786,17 @@ declare namespace gapi.client {
|
|
|
1786
1786
|
/** Configurations applied to digital parser. */
|
|
1787
1787
|
digitalParsingConfig?: any;
|
|
1788
1788
|
/** Configurations applied to layout parser. */
|
|
1789
|
-
layoutParsingConfig?:
|
|
1789
|
+
layoutParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig;
|
|
1790
1790
|
/** Configurations applied to OCR parser. Currently it only applies to PDFs. */
|
|
1791
1791
|
ocrParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig;
|
|
1792
1792
|
}
|
|
1793
1793
|
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
|
|
1794
|
-
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
1794
|
+
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
1795
|
+
/** Optional. If true, the LLM based annotation is added to the image during parsing. */
|
|
1796
|
+
enableImageAnnotation?: boolean;
|
|
1797
|
+
/** Optional. If true, the LLM based annotation is added to the table during parsing. */
|
|
1798
|
+
enableTableAnnotation?: boolean;
|
|
1799
|
+
}
|
|
1795
1800
|
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig {
|
|
1796
1801
|
/** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
|
|
1797
1802
|
enhancedDocumentElements?: string[];
|
|
@@ -3841,6 +3846,8 @@ declare namespace gapi.client {
|
|
|
3841
3846
|
userPseudoId?: string;
|
|
3842
3847
|
}
|
|
3843
3848
|
interface GoogleCloudDiscoveryengineV1alphaUserInfo {
|
|
3849
|
+
/** Optional. IANA time zone, e.g. Europe/Budapest. */
|
|
3850
|
+
timeZone?: string;
|
|
3844
3851
|
/** 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. */
|
|
3845
3852
|
userAgent?: string;
|
|
3846
3853
|
/** 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. */
|
|
@@ -4382,12 +4389,17 @@ declare namespace gapi.client {
|
|
|
4382
4389
|
/** Configurations applied to digital parser. */
|
|
4383
4390
|
digitalParsingConfig?: any;
|
|
4384
4391
|
/** Configurations applied to layout parser. */
|
|
4385
|
-
layoutParsingConfig?:
|
|
4392
|
+
layoutParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig;
|
|
4386
4393
|
/** Configurations applied to OCR parser. Currently it only applies to PDFs. */
|
|
4387
4394
|
ocrParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig;
|
|
4388
4395
|
}
|
|
4389
4396
|
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
|
|
4390
|
-
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
4397
|
+
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
4398
|
+
/** Optional. If true, the LLM based annotation is added to the image during parsing. */
|
|
4399
|
+
enableImageAnnotation?: boolean;
|
|
4400
|
+
/** Optional. If true, the LLM based annotation is added to the table during parsing. */
|
|
4401
|
+
enableTableAnnotation?: boolean;
|
|
4402
|
+
}
|
|
4391
4403
|
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig {
|
|
4392
4404
|
/** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
|
|
4393
4405
|
enhancedDocumentElements?: string[];
|
|
@@ -5100,6 +5112,8 @@ declare namespace gapi.client {
|
|
|
5100
5112
|
updateTime?: string;
|
|
5101
5113
|
}
|
|
5102
5114
|
interface GoogleCloudDiscoveryengineV1betaUserInfo {
|
|
5115
|
+
/** Optional. IANA time zone, e.g. Europe/Budapest. */
|
|
5116
|
+
timeZone?: string;
|
|
5103
5117
|
/** 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. */
|
|
5104
5118
|
userAgent?: string;
|
|
5105
5119
|
/** 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. */
|
|
@@ -5388,12 +5402,17 @@ declare namespace gapi.client {
|
|
|
5388
5402
|
/** Configurations applied to digital parser. */
|
|
5389
5403
|
digitalParsingConfig?: any;
|
|
5390
5404
|
/** Configurations applied to layout parser. */
|
|
5391
|
-
layoutParsingConfig?:
|
|
5405
|
+
layoutParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig;
|
|
5392
5406
|
/** Configurations applied to OCR parser. Currently it only applies to PDFs. */
|
|
5393
5407
|
ocrParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig;
|
|
5394
5408
|
}
|
|
5395
5409
|
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig {}
|
|
5396
|
-
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
5410
|
+
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
5411
|
+
/** Optional. If true, the LLM based annotation is added to the image during parsing. */
|
|
5412
|
+
enableImageAnnotation?: boolean;
|
|
5413
|
+
/** Optional. If true, the LLM based annotation is added to the table during parsing. */
|
|
5414
|
+
enableTableAnnotation?: boolean;
|
|
5415
|
+
}
|
|
5397
5416
|
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig {
|
|
5398
5417
|
/** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
|
|
5399
5418
|
enhancedDocumentElements?: string[];
|