Skip to content

Commit 3ba3182

Browse files
feat(documentai): update the api
#### documentai:v1 The following keys were deleted: - schemas.GoogleCloudDocumentaiV1EvaluationMetrics (Total Keys: 20) - schemas.GoogleCloudDocumentaiV1EvaluationReference (Total Keys: 5) - schemas.GoogleCloudDocumentaiV1ProcessorVersion.properties.latestEvaluation.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1ProcessorVersion.properties.schema.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1Schema (Total Keys: 13) The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.properties.destDatasetType.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.properties.individualBatchMoveStatuses (Total Keys: 2) - schemas.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus (Total Keys: 4) - schemas.GoogleCloudDocumentaiUiv1beta3DocumentId (Total Keys: 7) - schemas.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata.properties.individualImportStatuses (Total Keys: 2) - schemas.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus (Total Keys: 5) #### documentai:v1beta2 The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.properties.destDatasetType.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.properties.individualBatchMoveStatuses (Total Keys: 2) - schemas.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus (Total Keys: 4) - schemas.GoogleCloudDocumentaiUiv1beta3DocumentId (Total Keys: 7) - schemas.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata.properties.individualImportStatuses (Total Keys: 2) - schemas.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus (Total Keys: 5) #### documentai:v1beta3 The following keys were deleted: - schemas.GoogleCloudDocumentaiV1beta3EvaluationMetrics (Total Keys: 20) - schemas.GoogleCloudDocumentaiV1beta3EvaluationReference (Total Keys: 5) - schemas.GoogleCloudDocumentaiV1beta3ProcessorVersion.properties.latestEvaluation.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3ProcessorVersion.properties.schema.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3Schema (Total Keys: 13) The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.properties.destDatasetType.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.properties.individualBatchMoveStatuses (Total Keys: 2) - schemas.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus (Total Keys: 4) - schemas.GoogleCloudDocumentaiUiv1beta3DocumentId (Total Keys: 7) - schemas.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata.properties.individualImportStatuses (Total Keys: 2) - schemas.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus (Total Keys: 5)
1 parent 6850f16 commit 3ba3182

File tree

5 files changed

+369
-471
lines changed

5 files changed

+369
-471
lines changed

docs/dyn/documentai_v1.projects.locations.processors.processorVersions.html

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -260,41 +260,7 @@ <h3>Method Details</h3>
260260
{ # A processor version is an implementation of a processor. Each processor can have multiple versions, pre-trained by Google internally or up-trained by the customer. At a time, a processor can only have one default version version. So the processor&#x27;s behavior (when processing documents) is defined by a default version.
261261
&quot;createTime&quot;: &quot;A String&quot;, # The time the processor version was created.
262262
&quot;displayName&quot;: &quot;A String&quot;, # The display name of the processor version.
263-
&quot;latestEvaluation&quot;: { # Gives a short summary of an evaluation, and links to the evaluation itself. # The most recently invoked evaluation for the processor version.
264-
&quot;aggregateMetrics&quot;: { # Evaluation metrics, either in aggregate or about a specific entity. # An aggregate of the statistics for the evaluation.
265-
&quot;f1Score&quot;: 3.14, # The calculated f1 score.
266-
&quot;falseNegativesCount&quot;: 42, # The amount of false negatives.
267-
&quot;falsePositivesCount&quot;: 42, # The amount of false positives.
268-
&quot;groundTruthOccurrencesCount&quot;: 42, # The amount of occurrences in ground truth documents.
269-
&quot;precision&quot;: 3.14, # The calculated precision.
270-
&quot;predictedOccurrencesCount&quot;: 42, # The amount of occurrences in predicted documents.
271-
&quot;recall&quot;: 3.14, # The calculated recall.
272-
&quot;totalDocumentsCount&quot;: 42, # The amount of documents that had an occurrence of this label.
273-
&quot;truePositivesCount&quot;: 42, # The amount of true positives.
274-
},
275-
&quot;evaluation&quot;: &quot;A String&quot;, # The resource name of the evaluation.
276-
&quot;operation&quot;: &quot;A String&quot;, # The resource name of the Long Running Operation for the evaluation.
277-
},
278263
&quot;name&quot;: &quot;A String&quot;, # The resource name of the processor version. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
279-
&quot;schema&quot;: { # The schema defines the output of the processed document by a processor. # The schema of the processor version. Describes the output.
280-
&quot;description&quot;: &quot;A String&quot;, # Description of the schema.
281-
&quot;displayName&quot;: &quot;A String&quot;, # Display name to show to users.
282-
&quot;entityTypes&quot;: [ # Entity types of the schema.
283-
{ # EntityType is the wrapper of a label of the corresponding model with detailed attributes and limitations for entity-based processors. Multiple types can also compose a dependency tree to represent nested types.
284-
&quot;baseType&quot;: &quot;A String&quot;, # Type of the entity. It must be one of the following: `document` - the entity represents a classification of a logical document. `object` - if the entity has properties it is likely an object (or or a document.) `datetime` - the entity is a date or time value. `money` - the entity represents a money value amount. `number` - the entity is a number - integer or floating point. `string` - the entity is a string value. `boolean` - the entity is a boolean value. `address` - the entity is a location address. `duration` - the entity is a duration.
285-
&quot;description&quot;: &quot;A String&quot;, # Description of the entity type.
286-
&quot;enumValues&quot;: [ # If specified, lists all the possible values for this entity.
287-
&quot;A String&quot;,
288-
],
289-
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of times an entity type appears in the document.
290-
&quot;properties&quot;: [ # Describing the nested structure of an entity. An EntityType may consist of several other EntityTypes. For example, in a document there can be an EntityType &#x27;ID&#x27;, which consists of EntityType &#x27;name&#x27; and &#x27;address&#x27;, with corresponding attributes, such as TEXT for both types and ONCE for occurrence types.
291-
# Object with schema name: GoogleCloudDocumentaiV1SchemaEntityType
292-
],
293-
&quot;source&quot;: &quot;A String&quot;, # Source of this entity type.
294-
&quot;type&quot;: &quot;A String&quot;, # Name of the type. It must satisfy the following constraints: 1. Must be unique within the set of same level types (with case-insensitive match). 2. Maximum 50 characters. 3. Must start with a letter. 4. Allowed characters: ASCII letters [a-zA-Z], ASCII digits [0-9], or one of the following punctuation characters: * underscore &#x27;_&#x27; (recommended) * hyphen &#x27;-&#x27; (allowed, not recommended) * colon &#x27;:&#x27; (allowed, not recommended) NOTE: Whitespace characters are not allowed. 5. Cannot end with a punctuation character. 6. Cannot contain the following restricted strings: &quot;google&quot;, &quot;DocumentAI&quot; (case-insensitive match). 7. A slash character &#x27;/&#x27; is reserved as a separator in flattened representations of nested entity types (e.g., &quot;line_item/amount&quot;) in which case each part (e.g., &quot;line_item&quot;, &quot;amount&quot;) must comply with the rules defined above. We recommend using the snake case (&quot;snake_case&quot;) in entity type names.
295-
},
296-
],
297-
},
298264
&quot;state&quot;: &quot;A String&quot;, # The state of the processor version.
299265
}</pre>
300266
</div>
@@ -321,41 +287,7 @@ <h3>Method Details</h3>
321287
{ # A processor version is an implementation of a processor. Each processor can have multiple versions, pre-trained by Google internally or up-trained by the customer. At a time, a processor can only have one default version version. So the processor&#x27;s behavior (when processing documents) is defined by a default version.
322288
&quot;createTime&quot;: &quot;A String&quot;, # The time the processor version was created.
323289
&quot;displayName&quot;: &quot;A String&quot;, # The display name of the processor version.
324-
&quot;latestEvaluation&quot;: { # Gives a short summary of an evaluation, and links to the evaluation itself. # The most recently invoked evaluation for the processor version.
325-
&quot;aggregateMetrics&quot;: { # Evaluation metrics, either in aggregate or about a specific entity. # An aggregate of the statistics for the evaluation.
326-
&quot;f1Score&quot;: 3.14, # The calculated f1 score.
327-
&quot;falseNegativesCount&quot;: 42, # The amount of false negatives.
328-
&quot;falsePositivesCount&quot;: 42, # The amount of false positives.
329-
&quot;groundTruthOccurrencesCount&quot;: 42, # The amount of occurrences in ground truth documents.
330-
&quot;precision&quot;: 3.14, # The calculated precision.
331-
&quot;predictedOccurrencesCount&quot;: 42, # The amount of occurrences in predicted documents.
332-
&quot;recall&quot;: 3.14, # The calculated recall.
333-
&quot;totalDocumentsCount&quot;: 42, # The amount of documents that had an occurrence of this label.
334-
&quot;truePositivesCount&quot;: 42, # The amount of true positives.
335-
},
336-
&quot;evaluation&quot;: &quot;A String&quot;, # The resource name of the evaluation.
337-
&quot;operation&quot;: &quot;A String&quot;, # The resource name of the Long Running Operation for the evaluation.
338-
},
339290
&quot;name&quot;: &quot;A String&quot;, # The resource name of the processor version. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
340-
&quot;schema&quot;: { # The schema defines the output of the processed document by a processor. # The schema of the processor version. Describes the output.
341-
&quot;description&quot;: &quot;A String&quot;, # Description of the schema.
342-
&quot;displayName&quot;: &quot;A String&quot;, # Display name to show to users.
343-
&quot;entityTypes&quot;: [ # Entity types of the schema.
344-
{ # EntityType is the wrapper of a label of the corresponding model with detailed attributes and limitations for entity-based processors. Multiple types can also compose a dependency tree to represent nested types.
345-
&quot;baseType&quot;: &quot;A String&quot;, # Type of the entity. It must be one of the following: `document` - the entity represents a classification of a logical document. `object` - if the entity has properties it is likely an object (or or a document.) `datetime` - the entity is a date or time value. `money` - the entity represents a money value amount. `number` - the entity is a number - integer or floating point. `string` - the entity is a string value. `boolean` - the entity is a boolean value. `address` - the entity is a location address. `duration` - the entity is a duration.
346-
&quot;description&quot;: &quot;A String&quot;, # Description of the entity type.
347-
&quot;enumValues&quot;: [ # If specified, lists all the possible values for this entity.
348-
&quot;A String&quot;,
349-
],
350-
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of times an entity type appears in the document.
351-
&quot;properties&quot;: [ # Describing the nested structure of an entity. An EntityType may consist of several other EntityTypes. For example, in a document there can be an EntityType &#x27;ID&#x27;, which consists of EntityType &#x27;name&#x27; and &#x27;address&#x27;, with corresponding attributes, such as TEXT for both types and ONCE for occurrence types.
352-
# Object with schema name: GoogleCloudDocumentaiV1SchemaEntityType
353-
],
354-
&quot;source&quot;: &quot;A String&quot;, # Source of this entity type.
355-
&quot;type&quot;: &quot;A String&quot;, # Name of the type. It must satisfy the following constraints: 1. Must be unique within the set of same level types (with case-insensitive match). 2. Maximum 50 characters. 3. Must start with a letter. 4. Allowed characters: ASCII letters [a-zA-Z], ASCII digits [0-9], or one of the following punctuation characters: * underscore &#x27;_&#x27; (recommended) * hyphen &#x27;-&#x27; (allowed, not recommended) * colon &#x27;:&#x27; (allowed, not recommended) NOTE: Whitespace characters are not allowed. 5. Cannot end with a punctuation character. 6. Cannot contain the following restricted strings: &quot;google&quot;, &quot;DocumentAI&quot; (case-insensitive match). 7. A slash character &#x27;/&#x27; is reserved as a separator in flattened representations of nested entity types (e.g., &quot;line_item/amount&quot;) in which case each part (e.g., &quot;line_item&quot;, &quot;amount&quot;) must comply with the rules defined above. We recommend using the snake case (&quot;snake_case&quot;) in entity type names.
356-
},
357-
],
358-
},
359291
&quot;state&quot;: &quot;A String&quot;, # The state of the processor version.
360292
},
361293
],

0 commit comments

Comments
 (0)