Skip to content

Commit 8ee4c4f

Browse files
feat(documentai): update the api
#### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiV1DocumentEntityNormalizedValue.properties.signatureValue.type (Total Keys: 1) #### documentai:v1beta3 The following keys were added: - schemas.GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock.properties.annotations.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue.properties.signatureValue.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig.properties.enableImageAnnotation.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig.properties.enableImageExtraction.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig.properties.enableTableAnnotation.type (Total Keys: 1)
1 parent a2b6dcc commit 8ee4c4f

9 files changed

+77
-2
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,7 @@ <h3>Method Details</h3>
697697
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
698698
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
699699
},
700+
&quot;signatureValue&quot;: True or False,
700701
&quot;text&quot;: &quot;A String&quot;, # 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.
701702
},
702703
&quot;pageAnchor&quot;: { # Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types. # Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
@@ -1738,6 +1739,7 @@ <h3>Method Details</h3>
17381739
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
17391740
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
17401741
},
1742+
&quot;signatureValue&quot;: True or False,
17411743
&quot;text&quot;: &quot;A String&quot;, # 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.
17421744
},
17431745
&quot;pageAnchor&quot;: { # Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types. # Optional. Represents the provenance of this entity wrt. the location on the page where it was found.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ <h3>Method Details</h3>
288288
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
289289
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
290290
},
291+
&quot;signatureValue&quot;: True or False,
291292
&quot;text&quot;: &quot;A String&quot;, # 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.
292293
},
293294
&quot;pageAnchor&quot;: { # Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types. # Optional. Represents the provenance of this entity wrt. the location on the page where it was found.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,7 @@ <h3>Method Details</h3>
791791
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
792792
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
793793
},
794+
&quot;signatureValue&quot;: True or False,
794795
&quot;text&quot;: &quot;A String&quot;, # 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.
795796
},
796797
&quot;pageAnchor&quot;: { # Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types. # Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
@@ -1832,6 +1833,7 @@ <h3>Method Details</h3>
18321833
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
18331834
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
18341835
},
1836+
&quot;signatureValue&quot;: True or False,
18351837
&quot;text&quot;: &quot;A String&quot;, # 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.
18361838
},
18371839
&quot;pageAnchor&quot;: { # Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types. # Optional. Represents the provenance of this entity wrt. the location on the page where it was found.

docs/dyn/documentai_v1beta3.projects.locations.processors.dataset.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,9 @@ <h3>Method Details</h3>
367367
&quot;pageStart&quot;: 42, # Page where block starts in the document.
368368
},
369369
&quot;tableBlock&quot;: { # Represents a table type block. # Block consisting of table content/structure.
370+
&quot;annotations&quot;: { # Represents the annotation of a block or a chunk. # Annotation of the table block.
371+
&quot;description&quot;: &quot;A String&quot;, # The description of the content with this annotation.
372+
},
370373
&quot;bodyRows&quot;: [ # Body rows containing main table content.
371374
{ # Represents a row in a table.
372375
&quot;cells&quot;: [ # A table row is a list of table cells.
@@ -456,6 +459,7 @@ <h3>Method Details</h3>
456459
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
457460
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
458461
},
462+
&quot;signatureValue&quot;: True or False,
459463
&quot;text&quot;: &quot;A String&quot;, # 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.
460464
},
461465
&quot;pageAnchor&quot;: { # Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types. # Optional. Represents the provenance of this entity wrt. the location on the page where it was found.

docs/dyn/documentai_v1beta3.projects.locations.processors.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,10 @@ <h3>Method Details</h3>
186186
&quot;includeAncestorHeadings&quot;: True or False, # Optional. Whether or not to include ancestor headings when splitting.
187187
&quot;semanticChunkingGroupSize&quot;: True or False, # Optional. The number of tokens to group together when evaluating semantic similarity. THIS FIELD IS NOT YET USED.
188188
},
189+
&quot;enableImageAnnotation&quot;: True or False, # Optional. Whether to include image annotations in layout parser response.
190+
&quot;enableImageExtraction&quot;: True or False, # Optional. Whether to extract images in layout parser response.
189191
&quot;enableLlmLayoutParsing&quot;: True or False, # Optional. Whether to refine PDF layout using LLM.
192+
&quot;enableTableAnnotation&quot;: True or False, # Optional. Whether to include table annotations in layout parser response.
190193
&quot;returnBoundingBoxes&quot;: True or False, # Optional. Whether to include bounding boxes in layout parser processor response.
191194
&quot;returnImages&quot;: True or False, # Optional. Whether to include images in layout parser processor response.
192195
},
@@ -670,6 +673,9 @@ <h3>Method Details</h3>
670673
&quot;pageStart&quot;: 42, # Page where block starts in the document.
671674
},
672675
&quot;tableBlock&quot;: { # Represents a table type block. # Block consisting of table content/structure.
676+
&quot;annotations&quot;: { # Represents the annotation of a block or a chunk. # Annotation of the table block.
677+
&quot;description&quot;: &quot;A String&quot;, # The description of the content with this annotation.
678+
},
673679
&quot;bodyRows&quot;: [ # Body rows containing main table content.
674680
{ # Represents a row in a table.
675681
&quot;cells&quot;: [ # A table row is a list of table cells.
@@ -759,6 +765,7 @@ <h3>Method Details</h3>
759765
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
760766
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
761767
},
768+
&quot;signatureValue&quot;: True or False,
762769
&quot;text&quot;: &quot;A String&quot;, # 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.
763770
},
764771
&quot;pageAnchor&quot;: { # Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types. # Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
@@ -1661,6 +1668,9 @@ <h3>Method Details</h3>
16611668
&quot;pageStart&quot;: 42, # Page where block starts in the document.
16621669
},
16631670
&quot;tableBlock&quot;: { # Represents a table type block. # Block consisting of table content/structure.
1671+
&quot;annotations&quot;: { # Represents the annotation of a block or a chunk. # Annotation of the table block.
1672+
&quot;description&quot;: &quot;A String&quot;, # The description of the content with this annotation.
1673+
},
16641674
&quot;bodyRows&quot;: [ # Body rows containing main table content.
16651675
{ # Represents a row in a table.
16661676
&quot;cells&quot;: [ # A table row is a list of table cells.
@@ -1750,6 +1760,7 @@ <h3>Method Details</h3>
17501760
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
17511761
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
17521762
},
1763+
&quot;signatureValue&quot;: True or False,
17531764
&quot;text&quot;: &quot;A String&quot;, # 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.
17541765
},
17551766
&quot;pageAnchor&quot;: { # Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types. # Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
@@ -2561,7 +2572,10 @@ <h3>Method Details</h3>
25612572
&quot;includeAncestorHeadings&quot;: True or False, # Optional. Whether or not to include ancestor headings when splitting.
25622573
&quot;semanticChunkingGroupSize&quot;: True or False, # Optional. The number of tokens to group together when evaluating semantic similarity. THIS FIELD IS NOT YET USED.
25632574
},
2575+
&quot;enableImageAnnotation&quot;: True or False, # Optional. Whether to include image annotations in layout parser response.
2576+
&quot;enableImageExtraction&quot;: True or False, # Optional. Whether to extract images in layout parser response.
25642577
&quot;enableLlmLayoutParsing&quot;: True or False, # Optional. Whether to refine PDF layout using LLM.
2578+
&quot;enableTableAnnotation&quot;: True or False, # Optional. Whether to include table annotations in layout parser response.
25652579
&quot;returnBoundingBoxes&quot;: True or False, # Optional. Whether to include bounding boxes in layout parser processor response.
25662580
&quot;returnImages&quot;: True or False, # Optional. Whether to include images in layout parser processor response.
25672581
},
@@ -2753,6 +2767,9 @@ <h3>Method Details</h3>
27532767
&quot;pageStart&quot;: 42, # Page where block starts in the document.
27542768
},
27552769
&quot;tableBlock&quot;: { # Represents a table type block. # Block consisting of table content/structure.
2770+
&quot;annotations&quot;: { # Represents the annotation of a block or a chunk. # Annotation of the table block.
2771+
&quot;description&quot;: &quot;A String&quot;, # The description of the content with this annotation.
2772+
},
27562773
&quot;bodyRows&quot;: [ # Body rows containing main table content.
27572774
{ # Represents a row in a table.
27582775
&quot;cells&quot;: [ # A table row is a list of table cells.
@@ -2842,6 +2859,7 @@ <h3>Method Details</h3>
28422859
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
28432860
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
28442861
},
2862+
&quot;signatureValue&quot;: True or False,
28452863
&quot;text&quot;: &quot;A String&quot;, # 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.
28462864
},
28472865
&quot;pageAnchor&quot;: { # Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types. # Optional. Represents the provenance of this entity wrt. the location on the page where it was found.

0 commit comments

Comments
 (0)