@maxim_mazurok/gapi.client.documentai-v1beta3 0.1.20260128 → 0.1.20260208
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 +52 -41
- 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: 20260208
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -33,7 +33,7 @@ declare namespace gapi.client {
|
|
|
33
33
|
}
|
|
34
34
|
interface CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule {
|
|
35
35
|
childAlignmentRule?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule;
|
|
36
|
-
/** Description of the validation rule. This has no use but for documentation */
|
|
36
|
+
/** Description of the validation rule. This has no use but for documentation. */
|
|
37
37
|
description?: string;
|
|
38
38
|
entityAlignmentRule?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule;
|
|
39
39
|
fieldOccurrences?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences;
|
|
@@ -220,7 +220,7 @@ declare namespace gapi.client {
|
|
|
220
220
|
interface GoogleCloudDocumentaiUiv1beta3DocumentSchema {
|
|
221
221
|
/** Description of the schema. */
|
|
222
222
|
description?: string;
|
|
223
|
-
/** Display name to show
|
|
223
|
+
/** Display name to show users. */
|
|
224
224
|
displayName?: string;
|
|
225
225
|
/** 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. */
|
|
226
226
|
documentPrompt?: string;
|
|
@@ -238,9 +238,9 @@ declare namespace gapi.client {
|
|
|
238
238
|
displayName?: string;
|
|
239
239
|
/** Metadata for the entity type. */
|
|
240
240
|
entityTypeMetadata?: GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata;
|
|
241
|
-
/** 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. */
|
|
241
|
+
/** 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. */
|
|
242
242
|
enumValues?: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues;
|
|
243
|
-
/** 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
|
|
243
|
+
/** 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. */
|
|
244
244
|
name?: string;
|
|
245
245
|
/** Description the nested structure, or composition of an entity. */
|
|
246
246
|
properties?: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty[];
|
|
@@ -272,7 +272,7 @@ declare namespace gapi.client {
|
|
|
272
272
|
documentSplitter?: boolean;
|
|
273
273
|
/** If set, all the nested entities must be prefixed with the parents. */
|
|
274
274
|
prefixedNamingOnProperties?: boolean;
|
|
275
|
-
/** If set,
|
|
275
|
+
/** If set, this will skip the naming format validation in the schema. So the string values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.Property.name` will not be checked. */
|
|
276
276
|
skipNamingValidation?: boolean;
|
|
277
277
|
}
|
|
278
278
|
interface GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata {
|
|
@@ -303,7 +303,7 @@ declare namespace gapi.client {
|
|
|
303
303
|
evaluation?: string;
|
|
304
304
|
}
|
|
305
305
|
interface GoogleCloudDocumentaiUiv1beta3EvaluationMetrics {
|
|
306
|
-
/** The calculated
|
|
306
|
+
/** The calculated F1 score. */
|
|
307
307
|
f1Score?: number;
|
|
308
308
|
/** The amount of false negatives. */
|
|
309
309
|
falseNegativesCount?: number;
|
|
@@ -511,9 +511,9 @@ declare namespace gapi.client {
|
|
|
511
511
|
customModelType?: string;
|
|
512
512
|
}
|
|
513
513
|
interface GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo {
|
|
514
|
-
/** Whether
|
|
514
|
+
/** Whether fine tuning is allowed for this base processor version. */
|
|
515
515
|
finetuningAllowed?: boolean;
|
|
516
|
-
/** The minimum number of labeled documents in the training dataset required for
|
|
516
|
+
/** The minimum number of labeled documents in the training dataset required for fine tuning. */
|
|
517
517
|
minTrainLabeledDocuments?: number;
|
|
518
518
|
}
|
|
519
519
|
interface GoogleCloudDocumentaiUiv1beta3PropertyMetadata {
|
|
@@ -582,7 +582,7 @@ declare namespace gapi.client {
|
|
|
582
582
|
interface GoogleCloudDocumentaiUiv1beta3Schema {
|
|
583
583
|
/** Description of the schema. */
|
|
584
584
|
description?: string;
|
|
585
|
-
/** Display name to show
|
|
585
|
+
/** Display name to show users. */
|
|
586
586
|
displayName?: string;
|
|
587
587
|
/** Entity types of the schema. */
|
|
588
588
|
entityTypes?: GoogleCloudDocumentaiUiv1beta3SchemaEntityType[];
|
|
@@ -818,8 +818,6 @@ declare namespace gapi.client {
|
|
|
818
818
|
satisfiesPzi?: boolean;
|
|
819
819
|
/** Output only. Reserved for future use. */
|
|
820
820
|
satisfiesPzs?: boolean;
|
|
821
|
-
/** Optional. A lightweight indexing source with low latency and high reliability, but lacking advanced features like CMEK and content-based search. */
|
|
822
|
-
spannerIndexingConfig?: any;
|
|
823
821
|
/** Required. State of the dataset. Ignored when updating dataset. */
|
|
824
822
|
state?: string;
|
|
825
823
|
/** Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed). */
|
|
@@ -845,7 +843,6 @@ declare namespace gapi.client {
|
|
|
845
843
|
/** Output only. Reserved for future use. */
|
|
846
844
|
satisfiesPzs?: boolean;
|
|
847
845
|
}
|
|
848
|
-
interface GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig {}
|
|
849
846
|
interface GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig {}
|
|
850
847
|
interface GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata {
|
|
851
848
|
/** The basic metadata of the long-running operation. */
|
|
@@ -868,7 +865,7 @@ declare namespace gapi.client {
|
|
|
868
865
|
interface GoogleCloudDocumentaiV1beta3DisableProcessorRequest {}
|
|
869
866
|
interface GoogleCloudDocumentaiV1beta3DisableProcessorResponse {}
|
|
870
867
|
interface GoogleCloudDocumentaiV1beta3Document {
|
|
871
|
-
/** Optional. The blob assets in this document. This is used to store the content of the inline blobs in this document,
|
|
868
|
+
/** 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. */
|
|
872
869
|
blobAssets?: GoogleCloudDocumentaiV1beta3DocumentBlobAsset[];
|
|
873
870
|
/** Document chunked based on chunking config. */
|
|
874
871
|
chunkedDocument?: GoogleCloudDocumentaiV1beta3DocumentChunkedDocument;
|
|
@@ -880,7 +877,7 @@ declare namespace gapi.client {
|
|
|
880
877
|
documentLayout?: GoogleCloudDocumentaiV1beta3DocumentDocumentLayout;
|
|
881
878
|
/** A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries. */
|
|
882
879
|
entities?: GoogleCloudDocumentaiV1beta3DocumentEntity[];
|
|
883
|
-
/** The entity revision
|
|
880
|
+
/** The entity revision ID that `document.entities` field is based on. If this field is set and `entities_revisions` is not empty, the entities in `document.entities` field are the entities in the entity revision with this id and `document.entity_validation_output` field is the `entity_validation_output` field in this entity revision. */
|
|
884
881
|
entitiesRevisionId?: string;
|
|
885
882
|
/** 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. */
|
|
886
883
|
entitiesRevisions?: GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision[];
|
|
@@ -914,7 +911,7 @@ declare namespace gapi.client {
|
|
|
914
911
|
interface GoogleCloudDocumentaiV1beta3DocumentBlobAsset {
|
|
915
912
|
/** Optional. The id of the blob asset. */
|
|
916
913
|
assetId?: string;
|
|
917
|
-
/** Optional. The content of the blob asset,
|
|
914
|
+
/** Optional. The content of the blob asset, for example, image bytes. */
|
|
918
915
|
content?: string;
|
|
919
916
|
/** The mime type of the blob asset. An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml). */
|
|
920
917
|
mimeType?: string;
|
|
@@ -1076,11 +1073,11 @@ declare namespace gapi.client {
|
|
|
1076
1073
|
id?: string;
|
|
1077
1074
|
/** Optional. Deprecated. Use `id` field instead. */
|
|
1078
1075
|
mentionId?: string;
|
|
1079
|
-
/** Optional. Text value of the entity
|
|
1076
|
+
/** Optional. Text value of the entity, for example, `1600 Amphitheatre Pkwy`. */
|
|
1080
1077
|
mentionText?: string;
|
|
1081
1078
|
/** Optional. Specifies how the entity's value is obtained. */
|
|
1082
1079
|
method?: string;
|
|
1083
|
-
/** Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (
|
|
1080
|
+
/** Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (for example, address) is not supported for certain parsers. This field is also only populated for certain supported document types. */
|
|
1084
1081
|
normalizedValue?: GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue;
|
|
1085
1082
|
/** Optional. Represents the provenance of this entity wrt. the location on the page where it was found. */
|
|
1086
1083
|
pageAnchor?: GoogleCloudDocumentaiV1beta3DocumentPageAnchor;
|
|
@@ -1092,7 +1089,7 @@ declare namespace gapi.client {
|
|
|
1092
1089
|
redacted?: boolean;
|
|
1093
1090
|
/** Optional. Provenance of the entity. Text anchor indexing into the Document.text. */
|
|
1094
1091
|
textAnchor?: GoogleCloudDocumentaiV1beta3DocumentTextAnchor;
|
|
1095
|
-
/** Required. Entity type from a schema
|
|
1092
|
+
/** Required. Entity type from a schema, for example, `Address`. */
|
|
1096
1093
|
type?: string;
|
|
1097
1094
|
}
|
|
1098
1095
|
interface GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue {
|
|
@@ -1222,7 +1219,7 @@ declare namespace gapi.client {
|
|
|
1222
1219
|
tokens?: GoogleCloudDocumentaiV1beta3DocumentPageToken[];
|
|
1223
1220
|
/** Transformation matrices that were applied to the original document image to produce Page.image. */
|
|
1224
1221
|
transforms?: GoogleCloudDocumentaiV1beta3DocumentPageMatrix[];
|
|
1225
|
-
/** A list of detected non-text visual elements
|
|
1222
|
+
/** A list of detected non-text visual elements, for example, checkbox, signature etc. on the page. */
|
|
1226
1223
|
visualElements?: GoogleCloudDocumentaiV1beta3DocumentPageVisualElement[];
|
|
1227
1224
|
}
|
|
1228
1225
|
interface GoogleCloudDocumentaiV1beta3DocumentPageAnchor {
|
|
@@ -1274,7 +1271,7 @@ declare namespace gapi.client {
|
|
|
1274
1271
|
correctedKeyText?: string;
|
|
1275
1272
|
/** Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction. */
|
|
1276
1273
|
correctedValueText?: string;
|
|
1277
|
-
/** Layout for the FormField name.
|
|
1274
|
+
/** Layout for the FormField name. For example, `Address`, `Email`, `Grand total`, `Phone number`, etc. */
|
|
1278
1275
|
fieldName?: GoogleCloudDocumentaiV1beta3DocumentPageLayout;
|
|
1279
1276
|
/** Layout for the FormField value. */
|
|
1280
1277
|
fieldValue?: GoogleCloudDocumentaiV1beta3DocumentPageLayout;
|
|
@@ -1312,7 +1309,7 @@ declare namespace gapi.client {
|
|
|
1312
1309
|
interface GoogleCloudDocumentaiV1beta3DocumentPageLayout {
|
|
1313
1310
|
/** The bounding polygon for the Layout. */
|
|
1314
1311
|
boundingPoly?: GoogleCloudDocumentaiV1beta3BoundingPoly;
|
|
1315
|
-
/** Confidence of the current Layout within context of the object this layout is for.
|
|
1312
|
+
/** Confidence of the current Layout within context of the object this layout is for. For example, confidence can be for a single token, a table, a visual element, etc. depending on context. Range `[0, 1]`. */
|
|
1316
1313
|
confidence?: number;
|
|
1317
1314
|
/** Detected orientation for the Layout. */
|
|
1318
1315
|
orientation?: string;
|
|
@@ -1468,7 +1465,7 @@ declare namespace gapi.client {
|
|
|
1468
1465
|
processor?: string;
|
|
1469
1466
|
}
|
|
1470
1467
|
interface GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview {
|
|
1471
|
-
/** Human review state.
|
|
1468
|
+
/** Human review state. For example, `requested`, `succeeded`, `rejected`. */
|
|
1472
1469
|
state?: string;
|
|
1473
1470
|
/** A message providing more details about the current state of processing. For example, the rejection reason when the state is `rejected`. */
|
|
1474
1471
|
stateMessage?: string;
|
|
@@ -1480,7 +1477,7 @@ declare namespace gapi.client {
|
|
|
1480
1477
|
interface GoogleCloudDocumentaiV1beta3DocumentSchema {
|
|
1481
1478
|
/** Description of the schema. */
|
|
1482
1479
|
description?: string;
|
|
1483
|
-
/** Display name to show
|
|
1480
|
+
/** Display name to show users. */
|
|
1484
1481
|
displayName?: string;
|
|
1485
1482
|
/** 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. */
|
|
1486
1483
|
documentPrompt?: string;
|
|
@@ -1498,9 +1495,9 @@ declare namespace gapi.client {
|
|
|
1498
1495
|
displayName?: string;
|
|
1499
1496
|
/** Metadata for the entity type. */
|
|
1500
1497
|
entityTypeMetadata?: GoogleCloudDocumentaiV1beta3EntityTypeMetadata;
|
|
1501
|
-
/** 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. */
|
|
1498
|
+
/** 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. */
|
|
1502
1499
|
enumValues?: GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues;
|
|
1503
|
-
/** 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
|
|
1500
|
+
/** 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. */
|
|
1504
1501
|
name?: string;
|
|
1505
1502
|
/** Description the nested structure, or composition of an entity. */
|
|
1506
1503
|
properties?: GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty[];
|
|
@@ -1532,7 +1529,7 @@ declare namespace gapi.client {
|
|
|
1532
1529
|
documentSplitter?: boolean;
|
|
1533
1530
|
/** If set, all the nested entities must be prefixed with the parents. */
|
|
1534
1531
|
prefixedNamingOnProperties?: boolean;
|
|
1535
|
-
/** If set,
|
|
1532
|
+
/** If set, this will skip the naming format validation in the schema. So the string values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.Property.name` will not be checked. */
|
|
1536
1533
|
skipNamingValidation?: boolean;
|
|
1537
1534
|
}
|
|
1538
1535
|
interface GoogleCloudDocumentaiV1beta3DocumentShardInfo {
|
|
@@ -1626,6 +1623,8 @@ declare namespace gapi.client {
|
|
|
1626
1623
|
kmsKeyVersionName?: string;
|
|
1627
1624
|
/** The resource name of the evaluation. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}` */
|
|
1628
1625
|
name?: string;
|
|
1626
|
+
/** Contains all revisions of the evaluation, excluding the latest one. */
|
|
1627
|
+
revisions?: GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision[];
|
|
1629
1628
|
}
|
|
1630
1629
|
interface GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics {
|
|
1631
1630
|
/** The confidence level. */
|
|
@@ -1643,8 +1642,20 @@ declare namespace gapi.client {
|
|
|
1643
1642
|
/** How many documents were not included in the evaluation as they didn't pass validation. */
|
|
1644
1643
|
invalidDocumentsCount?: number;
|
|
1645
1644
|
}
|
|
1645
|
+
interface GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision {
|
|
1646
|
+
/** Output only. Metrics for all the entities in aggregate. */
|
|
1647
|
+
allEntitiesMetrics?: GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics;
|
|
1648
|
+
/** Output only. Counters for the documents used in the evaluation. */
|
|
1649
|
+
documentCounters?: GoogleCloudDocumentaiV1beta3EvaluationCounters;
|
|
1650
|
+
/** Output only. Metrics across confidence levels, for different entities. */
|
|
1651
|
+
entityMetrics?: {
|
|
1652
|
+
[P in string]: GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics;
|
|
1653
|
+
};
|
|
1654
|
+
/** Output only. The revision ID of the evaluation. */
|
|
1655
|
+
revisionId?: string;
|
|
1656
|
+
}
|
|
1646
1657
|
interface GoogleCloudDocumentaiV1beta3EvaluationMetrics {
|
|
1647
|
-
/** The calculated
|
|
1658
|
+
/** The calculated F1 score. */
|
|
1648
1659
|
f1Score?: number;
|
|
1649
1660
|
/** The amount of false negatives. */
|
|
1650
1661
|
falseNegativesCount?: number;
|
|
@@ -1874,7 +1885,7 @@ declare namespace gapi.client {
|
|
|
1874
1885
|
createTime?: string;
|
|
1875
1886
|
/** Required. The user-defined name of the Schema. */
|
|
1876
1887
|
displayName?: string;
|
|
1877
|
-
/** Optional. The
|
|
1888
|
+
/** Optional. The {{gcp_name_short}} labels for the Schema. */
|
|
1878
1889
|
labels?: {[P in string]: string};
|
|
1879
1890
|
/** Identifier. The resource name of the Schema. Format: `projects/{project}/locations/{location}/schemas/{schema}` */
|
|
1880
1891
|
name?: string;
|
|
@@ -1954,13 +1965,13 @@ declare namespace gapi.client {
|
|
|
1954
1965
|
returnImages?: boolean;
|
|
1955
1966
|
}
|
|
1956
1967
|
interface GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig {
|
|
1957
|
-
/** Optional. The percentile of cosine dissimilarity that must be exceeded between a group of tokens and the next. The smaller this number is, the more chunks will be generated.
|
|
1968
|
+
/** Optional. The percentile of cosine dissimilarity that must be exceeded between a group of tokens and the next. The smaller this number is, the more chunks will be generated. **Note:** This field is not yet used. */
|
|
1958
1969
|
breakpointPercentileThreshold?: number;
|
|
1959
1970
|
/** Optional. The chunk sizes to use when splitting documents, in order of level. */
|
|
1960
1971
|
chunkSize?: number;
|
|
1961
1972
|
/** Optional. Whether or not to include ancestor headings when splitting. */
|
|
1962
1973
|
includeAncestorHeadings?: boolean;
|
|
1963
|
-
/** Optional. The number of tokens to group together when evaluating semantic similarity.
|
|
1974
|
+
/** Optional. The number of tokens to group together when evaluating semantic similarity. **Note:** This field is not yet used. */
|
|
1964
1975
|
semanticChunkingGroupSize?: boolean;
|
|
1965
1976
|
}
|
|
1966
1977
|
interface GoogleCloudDocumentaiV1beta3Processor {
|
|
@@ -2064,9 +2075,9 @@ declare namespace gapi.client {
|
|
|
2064
2075
|
customModelType?: string;
|
|
2065
2076
|
}
|
|
2066
2077
|
interface GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo {
|
|
2067
|
-
/** Whether
|
|
2078
|
+
/** Whether fine tuning is allowed for this base processor version. */
|
|
2068
2079
|
finetuningAllowed?: boolean;
|
|
2069
|
-
/** The minimum number of labeled documents in the training dataset required for
|
|
2080
|
+
/** The minimum number of labeled documents in the training dataset required for fine tuning. */
|
|
2070
2081
|
minTrainLabeledDocuments?: number;
|
|
2071
2082
|
}
|
|
2072
2083
|
interface GoogleCloudDocumentaiV1beta3ProcessRequest {
|
|
@@ -2174,7 +2185,7 @@ declare namespace gapi.client {
|
|
|
2174
2185
|
createTime?: string;
|
|
2175
2186
|
/** Required. The user-defined name of the SchemaVersion. */
|
|
2176
2187
|
displayName?: string;
|
|
2177
|
-
/** Optional. The
|
|
2188
|
+
/** Optional. The {{gcp_name_short}} labels for the SchemaVersion. */
|
|
2178
2189
|
labels?: {[P in string]: string};
|
|
2179
2190
|
/** Identifier. The resource name of the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}` */
|
|
2180
2191
|
name?: string;
|
|
@@ -4254,7 +4265,7 @@ declare namespace gapi.client {
|
|
|
4254
4265
|
oauth_token?: string;
|
|
4255
4266
|
/** Optional. The maximum number of SchemaVersion to return. If unspecified, at most `10` SchemaVersion will be returned. The maximum value is `20`. Values above `20` will be coerced to `20`. */
|
|
4256
4267
|
pageSize?: number;
|
|
4257
|
-
/** Optional.
|
|
4268
|
+
/** Optional. Returns the SchemaVersion sorted by creation time. The page token will point to the next SchemaVersion. */
|
|
4258
4269
|
pageToken?: string;
|
|
4259
4270
|
/** Required. Format: `projects/{project}/locations/{location}/schemas/{schema}` */
|
|
4260
4271
|
parent: string;
|
|
@@ -4289,7 +4300,7 @@ declare namespace gapi.client {
|
|
|
4289
4300
|
prettyPrint?: boolean;
|
|
4290
4301
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4291
4302
|
quotaUser?: string;
|
|
4292
|
-
/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - display_name
|
|
4303
|
+
/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - `display_name` - `labels` */
|
|
4293
4304
|
updateMask?: string;
|
|
4294
4305
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4295
4306
|
upload_protocol?: string;
|
|
@@ -4320,7 +4331,7 @@ declare namespace gapi.client {
|
|
|
4320
4331
|
prettyPrint?: boolean;
|
|
4321
4332
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4322
4333
|
quotaUser?: string;
|
|
4323
|
-
/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - display_name
|
|
4334
|
+
/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - `display_name` - `labels` */
|
|
4324
4335
|
updateMask?: string;
|
|
4325
4336
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4326
4337
|
upload_protocol?: string;
|
|
@@ -4463,7 +4474,7 @@ declare namespace gapi.client {
|
|
|
4463
4474
|
oauth_token?: string;
|
|
4464
4475
|
/** Optional. The maximum number of schema groups to return. If unspecified, at most `10` Schema will be returned. The maximum value is `20`. Values above `20` will be coerced to `20`. */
|
|
4465
4476
|
pageSize?: number;
|
|
4466
|
-
/** Optional.
|
|
4477
|
+
/** Optional. Returns the schema groups sorted by creation time. The page token will point to the next Schema. */
|
|
4467
4478
|
pageToken?: string;
|
|
4468
4479
|
/** Required. Format: `projects/{project}/locations/{location}` */
|
|
4469
4480
|
parent: string;
|
|
@@ -4498,7 +4509,7 @@ declare namespace gapi.client {
|
|
|
4498
4509
|
prettyPrint?: boolean;
|
|
4499
4510
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4500
4511
|
quotaUser?: string;
|
|
4501
|
-
/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - display_name
|
|
4512
|
+
/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - `display_name` - `labels` */
|
|
4502
4513
|
updateMask?: string;
|
|
4503
4514
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4504
4515
|
upload_protocol?: string;
|
|
@@ -4529,7 +4540,7 @@ declare namespace gapi.client {
|
|
|
4529
4540
|
prettyPrint?: boolean;
|
|
4530
4541
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4531
4542
|
quotaUser?: string;
|
|
4532
|
-
/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - display_name
|
|
4543
|
+
/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - `display_name` - `labels` */
|
|
4533
4544
|
updateMask?: string;
|
|
4534
4545
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4535
4546
|
upload_protocol?: string;
|
|
@@ -4595,7 +4606,7 @@ declare namespace gapi.client {
|
|
|
4595
4606
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4596
4607
|
uploadType?: string;
|
|
4597
4608
|
}): Request<GoogleCloudLocationLocation>;
|
|
4598
|
-
/** Lists information about the supported locations for this service. */
|
|
4609
|
+
/** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
|
|
4599
4610
|
list(request?: {
|
|
4600
4611
|
/** V1 error format. */
|
|
4601
4612
|
'$.xgafv'?: string;
|