google-apis-documentai_v1beta3 0.105.0 → 0.107.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: 383795c443c31ec1bb304dcd4ec8175868d7864f87ce7ae75750e28e5b108262
4
- data.tar.gz: 71a9a31a2757751ce4707719590d8f2c84dbeb09fdbccf5c91a20fe77705878e
3
+ metadata.gz: c732844e135ca54ee2ed9578e492b6bcea475bd3251c29b57ea3a71769171dee
4
+ data.tar.gz: 207790d3904b00b76dde6822fbfcef8a8a12882cabc74de16d292625dd297f96
5
5
  SHA512:
6
- metadata.gz: 05f8f6959853c96015654a3dbb3856bc32ed6b4cdc7778d26c5609bff999f89d1c2b85ef729efd195c86310268595201479c09e633248c5ad080e182db1e5e6f
7
- data.tar.gz: 999cc79610055308a1c29a7c81581509de8a307f8acedde6d4735cc63d410119036ab49ca063c4a079d96892e5c5d84afd51ae04c14029ceb53eef8481f1cc53
6
+ metadata.gz: 895b97bf912d38bbaa2df0b64e3e7923f66de00de644b286760814d5486f56812d08850eb10be60d60840262850c0ecbbde2083f211f2fabdf8fa25d6d37d12a
7
+ data.tar.gz: ae5cebbe30af913edc40f3e878d204b7b48589a2e900c416cc359b51ea4fdffdd162b1bdf71d94772f39a580fcb5968b7909ab63b24807fe8bf98a622858f177
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.107.0 (2025-05-25)
4
+
5
+ * Regenerated from discovery document revision 20250521
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.106.0 (2025-05-04)
9
+
10
+ * Regenerated from discovery document revision 20250427
11
+ * Regenerated using generator version 0.17.0
12
+
3
13
  ### v0.105.0 (2025-04-27)
4
14
 
5
15
  * Regenerated from discovery document revision 20250421
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/document-ai/docs/) may prov
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -3399,6 +3399,11 @@ module Google
3399
3399
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
3400
3400
  include Google::Apis::Core::Hashable
3401
3401
 
3402
+ # Represents the annotation of a block or a chunk.
3403
+ # Corresponds to the JSON property `annotations`
3404
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations]
3405
+ attr_accessor :annotations
3406
+
3402
3407
  # Body rows containing main table content.
3403
3408
  # Corresponds to the JSON property `bodyRows`
3404
3409
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>]
@@ -3420,6 +3425,7 @@ module Google
3420
3425
 
3421
3426
  # Update properties of this object
3422
3427
  def update!(**args)
3428
+ @annotations = args[:annotations] if args.key?(:annotations)
3423
3429
  @body_rows = args[:body_rows] if args.key?(:body_rows)
3424
3430
  @caption = args[:caption] if args.key?(:caption)
3425
3431
  @header_rows = args[:header_rows] if args.key?(:header_rows)
@@ -3667,6 +3673,12 @@ module Google
3667
3673
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeMoney]
3668
3674
  attr_accessor :money_value
3669
3675
 
3676
+ #
3677
+ # Corresponds to the JSON property `signatureValue`
3678
+ # @return [Boolean]
3679
+ attr_accessor :signature_value
3680
+ alias_method :signature_value?, :signature_value
3681
+
3670
3682
  # Optional. An optional field to store a normalized string. For some entity
3671
3683
  # types, one of respective `structured_value` fields may also be populated. Also
3672
3684
  # not all the types of `structured_value` will be normalized. For example, some
@@ -3692,6 +3704,7 @@ module Google
3692
3704
  @float_value = args[:float_value] if args.key?(:float_value)
3693
3705
  @integer_value = args[:integer_value] if args.key?(:integer_value)
3694
3706
  @money_value = args[:money_value] if args.key?(:money_value)
3707
+ @signature_value = args[:signature_value] if args.key?(:signature_value)
3695
3708
  @text = args[:text] if args.key?(:text)
3696
3709
  end
3697
3710
  end
@@ -5254,10 +5267,10 @@ module Google
5254
5267
  # @return [String]
5255
5268
  attr_accessor :display_name
5256
5269
 
5257
- # Grounding config of the entity type.
5258
- # Corresponds to the JSON property `groundingConfig`
5270
+ # Specifies how the entity's value is obtained.
5271
+ # Corresponds to the JSON property `method`
5259
5272
  # @return [String]
5260
- attr_accessor :grounding_config
5273
+ attr_accessor :method_prop
5261
5274
 
5262
5275
  # The name of the property. Follows the same guidelines as the EntityType name.
5263
5276
  # Corresponds to the JSON property `name`
@@ -5289,7 +5302,7 @@ module Google
5289
5302
  def update!(**args)
5290
5303
  @description = args[:description] if args.key?(:description)
5291
5304
  @display_name = args[:display_name] if args.key?(:display_name)
5292
- @grounding_config = args[:grounding_config] if args.key?(:grounding_config)
5305
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
5293
5306
  @name = args[:name] if args.key?(:name)
5294
5307
  @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
5295
5308
  @property_metadata = args[:property_metadata] if args.key?(:property_metadata)
@@ -6933,12 +6946,30 @@ module Google
6933
6946
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig]
6934
6947
  attr_accessor :chunking_config
6935
6948
 
6949
+ # Optional. Whether to include image annotations in layout parser response.
6950
+ # Corresponds to the JSON property `enableImageAnnotation`
6951
+ # @return [Boolean]
6952
+ attr_accessor :enable_image_annotation
6953
+ alias_method :enable_image_annotation?, :enable_image_annotation
6954
+
6955
+ # Optional. Whether to extract images in layout parser response.
6956
+ # Corresponds to the JSON property `enableImageExtraction`
6957
+ # @return [Boolean]
6958
+ attr_accessor :enable_image_extraction
6959
+ alias_method :enable_image_extraction?, :enable_image_extraction
6960
+
6936
6961
  # Optional. Whether to refine PDF layout using LLM.
6937
6962
  # Corresponds to the JSON property `enableLlmLayoutParsing`
6938
6963
  # @return [Boolean]
6939
6964
  attr_accessor :enable_llm_layout_parsing
6940
6965
  alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing
6941
6966
 
6967
+ # Optional. Whether to include table annotations in layout parser response.
6968
+ # Corresponds to the JSON property `enableTableAnnotation`
6969
+ # @return [Boolean]
6970
+ attr_accessor :enable_table_annotation
6971
+ alias_method :enable_table_annotation?, :enable_table_annotation
6972
+
6942
6973
  # Optional. Whether to include bounding boxes in layout parser processor
6943
6974
  # response.
6944
6975
  # Corresponds to the JSON property `returnBoundingBoxes`
@@ -6959,7 +6990,10 @@ module Google
6959
6990
  # Update properties of this object
6960
6991
  def update!(**args)
6961
6992
  @chunking_config = args[:chunking_config] if args.key?(:chunking_config)
6993
+ @enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
6994
+ @enable_image_extraction = args[:enable_image_extraction] if args.key?(:enable_image_extraction)
6962
6995
  @enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing)
6996
+ @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
6963
6997
  @return_bounding_boxes = args[:return_bounding_boxes] if args.key?(:return_bounding_boxes)
6964
6998
  @return_images = args[:return_images] if args.key?(:return_images)
6965
6999
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.105.0"
19
+ GEM_VERSION = "0.107.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250421"
25
+ REVISION = "20250521"
26
26
  end
27
27
  end
28
28
  end
@@ -2815,6 +2815,8 @@ module Google
2815
2815
  class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
2816
2816
  # @private
2817
2817
  class Representation < Google::Apis::Core::JsonRepresentation
2818
+ property :annotations, as: 'annotations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations::Representation
2819
+
2818
2820
  collection :body_rows, as: 'bodyRows', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow::Representation
2819
2821
 
2820
2822
  property :caption, as: 'caption'
@@ -2887,6 +2889,7 @@ module Google
2887
2889
  property :integer_value, as: 'integerValue'
2888
2890
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeMoney::Representation
2889
2891
 
2892
+ property :signature_value, as: 'signatureValue'
2890
2893
  property :text, as: 'text'
2891
2894
  end
2892
2895
  end
@@ -3340,7 +3343,7 @@ module Google
3340
3343
  class Representation < Google::Apis::Core::JsonRepresentation
3341
3344
  property :description, as: 'description'
3342
3345
  property :display_name, as: 'displayName'
3343
- property :grounding_config, as: 'groundingConfig'
3346
+ property :method_prop, as: 'method'
3344
3347
  property :name, as: 'name'
3345
3348
  property :occurrence_type, as: 'occurrenceType'
3346
3349
  property :property_metadata, as: 'propertyMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata::Representation
@@ -3829,7 +3832,10 @@ module Google
3829
3832
  class Representation < Google::Apis::Core::JsonRepresentation
3830
3833
  property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig::Representation
3831
3834
 
3835
+ property :enable_image_annotation, as: 'enableImageAnnotation'
3836
+ property :enable_image_extraction, as: 'enableImageExtraction'
3832
3837
  property :enable_llm_layout_parsing, as: 'enableLlmLayoutParsing'
3838
+ property :enable_table_annotation, as: 'enableTableAnnotation'
3833
3839
  property :return_bounding_boxes, as: 'returnBoundingBoxes'
3834
3840
  property :return_images, as: 'returnImages'
3835
3841
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.105.0
4
+ version: 0.107.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 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_v1beta3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.105.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.107.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Document AI API V1beta3
79
79
  test_files: []