Skip to content

Commit fadb34b

Browse files
feat(documentai): update the api
#### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.properties.groundingConfig.type (Total Keys: 1) #### documentai:v1beta3 The following keys were added: - schemas.GoogleCloudDocumentaiV1beta3Document.properties.blobAssets (Total Keys: 2) - schemas.GoogleCloudDocumentaiV1beta3DocumentAnnotations (Total Keys: 2) - schemas.GoogleCloudDocumentaiV1beta3DocumentBlobAsset (Total Keys: 6) - schemas.GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk.properties.chunkFields (Total Keys: 2) - schemas.GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField (Total Keys: 4) - schemas.GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField (Total Keys: 6) - schemas.GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField (Total Keys: 3) - schemas.GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock.properties.imageBlock.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock (Total Keys: 8) - schemas.GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty.properties.groundingConfig.type (Total Keys: 1)
1 parent 67effcf commit fadb34b

9 files changed

+490
-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
@@ -208,6 +208,7 @@ <h3>Method Details</h3>
208208
&quot;properties&quot;: [ # Description the nested structure, or composition of an entity.
209209
{ # Defines properties that can be part of the entity type.
210210
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
211+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
211212
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
212213
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
213214
&quot;valueType&quot;: &quot;A String&quot;, # A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.
@@ -1546,6 +1547,7 @@ <h3>Method Details</h3>
15461547
&quot;properties&quot;: [ # Description the nested structure, or composition of an entity.
15471548
{ # Defines properties that can be part of the entity type.
15481549
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
1550+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
15491551
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
15501552
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
15511553
&quot;valueType&quot;: &quot;A String&quot;, # A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ <h3>Method Details</h3>
114114
&quot;properties&quot;: [ # Description the nested structure, or composition of an entity.
115115
{ # Defines properties that can be part of the entity type.
116116
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
117+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
117118
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
118119
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
119120
&quot;valueType&quot;: &quot;A String&quot;, # A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ <h3>Method Details</h3>
203203
&quot;properties&quot;: [ # Description the nested structure, or composition of an entity.
204204
{ # Defines properties that can be part of the entity type.
205205
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
206+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
206207
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
207208
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
208209
&quot;valueType&quot;: &quot;A String&quot;, # A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.
@@ -424,6 +425,7 @@ <h3>Method Details</h3>
424425
&quot;properties&quot;: [ # Description the nested structure, or composition of an entity.
425426
{ # Defines properties that can be part of the entity type.
426427
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
428+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
427429
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
428430
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
429431
&quot;valueType&quot;: &quot;A String&quot;, # A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.
@@ -533,6 +535,7 @@ <h3>Method Details</h3>
533535
&quot;properties&quot;: [ # Description the nested structure, or composition of an entity.
534536
{ # Defines properties that can be part of the entity type.
535537
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
538+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
536539
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
537540
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
538541
&quot;valueType&quot;: &quot;A String&quot;, # A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.
@@ -1638,6 +1641,7 @@ <h3>Method Details</h3>
16381641
&quot;properties&quot;: [ # Description the nested structure, or composition of an entity.
16391642
{ # Defines properties that can be part of the entity type.
16401643
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
1644+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
16411645
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
16421646
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
16431647
&quot;valueType&quot;: &quot;A String&quot;, # A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.
@@ -2661,6 +2665,7 @@ <h3>Method Details</h3>
26612665
&quot;properties&quot;: [ # Description the nested structure, or composition of an entity.
26622666
{ # Defines properties that can be part of the entity type.
26632667
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
2668+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
26642669
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
26652670
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
26662671
&quot;valueType&quot;: &quot;A String&quot;, # A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.
@@ -2732,6 +2737,7 @@ <h3>Method Details</h3>
27322737
&quot;properties&quot;: [ # Description the nested structure, or composition of an entity.
27332738
{ # Defines properties that can be part of the entity type.
27342739
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
2740+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
27352741
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
27362742
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
27372743
&quot;valueType&quot;: &quot;A String&quot;, # A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ <h3>Method Details</h3>
205205
{ # Defines properties that can be part of the entity type.
206206
&quot;description&quot;: &quot;A String&quot;, # The description of the property. Could be used to provide more information about the property for model calls.
207207
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
208+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
208209
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
209210
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
210211
&quot;propertyMetadata&quot;: { # Metadata about a property. # Any additional metadata about the property can be added here.
@@ -264,9 +265,33 @@ <h3>Method Details</h3>
264265

265266
{
266267
&quot;document&quot;: { # Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.
268+
&quot;blobAssets&quot;: [ # Optional. The blob assets in this document. This is used to store the content of the inline blobs in this document, e.g. image bytes, such that it can be referenced by other fields in the document via asset id.
269+
{ # Represents a blob asset. It&#x27;s used to store the content of the inline blob in this document, e.g. image bytes, such that it can be referenced by other fields in the document via asset id.
270+
&quot;assetId&quot;: &quot;A String&quot;, # Optional. The id of the blob asset.
271+
&quot;content&quot;: &quot;A String&quot;, # Optional. The content of the blob asset, e.g. image bytes.
272+
&quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the blob asset. An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).
273+
},
274+
],
267275
&quot;chunkedDocument&quot;: { # Represents the chunks that the document is divided into. # Document chunked based on chunking config.
268276
&quot;chunks&quot;: [ # List of chunks.
269277
{ # Represents a chunk.
278+
&quot;chunkFields&quot;: [ # Chunk fields inside this chunk.
279+
{ # The chunk field in the chunk. A chunk field could be one of the various types (e.g. image, table) supported.
280+
&quot;imageChunkField&quot;: { # The image chunk field in the chunk. # The image chunk field in the chunk.
281+
&quot;annotations&quot;: { # Represents the annotation of a block or a chunk. # Annotation of the image chunk field.
282+
&quot;description&quot;: &quot;A String&quot;, # The description of the content with this annotation.
283+
},
284+
&quot;blobAssetId&quot;: &quot;A String&quot;, # Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.
285+
&quot;dataUri&quot;: &quot;A String&quot;, # 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:,
286+
&quot;gcsUri&quot;: &quot;A String&quot;, # Optional. Google Cloud Storage uri of the image.
287+
},
288+
&quot;tableChunkField&quot;: { # The table chunk field in the chunk. # The table chunk field in the chunk.
289+
&quot;annotations&quot;: { # Represents the annotation of a block or a chunk. # Annotation of the table chunk field.
290+
&quot;description&quot;: &quot;A String&quot;, # The description of the content with this annotation.
291+
},
292+
},
293+
},
294+
],
270295
&quot;chunkId&quot;: &quot;A String&quot;, # ID of the chunk.
271296
&quot;content&quot;: &quot;A String&quot;, # Text content of the chunk.
272297
&quot;pageFooters&quot;: [ # Page footers associated with the chunk.
@@ -317,6 +342,16 @@ <h3>Method Details</h3>
317342
},
318343
],
319344
},
345+
&quot;imageBlock&quot;: { # Represents an image type block. # Block consisting of image content.
346+
&quot;annotations&quot;: { # Represents the annotation of a block or a chunk. # Annotation of the image block.
347+
&quot;description&quot;: &quot;A String&quot;, # The description of the content with this annotation.
348+
},
349+
&quot;blobAssetId&quot;: &quot;A String&quot;, # Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.
350+
&quot;dataUri&quot;: &quot;A String&quot;, # 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:,
351+
&quot;gcsUri&quot;: &quot;A String&quot;, # Optional. Google Cloud Storage uri of the image.
352+
&quot;imageText&quot;: &quot;A String&quot;, # Text extracted from the image using OCR or alt text describing the image.
353+
&quot;mimeType&quot;: &quot;A String&quot;, # Mime type of the image. An IANA published [media type (MIME type)] (https://www.iana.org/assignments/media-types/media-types.xhtml).
354+
},
320355
&quot;listBlock&quot;: { # Represents a list type block. # Block consisting of list content/structure.
321356
&quot;listEntries&quot;: [ # List entries that constitute a list block.
322357
{ # Represents an entry in the list.
@@ -1379,6 +1414,7 @@ <h3>Method Details</h3>
13791414
{ # Defines properties that can be part of the entity type.
13801415
&quot;description&quot;: &quot;A String&quot;, # The description of the property. Could be used to provide more information about the property for model calls.
13811416
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
1417+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
13821418
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
13831419
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
13841420
&quot;propertyMetadata&quot;: { # Metadata about a property. # Any additional metadata about the property can be added here.
@@ -1440,6 +1476,7 @@ <h3>Method Details</h3>
14401476
{ # Defines properties that can be part of the entity type.
14411477
&quot;description&quot;: &quot;A String&quot;, # The description of the property. Could be used to provide more information about the property for model calls.
14421478
&quot;displayName&quot;: &quot;A String&quot;, # User defined name for the property.
1479+
&quot;groundingConfig&quot;: &quot;A String&quot;, # Grounding config of the entity type.
14431480
&quot;name&quot;: &quot;A String&quot;, # The name of the property. Follows the same guidelines as the EntityType name.
14441481
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of instances an entity type appears in the document.
14451482
&quot;propertyMetadata&quot;: { # Metadata about a property. # Any additional metadata about the property can be added here.

0 commit comments

Comments
 (0)