@maxim_mazurok/gapi.client.documentai-v1 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 +40 -40
- 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: 20260706
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -124,7 +124,7 @@ declare namespace gapi.client {
|
|
|
124
124
|
totalDocumentCount?: number;
|
|
125
125
|
}
|
|
126
126
|
interface GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus {
|
|
127
|
-
/** The document
|
|
127
|
+
/** The document ID of the auto-labeled document. This will replace the gcs_uri. */
|
|
128
128
|
documentId?: GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
129
129
|
/** The status of the document auto-labeling. */
|
|
130
130
|
status?: GoogleRpcStatus;
|
|
@@ -141,7 +141,7 @@ declare namespace gapi.client {
|
|
|
141
141
|
totalDocumentCount?: number;
|
|
142
142
|
}
|
|
143
143
|
interface GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus {
|
|
144
|
-
/** The document
|
|
144
|
+
/** The document ID of the document. */
|
|
145
145
|
documentId?: GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
146
146
|
/** The status of deleting the document in storage. */
|
|
147
147
|
status?: GoogleRpcStatus;
|
|
@@ -166,7 +166,7 @@ declare namespace gapi.client {
|
|
|
166
166
|
individualBatchMoveStatuses?: GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus[];
|
|
167
167
|
}
|
|
168
168
|
interface GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus {
|
|
169
|
-
/** The document
|
|
169
|
+
/** The document ID of the document. */
|
|
170
170
|
documentId?: GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
171
171
|
/** The status of moving the document. */
|
|
172
172
|
status?: GoogleRpcStatus;
|
|
@@ -179,7 +179,7 @@ declare namespace gapi.client {
|
|
|
179
179
|
individualBatchUpdateStatuses?: GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus[];
|
|
180
180
|
}
|
|
181
181
|
interface GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus {
|
|
182
|
-
/** The document
|
|
182
|
+
/** The document ID of the document. */
|
|
183
183
|
documentId?: GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
184
184
|
/** The status of updating the document in storage. */
|
|
185
185
|
status?: GoogleRpcStatus;
|
|
@@ -230,21 +230,21 @@ declare namespace gapi.client {
|
|
|
230
230
|
}
|
|
231
231
|
interface GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse {}
|
|
232
232
|
interface GoogleCloudDocumentaiUiv1beta3DocumentId {
|
|
233
|
-
/** A document
|
|
233
|
+
/** A document ID within user-managed Cloud Storage. */
|
|
234
234
|
gcsManagedDocId?: GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId;
|
|
235
235
|
/** Points to a specific revision of the document if set. */
|
|
236
236
|
revisionRef?: GoogleCloudDocumentaiUiv1beta3RevisionRef;
|
|
237
|
-
/** A document
|
|
237
|
+
/** A document ID within unmanaged dataset. */
|
|
238
238
|
unmanagedDocId?: GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId;
|
|
239
239
|
}
|
|
240
240
|
interface GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId {
|
|
241
|
-
/**
|
|
241
|
+
/** ID of the document (indexed) managed by Content Warehouse. */
|
|
242
242
|
cwDocId?: string;
|
|
243
243
|
/** Required. The Cloud Storage URI where the actual document is stored. */
|
|
244
244
|
gcsUri?: string;
|
|
245
245
|
}
|
|
246
246
|
interface GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId {
|
|
247
|
-
/** Required. The
|
|
247
|
+
/** Required. The ID of the document. */
|
|
248
248
|
docId?: string;
|
|
249
249
|
}
|
|
250
250
|
interface GoogleCloudDocumentaiUiv1beta3DocumentSchema {
|
|
@@ -252,7 +252,7 @@ declare namespace gapi.client {
|
|
|
252
252
|
description?: string;
|
|
253
253
|
/** Display name to show users. */
|
|
254
254
|
displayName?: string;
|
|
255
|
-
/** Optional. Document
|
|
255
|
+
/** 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. */
|
|
256
256
|
documentPrompt?: string;
|
|
257
257
|
/** Entity types of the schema. */
|
|
258
258
|
entityTypes?: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType[];
|
|
@@ -270,7 +270,7 @@ declare namespace gapi.client {
|
|
|
270
270
|
entityTypeMetadata?: GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata;
|
|
271
271
|
/** 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. */
|
|
272
272
|
enumValues?: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues;
|
|
273
|
-
/** 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. */
|
|
273
|
+
/** 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. */
|
|
274
274
|
name?: string;
|
|
275
275
|
/** Description the nested structure, or composition of an entity. */
|
|
276
276
|
properties?: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty[];
|
|
@@ -449,7 +449,7 @@ declare namespace gapi.client {
|
|
|
449
449
|
interface GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus {
|
|
450
450
|
/** The source Cloud Storage URI of the document. */
|
|
451
451
|
inputGcsSource?: string;
|
|
452
|
-
/** The document
|
|
452
|
+
/** The document ID of imported document if it was successful, otherwise empty. */
|
|
453
453
|
outputDocumentId?: GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
454
454
|
/** The output_gcs_destination of the processed document if it was successful, otherwise empty. */
|
|
455
455
|
outputGcsDestination?: string;
|
|
@@ -466,7 +466,7 @@ declare namespace gapi.client {
|
|
|
466
466
|
processorVersion?: string;
|
|
467
467
|
}
|
|
468
468
|
interface GoogleCloudDocumentaiUiv1beta3Processor {
|
|
469
|
-
/** 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} */
|
|
469
|
+
/** 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}. */
|
|
470
470
|
activeSchemaVersion?: string;
|
|
471
471
|
/** Output only. The time the processor was created. */
|
|
472
472
|
createTime?: string;
|
|
@@ -812,7 +812,7 @@ declare namespace gapi.client {
|
|
|
812
812
|
totalDocumentCount?: number;
|
|
813
813
|
}
|
|
814
814
|
interface GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus {
|
|
815
|
-
/** The document
|
|
815
|
+
/** The document ID of the document. */
|
|
816
816
|
documentId?: GoogleCloudDocumentaiV1beta3DocumentId;
|
|
817
817
|
/** The status of deleting the document in storage. */
|
|
818
818
|
status?: GoogleRpcStatus;
|
|
@@ -915,21 +915,21 @@ declare namespace gapi.client {
|
|
|
915
915
|
}
|
|
916
916
|
interface GoogleCloudDocumentaiV1beta3DisableProcessorResponse {}
|
|
917
917
|
interface GoogleCloudDocumentaiV1beta3DocumentId {
|
|
918
|
-
/** A document
|
|
918
|
+
/** A document ID within user-managed Cloud Storage. */
|
|
919
919
|
gcsManagedDocId?: GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId;
|
|
920
920
|
/** Points to a specific revision of the document if set. */
|
|
921
921
|
revisionRef?: GoogleCloudDocumentaiV1beta3RevisionRef;
|
|
922
|
-
/** A document
|
|
922
|
+
/** A document ID within unmanaged dataset. */
|
|
923
923
|
unmanagedDocId?: GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId;
|
|
924
924
|
}
|
|
925
925
|
interface GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId {
|
|
926
|
-
/**
|
|
926
|
+
/** ID of the document (indexed) managed by Content Warehouse. */
|
|
927
927
|
cwDocId?: string;
|
|
928
928
|
/** Required. The Cloud Storage URI where the actual document is stored. */
|
|
929
929
|
gcsUri?: string;
|
|
930
930
|
}
|
|
931
931
|
interface GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId {
|
|
932
|
-
/** Required. The
|
|
932
|
+
/** Required. The ID of the document. */
|
|
933
933
|
docId?: string;
|
|
934
934
|
}
|
|
935
935
|
interface GoogleCloudDocumentaiV1beta3DocumentSchema {
|
|
@@ -937,7 +937,7 @@ declare namespace gapi.client {
|
|
|
937
937
|
description?: string;
|
|
938
938
|
/** Display name to show users. */
|
|
939
939
|
displayName?: string;
|
|
940
|
-
/** Optional. Document
|
|
940
|
+
/** 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. */
|
|
941
941
|
documentPrompt?: string;
|
|
942
942
|
/** Entity types of the schema. */
|
|
943
943
|
entityTypes?: GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType[];
|
|
@@ -955,7 +955,7 @@ declare namespace gapi.client {
|
|
|
955
955
|
entityTypeMetadata?: GoogleCloudDocumentaiV1beta3EntityTypeMetadata;
|
|
956
956
|
/** 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. */
|
|
957
957
|
enumValues?: GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues;
|
|
958
|
-
/** 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. */
|
|
958
|
+
/** 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. */
|
|
959
959
|
name?: string;
|
|
960
960
|
/** Description the nested structure, or composition of an entity. */
|
|
961
961
|
properties?: GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty[];
|
|
@@ -1086,7 +1086,7 @@ declare namespace gapi.client {
|
|
|
1086
1086
|
interface GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus {
|
|
1087
1087
|
/** The source Cloud Storage URI of the document. */
|
|
1088
1088
|
inputGcsSource?: string;
|
|
1089
|
-
/** The document
|
|
1089
|
+
/** The document ID of imported document if it was successful, otherwise empty. */
|
|
1090
1090
|
outputDocumentId?: GoogleCloudDocumentaiV1beta3DocumentId;
|
|
1091
1091
|
/** The status of the importing of the document. */
|
|
1092
1092
|
status?: GoogleRpcStatus;
|
|
@@ -1101,7 +1101,7 @@ declare namespace gapi.client {
|
|
|
1101
1101
|
processorVersion?: string;
|
|
1102
1102
|
}
|
|
1103
1103
|
interface GoogleCloudDocumentaiV1beta3Processor {
|
|
1104
|
-
/** 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} */
|
|
1104
|
+
/** 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}. */
|
|
1105
1105
|
activeSchemaVersion?: string;
|
|
1106
1106
|
/** Output only. The time the processor was created. */
|
|
1107
1107
|
createTime?: string;
|
|
@@ -1344,7 +1344,7 @@ declare namespace gapi.client {
|
|
|
1344
1344
|
interface GoogleCloudDocumentaiV1DisableProcessorRequest {}
|
|
1345
1345
|
interface GoogleCloudDocumentaiV1DisableProcessorResponse {}
|
|
1346
1346
|
interface GoogleCloudDocumentaiV1Document {
|
|
1347
|
-
/** 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
|
|
1347
|
+
/** 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. */
|
|
1348
1348
|
blobAssets?: GoogleCloudDocumentaiV1DocumentBlobAsset[];
|
|
1349
1349
|
/** Document chunked based on chunking config. */
|
|
1350
1350
|
chunkedDocument?: GoogleCloudDocumentaiV1DocumentChunkedDocument;
|
|
@@ -1356,7 +1356,7 @@ declare namespace gapi.client {
|
|
|
1356
1356
|
documentLayout?: GoogleCloudDocumentaiV1DocumentDocumentLayout;
|
|
1357
1357
|
/** A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries. */
|
|
1358
1358
|
entities?: GoogleCloudDocumentaiV1DocumentEntity[];
|
|
1359
|
-
/** The entity revision ID that `document.entities` field is based on. If this field
|
|
1359
|
+
/** 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. */
|
|
1360
1360
|
entitiesRevisionId?: string;
|
|
1361
1361
|
/** 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. */
|
|
1362
1362
|
entitiesRevisions?: GoogleCloudDocumentaiV1DocumentEntitiesRevision[];
|
|
@@ -1388,7 +1388,7 @@ declare namespace gapi.client {
|
|
|
1388
1388
|
description?: string;
|
|
1389
1389
|
}
|
|
1390
1390
|
interface GoogleCloudDocumentaiV1DocumentBlobAsset {
|
|
1391
|
-
/** Optional. The
|
|
1391
|
+
/** Optional. The ID of the blob asset. */
|
|
1392
1392
|
assetId?: string;
|
|
1393
1393
|
/** Optional. The content of the blob asset, for example, image bytes. */
|
|
1394
1394
|
content?: string;
|
|
@@ -1442,11 +1442,11 @@ declare namespace gapi.client {
|
|
|
1442
1442
|
interface GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField {
|
|
1443
1443
|
/** Annotation of the image chunk field. */
|
|
1444
1444
|
annotations?: GoogleCloudDocumentaiV1DocumentAnnotations;
|
|
1445
|
-
/** Optional. Asset
|
|
1445
|
+
/** Optional. Asset ID of the inline image. If set, find the image content in the blob_assets field. */
|
|
1446
1446
|
blobAssetId?: string;
|
|
1447
|
-
/** Optional. Data
|
|
1447
|
+
/** 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:, */
|
|
1448
1448
|
dataUri?: string;
|
|
1449
|
-
/** Optional. Google Cloud Storage
|
|
1449
|
+
/** Optional. Google Cloud Storage URI of the image. */
|
|
1450
1450
|
gcsUri?: string;
|
|
1451
1451
|
}
|
|
1452
1452
|
interface GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField {
|
|
@@ -1476,11 +1476,11 @@ declare namespace gapi.client {
|
|
|
1476
1476
|
interface GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock {
|
|
1477
1477
|
/** Annotation of the image block. */
|
|
1478
1478
|
annotations?: GoogleCloudDocumentaiV1DocumentAnnotations;
|
|
1479
|
-
/** Optional. Asset
|
|
1479
|
+
/** Optional. Asset ID of the inline image. If set, find the image content in the blob_assets field. */
|
|
1480
1480
|
blobAssetId?: string;
|
|
1481
|
-
/** Optional. Data
|
|
1481
|
+
/** 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:, */
|
|
1482
1482
|
dataUri?: string;
|
|
1483
|
-
/** Optional. Google Cloud Storage
|
|
1483
|
+
/** Optional. Google Cloud Storage URI of the image. */
|
|
1484
1484
|
gcsUri?: string;
|
|
1485
1485
|
/** Text extracted from the image using OCR or alt text describing the image. */
|
|
1486
1486
|
imageText?: string;
|
|
@@ -1586,7 +1586,7 @@ declare namespace gapi.client {
|
|
|
1586
1586
|
integerValue?: number;
|
|
1587
1587
|
/** Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto */
|
|
1588
1588
|
moneyValue?: GoogleTypeMoney;
|
|
1589
|
-
/** A signature
|
|
1589
|
+
/** A signature, which is a graphical representation of a person's name, often used to sign a document. */
|
|
1590
1590
|
signatureValue?: boolean;
|
|
1591
1591
|
/** 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. */
|
|
1592
1592
|
text?: string;
|
|
@@ -1898,7 +1898,7 @@ declare namespace gapi.client {
|
|
|
1898
1898
|
type?: string;
|
|
1899
1899
|
}
|
|
1900
1900
|
interface GoogleCloudDocumentaiV1DocumentProvenance {
|
|
1901
|
-
/** The
|
|
1901
|
+
/** The ID of this operation. Needs to be unique within the scope of the revision. */
|
|
1902
1902
|
id?: number;
|
|
1903
1903
|
/** References to the original elements that are replaced. */
|
|
1904
1904
|
parents?: GoogleCloudDocumentaiV1DocumentProvenanceParent[];
|
|
@@ -1916,7 +1916,7 @@ declare namespace gapi.client {
|
|
|
1916
1916
|
| 'EVAL_SKIPPED';
|
|
1917
1917
|
}
|
|
1918
1918
|
interface GoogleCloudDocumentaiV1DocumentProvenanceParent {
|
|
1919
|
-
/** The
|
|
1919
|
+
/** The ID of the parent provenance. */
|
|
1920
1920
|
id?: number;
|
|
1921
1921
|
/** The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision. */
|
|
1922
1922
|
index?: number;
|
|
@@ -1924,13 +1924,13 @@ declare namespace gapi.client {
|
|
|
1924
1924
|
revision?: number;
|
|
1925
1925
|
}
|
|
1926
1926
|
interface GoogleCloudDocumentaiV1DocumentRevision {
|
|
1927
|
-
/** If the change was made by a person specify the name or
|
|
1927
|
+
/** If the change was made by a person specify the name or ID of that person. */
|
|
1928
1928
|
agent?: string;
|
|
1929
1929
|
/** The time that the revision was created, internally generated by doc proto storage at the time of create. */
|
|
1930
1930
|
createTime?: string;
|
|
1931
1931
|
/** Human Review information of this revision. */
|
|
1932
1932
|
humanReview?: GoogleCloudDocumentaiV1DocumentRevisionHumanReview;
|
|
1933
|
-
/**
|
|
1933
|
+
/** ID of the revision, internally generated by doc proto storage. Unique within the context of the document. */
|
|
1934
1934
|
id?: string;
|
|
1935
1935
|
/** 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. */
|
|
1936
1936
|
parent?: number[];
|
|
@@ -1954,7 +1954,7 @@ declare namespace gapi.client {
|
|
|
1954
1954
|
description?: string;
|
|
1955
1955
|
/** Display name to show users. */
|
|
1956
1956
|
displayName?: string;
|
|
1957
|
-
/** Optional. Document
|
|
1957
|
+
/** 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. */
|
|
1958
1958
|
documentPrompt?: string;
|
|
1959
1959
|
/** Entity types of the schema. */
|
|
1960
1960
|
entityTypes?: GoogleCloudDocumentaiV1DocumentSchemaEntityType[];
|
|
@@ -1968,7 +1968,7 @@ declare namespace gapi.client {
|
|
|
1968
1968
|
displayName?: string;
|
|
1969
1969
|
/** 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. */
|
|
1970
1970
|
enumValues?: GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues;
|
|
1971
|
-
/** 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. */
|
|
1971
|
+
/** 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. */
|
|
1972
1972
|
name?: string;
|
|
1973
1973
|
/** Description the nested structure, or composition of an entity. */
|
|
1974
1974
|
properties?: GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty[];
|
|
@@ -2350,7 +2350,7 @@ declare namespace gapi.client {
|
|
|
2350
2350
|
includeAncestorHeadings?: boolean;
|
|
2351
2351
|
}
|
|
2352
2352
|
interface GoogleCloudDocumentaiV1Processor {
|
|
2353
|
-
/** 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} */
|
|
2353
|
+
/** 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}. */
|
|
2354
2354
|
activeSchemaVersion?: string;
|
|
2355
2355
|
/** Output only. The time the processor was created. */
|
|
2356
2356
|
createTime?: string;
|
|
@@ -2617,7 +2617,7 @@ declare namespace gapi.client {
|
|
|
2617
2617
|
interface GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions {
|
|
2618
2618
|
/** 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. */
|
|
2619
2619
|
learningRateMultiplier?: number;
|
|
2620
|
-
/** Optional. Resource name of a previously fine tuned version
|
|
2620
|
+
/** 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}`. */
|
|
2621
2621
|
previousFineTunedProcessorVersionName?: string;
|
|
2622
2622
|
/** 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. */
|
|
2623
2623
|
trainSteps?: number;
|