@maxim_mazurok/gapi.client.documentai-v1 0.0.20240104 → 0.0.20240112
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 +7 -3
- 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://documentai.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240112
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -353,6 +353,8 @@ declare namespace gapi.client {
|
|
|
353
353
|
documentOutputConfig?: GoogleCloudDocumentaiV1DocumentOutputConfig;
|
|
354
354
|
/** The input documents for the BatchProcessDocuments method. */
|
|
355
355
|
inputDocuments?: GoogleCloudDocumentaiV1BatchDocumentsInputConfig;
|
|
356
|
+
/** Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. */
|
|
357
|
+
labels?: {[P in string]: string};
|
|
356
358
|
/** Inference-time options for the process API */
|
|
357
359
|
processOptions?: GoogleCloudDocumentaiV1ProcessOptions;
|
|
358
360
|
/** Whether human review should be skipped for this request. Default to `false`. */
|
|
@@ -1378,7 +1380,7 @@ declare namespace gapi.client {
|
|
|
1378
1380
|
updateTime?: string;
|
|
1379
1381
|
}
|
|
1380
1382
|
interface GoogleCloudDocumentaiV1beta3Dataset {
|
|
1381
|
-
/** Optional.
|
|
1383
|
+
/** Optional. Deprecated. Warehouse-based dataset configuration is not supported. */
|
|
1382
1384
|
documentWarehouseConfig?: GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig;
|
|
1383
1385
|
/** Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location. */
|
|
1384
1386
|
gcsManagedConfig?: GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig;
|
|
@@ -2270,7 +2272,7 @@ declare namespace gapi.client {
|
|
|
2270
2272
|
fromStart?: number;
|
|
2271
2273
|
/** Which pages to process (1-indexed). */
|
|
2272
2274
|
individualPageSelector?: GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector;
|
|
2273
|
-
/** Only applicable to `OCR_PROCESSOR`. Returns error if set on other processor types. */
|
|
2275
|
+
/** Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types. */
|
|
2274
2276
|
ocrConfig?: GoogleCloudDocumentaiV1OcrConfig;
|
|
2275
2277
|
}
|
|
2276
2278
|
interface GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector {
|
|
@@ -2358,6 +2360,8 @@ declare namespace gapi.client {
|
|
|
2358
2360
|
gcsDocument?: GoogleCloudDocumentaiV1GcsDocument;
|
|
2359
2361
|
/** An inline document proto. */
|
|
2360
2362
|
inlineDocument?: GoogleCloudDocumentaiV1Document;
|
|
2363
|
+
/** Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. */
|
|
2364
|
+
labels?: {[P in string]: string};
|
|
2361
2365
|
/** Inference-time options for the process API */
|
|
2362
2366
|
processOptions?: GoogleCloudDocumentaiV1ProcessOptions;
|
|
2363
2367
|
/** A raw document content (bytes). */
|