google-apis-documentai_v1 0.94.0 → 0.95.0
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f55367931583615323dda81a527a2819d78ead2a6a358951c2370d6992fad8a3
|
4
|
+
data.tar.gz: 1e5e82f933832e6b594b4f1f31677f1ca6392e046de655f119173b2f91a41507
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a583eb34555b10f6d8fb97451df4b667c5ef36e5d263fb9bf6a8fc019683988855013575410223d89d29d33ace648ac34fd186c82a4a30f2d0cd234d517ac5ac
|
7
|
+
data.tar.gz: 34e01a7529ad2ba5d01253203a9da337fb2b0a74825a674479c6dcfea61ec6b551c8300051c20020b02e28fd022ec6b9d35da0f4ac4a947fdc48ab3a91526000
|
data/CHANGELOG.md
CHANGED
@@ -1839,6 +1839,11 @@ module Google
|
|
1839
1839
|
# @return [String]
|
1840
1840
|
attr_accessor :content
|
1841
1841
|
|
1842
|
+
# Optional. An internal identifier for document. Should be loggable (no PII).
|
1843
|
+
# Corresponds to the JSON property `docid`
|
1844
|
+
# @return [String]
|
1845
|
+
attr_accessor :docid
|
1846
|
+
|
1842
1847
|
# Represents the parsed layout of a document as a collection of blocks that the
|
1843
1848
|
# document is divided into.
|
1844
1849
|
# Corresponds to the JSON property `documentLayout`
|
@@ -1921,6 +1926,7 @@ module Google
|
|
1921
1926
|
def update!(**args)
|
1922
1927
|
@chunked_document = args[:chunked_document] if args.key?(:chunked_document)
|
1923
1928
|
@content = args[:content] if args.key?(:content)
|
1929
|
+
@docid = args[:docid] if args.key?(:docid)
|
1924
1930
|
@document_layout = args[:document_layout] if args.key?(:document_layout)
|
1925
1931
|
@entities = args[:entities] if args.key?(:entities)
|
1926
1932
|
@entity_relations = args[:entity_relations] if args.key?(:entity_relations)
|
@@ -2109,6 +2115,11 @@ module Google
|
|
2109
2115
|
# @return [String]
|
2110
2116
|
attr_accessor :block_id
|
2111
2117
|
|
2118
|
+
# A bounding polygon for the detected image annotation.
|
2119
|
+
# Corresponds to the JSON property `boundingBox`
|
2120
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BoundingPoly]
|
2121
|
+
attr_accessor :bounding_box
|
2122
|
+
|
2112
2123
|
# Represents a list type block.
|
2113
2124
|
# Corresponds to the JSON property `listBlock`
|
2114
2125
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock]
|
@@ -2136,6 +2147,7 @@ module Google
|
|
2136
2147
|
# Update properties of this object
|
2137
2148
|
def update!(**args)
|
2138
2149
|
@block_id = args[:block_id] if args.key?(:block_id)
|
2150
|
+
@bounding_box = args[:bounding_box] if args.key?(:bounding_box)
|
2139
2151
|
@list_block = args[:list_block] if args.key?(:list_block)
|
2140
2152
|
@page_span = args[:page_span] if args.key?(:page_span)
|
2141
2153
|
@table_block = args[:table_block] if args.key?(:table_block)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1
|
18
18
|
# Version of the google-apis-documentai_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.95.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250416"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2150,6 +2150,7 @@ module Google
|
|
2150
2150
|
property :chunked_document, as: 'chunkedDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentChunkedDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentChunkedDocument::Representation
|
2151
2151
|
|
2152
2152
|
property :content, :base64 => true, as: 'content'
|
2153
|
+
property :docid, as: 'docid'
|
2153
2154
|
property :document_layout, as: 'documentLayout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayout::Representation
|
2154
2155
|
|
2155
2156
|
collection :entities, as: 'entities', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity::Representation
|
@@ -2235,6 +2236,8 @@ module Google
|
|
2235
2236
|
# @private
|
2236
2237
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2237
2238
|
property :block_id, as: 'blockId'
|
2239
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BoundingPoly, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BoundingPoly::Representation
|
2240
|
+
|
2238
2241
|
property :list_block, as: 'listBlock', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock::Representation
|
2239
2242
|
|
2240
2243
|
property :page_span, as: 'pageSpan', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan::Representation
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.95.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.95.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|