@maxim_mazurok/gapi.client.documentai-v1beta3 0.2.20260608 → 0.2.20260706
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 +39 -39
- 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: 20260706
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -128,7 +128,7 @@ declare namespace gapi.client {
|
|
|
128
128
|
totalDocumentCount?: number;
|
|
129
129
|
}
|
|
130
130
|
interface GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus {
|
|
131
|
-
/** The document
|
|
131
|
+
/** The document ID of the auto-labeled document. This will replace the gcs_uri. */
|
|
132
132
|
documentId?: GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
133
133
|
/** The status of the document auto-labeling. */
|
|
134
134
|
status?: GoogleRpcStatus;
|
|
@@ -145,7 +145,7 @@ declare namespace gapi.client {
|
|
|
145
145
|
totalDocumentCount?: number;
|
|
146
146
|
}
|
|
147
147
|
interface GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus {
|
|
148
|
-
/** The document
|
|
148
|
+
/** The document ID of the document. */
|
|
149
149
|
documentId?: GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
150
150
|
/** The status of deleting the document in storage. */
|
|
151
151
|
status?: GoogleRpcStatus;
|
|
@@ -170,7 +170,7 @@ declare namespace gapi.client {
|
|
|
170
170
|
individualBatchMoveStatuses?: GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus[];
|
|
171
171
|
}
|
|
172
172
|
interface GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus {
|
|
173
|
-
/** The document
|
|
173
|
+
/** The document ID of the document. */
|
|
174
174
|
documentId?: GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
175
175
|
/** The status of moving the document. */
|
|
176
176
|
status?: GoogleRpcStatus;
|
|
@@ -183,7 +183,7 @@ declare namespace gapi.client {
|
|
|
183
183
|
individualBatchUpdateStatuses?: GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus[];
|
|
184
184
|
}
|
|
185
185
|
interface GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus {
|
|
186
|
-
/** The document
|
|
186
|
+
/** The document ID of the document. */
|
|
187
187
|
documentId?: GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
188
188
|
/** The status of updating the document in storage. */
|
|
189
189
|
status?: GoogleRpcStatus;
|
|
@@ -234,21 +234,21 @@ declare namespace gapi.client {
|
|
|
234
234
|
}
|
|
235
235
|
interface GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse {}
|
|
236
236
|
interface GoogleCloudDocumentaiUiv1beta3DocumentId {
|
|
237
|
-
/** A document
|
|
237
|
+
/** A document ID within user-managed Cloud Storage. */
|
|
238
238
|
gcsManagedDocId?: GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId;
|
|
239
239
|
/** Points to a specific revision of the document if set. */
|
|
240
240
|
revisionRef?: GoogleCloudDocumentaiUiv1beta3RevisionRef;
|
|
241
|
-
/** A document
|
|
241
|
+
/** A document ID within unmanaged dataset. */
|
|
242
242
|
unmanagedDocId?: GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId;
|
|
243
243
|
}
|
|
244
244
|
interface GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId {
|
|
245
|
-
/**
|
|
245
|
+
/** ID of the document (indexed) managed by Content Warehouse. */
|
|
246
246
|
cwDocId?: string;
|
|
247
247
|
/** Required. The Cloud Storage URI where the actual document is stored. */
|
|
248
248
|
gcsUri?: string;
|
|
249
249
|
}
|
|
250
250
|
interface GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId {
|
|
251
|
-
/** Required. The
|
|
251
|
+
/** Required. The ID of the document. */
|
|
252
252
|
docId?: string;
|
|
253
253
|
}
|
|
254
254
|
interface GoogleCloudDocumentaiUiv1beta3DocumentSchema {
|
|
@@ -256,7 +256,7 @@ declare namespace gapi.client {
|
|
|
256
256
|
description?: string;
|
|
257
257
|
/** Display name to show users. */
|
|
258
258
|
displayName?: string;
|
|
259
|
-
/** Optional. Document
|
|
259
|
+
/** Optional. Document-level prompt provided by the user. This custom text is injected into the AI model's prompt to provide extra, document-wide guidance for processing. */
|
|
260
260
|
documentPrompt?: string;
|
|
261
261
|
/** Entity types of the schema. */
|
|
262
262
|
entityTypes?: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType[];
|
|
@@ -274,7 +274,7 @@ declare namespace gapi.client {
|
|
|
274
274
|
entityTypeMetadata?: GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata;
|
|
275
275
|
/** If specified, lists all the possible values for this entity. This should not be more than a handful of values. If the number of values is >10 or could change frequently, use the `EntityType.value_ontology` field and specify a list of all possible values in a value ontology file. */
|
|
276
276
|
enumValues?: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues;
|
|
277
|
-
/** Name of the type. It must be unique within the schema file and cannot be a "Common Type". The following naming conventions are used: - Use `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and tooling can handle any ASCII character.) - The `/` is sometimes used to denote a property of a type. For example `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility. */
|
|
277
|
+
/** Name of the type. It must be unique within the schema file and cannot be a "Common Type". The following naming conventions are used: - Use `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and tooling can handle any ASCII character.) - The `/` is sometimes used to denote a property of a type. For example, `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility. */
|
|
278
278
|
name?: string;
|
|
279
279
|
/** Description the nested structure, or composition of an entity. */
|
|
280
280
|
properties?: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty[];
|
|
@@ -453,7 +453,7 @@ declare namespace gapi.client {
|
|
|
453
453
|
interface GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus {
|
|
454
454
|
/** The source Cloud Storage URI of the document. */
|
|
455
455
|
inputGcsSource?: string;
|
|
456
|
-
/** The document
|
|
456
|
+
/** The document ID of imported document if it was successful, otherwise empty. */
|
|
457
457
|
outputDocumentId?: GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
458
458
|
/** The output_gcs_destination of the processed document if it was successful, otherwise empty. */
|
|
459
459
|
outputGcsDestination?: string;
|
|
@@ -470,7 +470,7 @@ declare namespace gapi.client {
|
|
|
470
470
|
processorVersion?: string;
|
|
471
471
|
}
|
|
472
472
|
interface GoogleCloudDocumentaiUiv1beta3Processor {
|
|
473
|
-
/** Optional. SchemaVersion used by the Processor. It is the same as Processor's DatasetSchema.schema_version Format is `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version} */
|
|
473
|
+
/** Optional. SchemaVersion used by the Processor. It is the same as Processor's DatasetSchema.schema_version Format is `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}. */
|
|
474
474
|
activeSchemaVersion?: string;
|
|
475
475
|
/** Output only. The time the processor was created. */
|
|
476
476
|
createTime?: string;
|
|
@@ -808,7 +808,7 @@ declare namespace gapi.client {
|
|
|
808
808
|
totalDocumentCount?: number;
|
|
809
809
|
}
|
|
810
810
|
interface GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus {
|
|
811
|
-
/** The document
|
|
811
|
+
/** The document ID of the document. */
|
|
812
812
|
documentId?: GoogleCloudDocumentaiV1beta3DocumentId;
|
|
813
813
|
/** The status of deleting the document in storage. */
|
|
814
814
|
status?: GoogleRpcStatus;
|
|
@@ -965,7 +965,7 @@ declare namespace gapi.client {
|
|
|
965
965
|
interface GoogleCloudDocumentaiV1beta3DisableProcessorRequest {}
|
|
966
966
|
interface GoogleCloudDocumentaiV1beta3DisableProcessorResponse {}
|
|
967
967
|
interface GoogleCloudDocumentaiV1beta3Document {
|
|
968
|
-
/** Optional. The blob assets in this document. This is used to store the content of the inline blobs in this document, for example, image bytes, such that it can be referenced by other fields in the document via asset
|
|
968
|
+
/** Optional. The blob assets in this document. This is used to store the content of the inline blobs in this document, for example, image bytes, such that it can be referenced by other fields in the document via asset ID. */
|
|
969
969
|
blobAssets?: GoogleCloudDocumentaiV1beta3DocumentBlobAsset[];
|
|
970
970
|
/** Document chunked based on chunking config. */
|
|
971
971
|
chunkedDocument?: GoogleCloudDocumentaiV1beta3DocumentChunkedDocument;
|
|
@@ -977,7 +977,7 @@ declare namespace gapi.client {
|
|
|
977
977
|
documentLayout?: GoogleCloudDocumentaiV1beta3DocumentDocumentLayout;
|
|
978
978
|
/** A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries. */
|
|
979
979
|
entities?: GoogleCloudDocumentaiV1beta3DocumentEntity[];
|
|
980
|
-
/** The entity revision ID that `document.entities` field is based on. If this field
|
|
980
|
+
/** The entity revision ID that `document.entities` field is based on. If this field and `entities_revisions` are set, the entities in `document.entities` are the entities in the entity revision with this ID. The `document.entity_validation_output` field is the `entity_validation_output` field in this entity revision. */
|
|
981
981
|
entitiesRevisionId?: string;
|
|
982
982
|
/** A list of entity revisions. The entity revisions are appended to the document in the processing order. This field can be used for comparing the entity extraction results at different stages of the processing. */
|
|
983
983
|
entitiesRevisions?: GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision[];
|
|
@@ -1009,7 +1009,7 @@ declare namespace gapi.client {
|
|
|
1009
1009
|
description?: string;
|
|
1010
1010
|
}
|
|
1011
1011
|
interface GoogleCloudDocumentaiV1beta3DocumentBlobAsset {
|
|
1012
|
-
/** Optional. The
|
|
1012
|
+
/** Optional. The ID of the blob asset. */
|
|
1013
1013
|
assetId?: string;
|
|
1014
1014
|
/** Optional. The content of the blob asset, for example, image bytes. */
|
|
1015
1015
|
content?: string;
|
|
@@ -1063,11 +1063,11 @@ declare namespace gapi.client {
|
|
|
1063
1063
|
interface GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField {
|
|
1064
1064
|
/** Annotation of the image chunk field. */
|
|
1065
1065
|
annotations?: GoogleCloudDocumentaiV1beta3DocumentAnnotations;
|
|
1066
|
-
/** Optional. Asset
|
|
1066
|
+
/** Optional. Asset ID of the inline image. If set, find the image content in the blob_assets field. */
|
|
1067
1067
|
blobAssetId?: string;
|
|
1068
|
-
/** Optional. Data
|
|
1068
|
+
/** Optional. Data URI of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:, */
|
|
1069
1069
|
dataUri?: string;
|
|
1070
|
-
/** Optional. Google Cloud Storage
|
|
1070
|
+
/** Optional. Google Cloud Storage URI of the image. */
|
|
1071
1071
|
gcsUri?: string;
|
|
1072
1072
|
}
|
|
1073
1073
|
interface GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField {
|
|
@@ -1097,11 +1097,11 @@ declare namespace gapi.client {
|
|
|
1097
1097
|
interface GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock {
|
|
1098
1098
|
/** Annotation of the image block. */
|
|
1099
1099
|
annotations?: GoogleCloudDocumentaiV1beta3DocumentAnnotations;
|
|
1100
|
-
/** Optional. Asset
|
|
1100
|
+
/** Optional. Asset ID of the inline image. If set, find the image content in the blob_assets field. */
|
|
1101
1101
|
blobAssetId?: string;
|
|
1102
|
-
/** Optional. Data
|
|
1102
|
+
/** Optional. Data URI of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:, */
|
|
1103
1103
|
dataUri?: string;
|
|
1104
|
-
/** Optional. Google Cloud Storage
|
|
1104
|
+
/** Optional. Google Cloud Storage URI of the image. */
|
|
1105
1105
|
gcsUri?: string;
|
|
1106
1106
|
/** Text extracted from the image using OCR or alt text describing the image. */
|
|
1107
1107
|
imageText?: string;
|
|
@@ -1207,7 +1207,7 @@ declare namespace gapi.client {
|
|
|
1207
1207
|
integerValue?: number;
|
|
1208
1208
|
/** Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto */
|
|
1209
1209
|
moneyValue?: GoogleTypeMoney;
|
|
1210
|
-
/** A signature
|
|
1210
|
+
/** A signature, which is a graphical representation of a person's name, often used to sign a document. */
|
|
1211
1211
|
signatureValue?: boolean;
|
|
1212
1212
|
/** Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format. */
|
|
1213
1213
|
text?: string;
|
|
@@ -1244,21 +1244,21 @@ declare namespace gapi.client {
|
|
|
1244
1244
|
| 'VALIDATION_RESULT_TYPE_NOT_APPLICABLE';
|
|
1245
1245
|
}
|
|
1246
1246
|
interface GoogleCloudDocumentaiV1beta3DocumentId {
|
|
1247
|
-
/** A document
|
|
1247
|
+
/** A document ID within user-managed Cloud Storage. */
|
|
1248
1248
|
gcsManagedDocId?: GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId;
|
|
1249
1249
|
/** Points to a specific revision of the document if set. */
|
|
1250
1250
|
revisionRef?: GoogleCloudDocumentaiV1beta3RevisionRef;
|
|
1251
|
-
/** A document
|
|
1251
|
+
/** A document ID within unmanaged dataset. */
|
|
1252
1252
|
unmanagedDocId?: GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId;
|
|
1253
1253
|
}
|
|
1254
1254
|
interface GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId {
|
|
1255
|
-
/**
|
|
1255
|
+
/** ID of the document (indexed) managed by Content Warehouse. */
|
|
1256
1256
|
cwDocId?: string;
|
|
1257
1257
|
/** Required. The Cloud Storage URI where the actual document is stored. */
|
|
1258
1258
|
gcsUri?: string;
|
|
1259
1259
|
}
|
|
1260
1260
|
interface GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId {
|
|
1261
|
-
/** Required. The
|
|
1261
|
+
/** Required. The ID of the document. */
|
|
1262
1262
|
docId?: string;
|
|
1263
1263
|
}
|
|
1264
1264
|
interface GoogleCloudDocumentaiV1beta3DocumentMetadata {
|
|
@@ -1557,7 +1557,7 @@ declare namespace gapi.client {
|
|
|
1557
1557
|
type?: string;
|
|
1558
1558
|
}
|
|
1559
1559
|
interface GoogleCloudDocumentaiV1beta3DocumentProvenance {
|
|
1560
|
-
/** The
|
|
1560
|
+
/** The ID of this operation. Needs to be unique within the scope of the revision. */
|
|
1561
1561
|
id?: number;
|
|
1562
1562
|
/** References to the original elements that are replaced. */
|
|
1563
1563
|
parents?: GoogleCloudDocumentaiV1beta3DocumentProvenanceParent[];
|
|
@@ -1575,7 +1575,7 @@ declare namespace gapi.client {
|
|
|
1575
1575
|
| 'EVAL_SKIPPED';
|
|
1576
1576
|
}
|
|
1577
1577
|
interface GoogleCloudDocumentaiV1beta3DocumentProvenanceParent {
|
|
1578
|
-
/** The
|
|
1578
|
+
/** The ID of the parent provenance. */
|
|
1579
1579
|
id?: number;
|
|
1580
1580
|
/** The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision. */
|
|
1581
1581
|
index?: number;
|
|
@@ -1583,13 +1583,13 @@ declare namespace gapi.client {
|
|
|
1583
1583
|
revision?: number;
|
|
1584
1584
|
}
|
|
1585
1585
|
interface GoogleCloudDocumentaiV1beta3DocumentRevision {
|
|
1586
|
-
/** If the change was made by a person specify the name or
|
|
1586
|
+
/** If the change was made by a person specify the name or ID of that person. */
|
|
1587
1587
|
agent?: string;
|
|
1588
1588
|
/** The time that the revision was created, internally generated by doc proto storage at the time of create. */
|
|
1589
1589
|
createTime?: string;
|
|
1590
1590
|
/** Human Review information of this revision. */
|
|
1591
1591
|
humanReview?: GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview;
|
|
1592
|
-
/**
|
|
1592
|
+
/** ID of the revision, internally generated by doc proto storage. Unique within the context of the document. */
|
|
1593
1593
|
id?: string;
|
|
1594
1594
|
/** The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the `revisions` field. */
|
|
1595
1595
|
parent?: number[];
|
|
@@ -1613,7 +1613,7 @@ declare namespace gapi.client {
|
|
|
1613
1613
|
description?: string;
|
|
1614
1614
|
/** Display name to show users. */
|
|
1615
1615
|
displayName?: string;
|
|
1616
|
-
/** Optional. Document
|
|
1616
|
+
/** Optional. Document-level prompt provided by the user. This custom text is injected into the AI model's prompt to provide extra, document-wide guidance for processing. */
|
|
1617
1617
|
documentPrompt?: string;
|
|
1618
1618
|
/** Entity types of the schema. */
|
|
1619
1619
|
entityTypes?: GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType[];
|
|
@@ -1631,7 +1631,7 @@ declare namespace gapi.client {
|
|
|
1631
1631
|
entityTypeMetadata?: GoogleCloudDocumentaiV1beta3EntityTypeMetadata;
|
|
1632
1632
|
/** If specified, lists all the possible values for this entity. This should not be more than a handful of values. If the number of values is >10 or could change frequently, use the `EntityType.value_ontology` field and specify a list of all possible values in a value ontology file. */
|
|
1633
1633
|
enumValues?: GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues;
|
|
1634
|
-
/** Name of the type. It must be unique within the schema file and cannot be a "Common Type". The following naming conventions are used: - Use `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and tooling can handle any ASCII character.) - The `/` is sometimes used to denote a property of a type. For example `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility. */
|
|
1634
|
+
/** Name of the type. It must be unique within the schema file and cannot be a "Common Type". The following naming conventions are used: - Use `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and tooling can handle any ASCII character.) - The `/` is sometimes used to denote a property of a type. For example, `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility. */
|
|
1635
1635
|
name?: string;
|
|
1636
1636
|
/** Description the nested structure, or composition of an entity. */
|
|
1637
1637
|
properties?: GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty[];
|
|
@@ -1930,7 +1930,7 @@ declare namespace gapi.client {
|
|
|
1930
1930
|
interface GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus {
|
|
1931
1931
|
/** The source Cloud Storage URI of the document. */
|
|
1932
1932
|
inputGcsSource?: string;
|
|
1933
|
-
/** The document
|
|
1933
|
+
/** The document ID of imported document if it was successful, otherwise empty. */
|
|
1934
1934
|
outputDocumentId?: GoogleCloudDocumentaiV1beta3DocumentId;
|
|
1935
1935
|
/** The status of the importing of the document. */
|
|
1936
1936
|
status?: GoogleRpcStatus;
|
|
@@ -2129,7 +2129,7 @@ declare namespace gapi.client {
|
|
|
2129
2129
|
semanticChunkingGroupSize?: boolean;
|
|
2130
2130
|
}
|
|
2131
2131
|
interface GoogleCloudDocumentaiV1beta3Processor {
|
|
2132
|
-
/** Optional. SchemaVersion used by the Processor. It is the same as Processor's DatasetSchema.schema_version Format is `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version} */
|
|
2132
|
+
/** Optional. SchemaVersion used by the Processor. It is the same as Processor's DatasetSchema.schema_version Format is `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}. */
|
|
2133
2133
|
activeSchemaVersion?: string;
|
|
2134
2134
|
/** Output only. The time the processor was created. */
|
|
2135
2135
|
createTime?: string;
|
|
@@ -2440,7 +2440,7 @@ declare namespace gapi.client {
|
|
|
2440
2440
|
interface GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions {
|
|
2441
2441
|
/** 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. */
|
|
2442
2442
|
learningRateMultiplier?: number;
|
|
2443
|
-
/** Optional. Resource name of a previously fine tuned version
|
|
2443
|
+
/** Optional. Resource name of a previously fine tuned version ID to copy the overwritten configs from. The base_processor_version should be newer than the base processor version used to fine tune this provided processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`. */
|
|
2444
2444
|
previousFineTunedProcessorVersionName?: string;
|
|
2445
2445
|
/** 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. */
|
|
2446
2446
|
trainSteps?: number;
|
|
@@ -2897,7 +2897,7 @@ declare namespace gapi.client {
|
|
|
2897
2897
|
callback?: string;
|
|
2898
2898
|
/** Required. The resource name of the dataset that the document belongs to . Format: projects/{project}/locations/{location}/processors/{processor}/dataset */
|
|
2899
2899
|
dataset: string;
|
|
2900
|
-
/**
|
|
2900
|
+
/** ID of the document (indexed) managed by Content Warehouse. */
|
|
2901
2901
|
'documentId.gcsManagedDocId.cwDocId'?: string;
|
|
2902
2902
|
/** Required. The Cloud Storage URI where the actual document is stored. */
|
|
2903
2903
|
'documentId.gcsManagedDocId.gcsUri'?: string;
|
|
@@ -2911,7 +2911,7 @@ declare namespace gapi.client {
|
|
|
2911
2911
|
| 'BASE_OCR_REVISION';
|
|
2912
2912
|
/** Reads the revision given by the id. */
|
|
2913
2913
|
'documentId.revisionRef.revisionId'?: string;
|
|
2914
|
-
/** Required. The
|
|
2914
|
+
/** Required. The ID of the document. */
|
|
2915
2915
|
'documentId.unmanagedDocId.docId'?: string;
|
|
2916
2916
|
/** Selector specifying which fields to include in a partial response. */
|
|
2917
2917
|
fields?: string;
|