@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20231228 → 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 +9 -5
- 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=v1beta3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240112
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1379,6 +1379,8 @@ declare namespace gapi.client {
|
|
|
1379
1379
|
inputConfigs?: GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig[];
|
|
1380
1380
|
/** The input documents for the BatchProcessDocuments method. */
|
|
1381
1381
|
inputDocuments?: GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig;
|
|
1382
|
+
/** 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. */
|
|
1383
|
+
labels?: {[P in string]: string};
|
|
1382
1384
|
/** The overall output config for batch process. */
|
|
1383
1385
|
outputConfig?: GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig;
|
|
1384
1386
|
/** Inference-time options for the process API */
|
|
@@ -1416,7 +1418,7 @@ declare namespace gapi.client {
|
|
|
1416
1418
|
updateTime?: string;
|
|
1417
1419
|
}
|
|
1418
1420
|
interface GoogleCloudDocumentaiV1beta3Dataset {
|
|
1419
|
-
/** Optional.
|
|
1421
|
+
/** Optional. Deprecated. Warehouse-based dataset configuration is not supported. */
|
|
1420
1422
|
documentWarehouseConfig?: GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig;
|
|
1421
1423
|
/** Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location. */
|
|
1422
1424
|
gcsManagedConfig?: GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig;
|
|
@@ -2262,7 +2264,7 @@ declare namespace gapi.client {
|
|
|
2262
2264
|
fromStart?: number;
|
|
2263
2265
|
/** Which pages to process (1-indexed). */
|
|
2264
2266
|
individualPageSelector?: GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector;
|
|
2265
|
-
/** Only applicable to `OCR_PROCESSOR`. Returns error if set on other processor types. */
|
|
2267
|
+
/** Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types. */
|
|
2266
2268
|
ocrConfig?: GoogleCloudDocumentaiV1beta3OcrConfig;
|
|
2267
2269
|
/** Optional. Override the schema of the ProcessorVersion. Will return an Invalid Argument error if this field is set when the underlying ProcessorVersion doesn't support schema override. */
|
|
2268
2270
|
schemaOverride?: GoogleCloudDocumentaiV1beta3DocumentSchema;
|
|
@@ -2354,6 +2356,8 @@ declare namespace gapi.client {
|
|
|
2354
2356
|
gcsDocument?: GoogleCloudDocumentaiV1beta3GcsDocument;
|
|
2355
2357
|
/** An inline document proto. */
|
|
2356
2358
|
inlineDocument?: GoogleCloudDocumentaiV1beta3Document;
|
|
2359
|
+
/** 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. */
|
|
2360
|
+
labels?: {[P in string]: string};
|
|
2357
2361
|
/** Inference-time options for the process API */
|
|
2358
2362
|
processOptions?: GoogleCloudDocumentaiV1beta3ProcessOptions;
|
|
2359
2363
|
/** A raw document content (bytes). */
|
|
@@ -2477,9 +2481,9 @@ declare namespace gapi.client {
|
|
|
2477
2481
|
trainingMethod?: string;
|
|
2478
2482
|
}
|
|
2479
2483
|
interface GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions {
|
|
2480
|
-
/** Optional. The multiplier to apply to the recommended learning rate. Valid values are between
|
|
2484
|
+
/** Optional. The multiplier to apply to the recommended learning rate. Valid values are between 0.1 and 10. If not provided, recommended learning rate will be used. */
|
|
2481
2485
|
learningRateMultiplier?: number;
|
|
2482
|
-
/** Optional. The number of steps to run for model tuning. Valid values are between
|
|
2486
|
+
/** Optional. The number of steps to run for model tuning. Valid values are between 1 and 400. If not provided, recommended steps will be used. */
|
|
2483
2487
|
trainSteps?: number;
|
|
2484
2488
|
}
|
|
2485
2489
|
interface GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData {
|