google-apis-documentai_v1beta3 0.105.0 → 0.106.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: ffd770a80d11f0fcc1397d490c7f933d96247facf8ccf9f54c4b4fb33c61ac32
4
+ data.tar.gz: e2e59114c43914974e9d588ce6c831721a4c5866e09a69b9173832085f4c0c5c
5
5
  SHA512:
6
- metadata.gz: 05f8f6959853c96015654a3dbb3856bc32ed6b4cdc7778d26c5609bff999f89d1c2b85ef729efd195c86310268595201479c09e633248c5ad080e182db1e5e6f
7
- data.tar.gz: 999cc79610055308a1c29a7c81581509de8a307f8acedde6d4735cc63d410119036ab49ca063c4a079d96892e5c5d84afd51ae04c14029ceb53eef8481f1cc53
6
+ metadata.gz: 212dc21939631b0002b8dd78a1cb76b4deb934c58d76ee7fdabcc28a0133c0838239587deed91feabb3dfae088986ecabd5e803bf1ece1b510b356bcc57aceac
7
+ data.tar.gz: 3a8e8b9c1b7d62e6dc18a4167834b85d03d9a7ae4a16e5bfcb2b4e9ffcb6c7816b07076d4ca5aa85415059a7cddcc12cbff15302a8a677c093cc606c4783966c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.106.0 (2025-05-04)
4
+
5
+ * Regenerated from discovery document revision 20250427
6
+ * Regenerated using generator version 0.17.0
7
+
3
8
  ### v0.105.0 (2025-04-27)
4
9
 
5
10
  * 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
@@ -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.106.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.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250421"
25
+ REVISION = "20250427"
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
@@ -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.106.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.106.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.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Document AI API V1beta3
79
79
  test_files: []