google-apis-documentai_v1 0.94.0 → 0.96.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: 10acb13527b26dc70b14cd560c65289a760334579a1258d54f9184ba67b0b992
4
- data.tar.gz: 42c5ebbcb8055af46e5e0f3cf59ebc24e5297ce6dc9c018060c6c036516bf7dd
3
+ metadata.gz: dd4dc6e91253f631bac71d66163f8f115727e0972404f8cfc666513eb915e9d7
4
+ data.tar.gz: ab1d7abb89f38b01741b16ac4f4f213ec00ac18891d715e0cad3e7b049fa9f59
5
5
  SHA512:
6
- metadata.gz: 424d2301852829a3535b1383db9789744d02b09990a73057a952c418d571bfce616e7687d2324d3dbbb2f8b19cc6866e43b69acf37c5b965c1f398850c7ed732
7
- data.tar.gz: 66a8ef8763389c8428caaf5b011589c5c9a884d18c742788a592d2eaa6445caaa6664a3807f62395a3cdd424827cfa7d25b44f3f1b229238793a93cd862fcd47
6
+ metadata.gz: 82d69ec7eb141e4e93df3fb426aa24998f8e67e17e104c29e53ce49e0e697be8a212a08e96cdda561b92cbfe3eedffec2f73b877d7fb6d3a8c2f2b70413731f7
7
+ data.tar.gz: 67b1f143d3ecf3d2b36074692a6f8134351054ecc016a107dfedf482575a2df77d9ef24ee632e1f48dd938ef484a8c1538c3b206f1651ac15676a50845a251b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.96.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250421
6
+
7
+ ### v0.95.0 (2025-04-20)
8
+
9
+ * Regenerated from discovery document revision 20250416
10
+
3
11
  ### v0.94.0 (2025-03-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20250321
@@ -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)
@@ -3932,6 +3944,11 @@ module Google
3932
3944
  # @return [String]
3933
3945
  attr_accessor :display_name
3934
3946
 
3947
+ # Grounding config of the entity type.
3948
+ # Corresponds to the JSON property `groundingConfig`
3949
+ # @return [String]
3950
+ attr_accessor :grounding_config
3951
+
3935
3952
  # The name of the property. Follows the same guidelines as the EntityType name.
3936
3953
  # Corresponds to the JSON property `name`
3937
3954
  # @return [String]
@@ -3956,6 +3973,7 @@ module Google
3956
3973
  # Update properties of this object
3957
3974
  def update!(**args)
3958
3975
  @display_name = args[:display_name] if args.key?(:display_name)
3976
+ @grounding_config = args[:grounding_config] if args.key?(:grounding_config)
3959
3977
  @name = args[:name] if args.key?(:name)
3960
3978
  @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
3961
3979
  @value_type = args[:value_type] if args.key?(:value_type)
@@ -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.94.0"
19
+ GEM_VERSION = "0.96.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 = "20250321"
25
+ REVISION = "20250421"
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
@@ -2756,6 +2759,7 @@ module Google
2756
2759
  # @private
2757
2760
  class Representation < Google::Apis::Core::JsonRepresentation
2758
2761
  property :display_name, as: 'displayName'
2762
+ property :grounding_config, as: 'groundingConfig'
2759
2763
  property :name, as: 'name'
2760
2764
  property :occurrence_type, as: 'occurrenceType'
2761
2765
  property :value_type, as: 'valueType'
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.94.0
4
+ version: 0.96.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 2025-04-27 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.94.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.96.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: