google-apis-documentai_v1beta3 0.116.0 → 0.118.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: d3262347f9312074a83e8cca6a24e2fd61654f344d9da38f2916827b49cdfdce
4
- data.tar.gz: '09a765686d8659720afc92e8544190f96a49430e7fba84a65345b3082d44f3d4'
3
+ metadata.gz: 976899e0f4074effb1fb4a47c7070e7abe590bc8081ff5ef024569ce208e4c60
4
+ data.tar.gz: 0f9e9fdebd1d148e553ea7ca92dae584d6fb2b8eeea2bc678eec153c018fc7fe
5
5
  SHA512:
6
- metadata.gz: '09e7d50e32b0134a52921209795462519b6ed11c2c00bf5ff1f985fd363263009a0c668bea85580f472cbe1911bd2d6bd67e8042ee10bdeba6bc6aa6e741367b'
7
- data.tar.gz: 1ba74f85892b57651893128c74fb378a36bcd38bc5541eeca772c915387316f2d566b986bff7569bfab42539bafbca6e366d774fcd91bc0ea200efc455e39931
6
+ metadata.gz: 5ab5d7f0a69b45c41e976270d5b17ee9f98c522d1b949f92939daf8745c9e2ccca9a7700fbd7a340d08bff508e49298715b7555da1ff6acfa0290097987d5f03
7
+ data.tar.gz: e7b925d373765aec3136862645030f159765e681e916ee842853ce060e548bb2fab25b7b93668b18717b04e563ddca3f0c76b376ae6383594aeb75db4c630a64
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.118.0 (2025-12-07)
4
+
5
+ * Regenerated from discovery document revision 20251202
6
+
7
+ ### v0.117.0 (2025-11-09)
8
+
9
+ * Regenerated from discovery document revision 20251030
10
+
3
11
  ### v0.116.0 (2025-11-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20251020
@@ -23,7 +23,7 @@ module Google
23
23
  module DocumentaiV1beta3
24
24
 
25
25
  # Definition of the validation rules. Those are the input to the validator logic
26
- # and they are used to validate a document.
26
+ # and they are used to validate a document. Next ID: 3
27
27
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput
28
28
  include Google::Apis::Core::Hashable
29
29
 
@@ -42,7 +42,7 @@ module Google
42
42
  end
43
43
  end
44
44
 
45
- #
45
+ # Next ID: 9
46
46
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
47
47
  include Google::Apis::Core::Hashable
48
48
 
@@ -81,6 +81,11 @@ module Google
81
81
  # @return [String]
82
82
  attr_accessor :name
83
83
 
84
+ # Unique identifier of the rule. Optional.
85
+ # Corresponds to the JSON property `ruleId`
86
+ # @return [String]
87
+ attr_accessor :rule_id
88
+
84
89
  def initialize(**args)
85
90
  update!(**args)
86
91
  end
@@ -94,6 +99,7 @@ module Google
94
99
  @field_regex = args[:field_regex] if args.key?(:field_regex)
95
100
  @form_validation = args[:form_validation] if args.key?(:form_validation)
96
101
  @name = args[:name] if args.key?(:name)
102
+ @rule_id = args[:rule_id] if args.key?(:rule_id)
97
103
  end
98
104
  end
99
105
 
@@ -936,6 +942,13 @@ module Google
936
942
  # @return [String]
937
943
  attr_accessor :display_name
938
944
 
945
+ # Optional. Document level prompt provided by the user. This custom text is
946
+ # injected into the AI model's prompt to provide extra, document-wide guidance
947
+ # for processing.
948
+ # Corresponds to the JSON property `documentPrompt`
949
+ # @return [String]
950
+ attr_accessor :document_prompt
951
+
939
952
  # Entity types of the schema.
940
953
  # Corresponds to the JSON property `entityTypes`
941
954
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType>]
@@ -954,6 +967,7 @@ module Google
954
967
  def update!(**args)
955
968
  @description = args[:description] if args.key?(:description)
956
969
  @display_name = args[:display_name] if args.key?(:display_name)
970
+ @document_prompt = args[:document_prompt] if args.key?(:document_prompt)
957
971
  @entity_types = args[:entity_types] if args.key?(:entity_types)
958
972
  @metadata = args[:metadata] if args.key?(:metadata)
959
973
  end
@@ -8079,6 +8093,14 @@ module Google
8079
8093
  # @return [String]
8080
8094
  attr_accessor :dataset_split
8081
8095
 
8096
+ # Optional. The type of the documents to be imported in this batch. This will be
8097
+ # used to auto-label the documents with a single entity of the provided type.
8098
+ # This field can only be used with a classifier or splitter processor. Providing
8099
+ # this field is mutually exclusive with `entities` and `auto_labeling_config`.
8100
+ # Corresponds to the JSON property `documentType`
8101
+ # @return [String]
8102
+ attr_accessor :document_type
8103
+
8082
8104
  def initialize(**args)
8083
8105
  update!(**args)
8084
8106
  end
@@ -8088,6 +8110,7 @@ module Google
8088
8110
  @auto_split_config = args[:auto_split_config] if args.key?(:auto_split_config)
8089
8111
  @batch_input_config = args[:batch_input_config] if args.key?(:batch_input_config)
8090
8112
  @dataset_split = args[:dataset_split] if args.key?(:dataset_split)
8113
+ @document_type = args[:document_type] if args.key?(:document_type)
8091
8114
  end
8092
8115
  end
8093
8116
 
@@ -8773,6 +8796,12 @@ module Google
8773
8796
  attr_accessor :enable_table_annotation
8774
8797
  alias_method :enable_table_annotation?, :enable_table_annotation
8775
8798
 
8799
+ # Optional. Whether to split table.
8800
+ # Corresponds to the JSON property `enableTableSplit`
8801
+ # @return [Boolean]
8802
+ attr_accessor :enable_table_split
8803
+ alias_method :enable_table_split?, :enable_table_split
8804
+
8776
8805
  # Optional. Whether to include bounding boxes in layout parser processor
8777
8806
  # response.
8778
8807
  # Corresponds to the JSON property `returnBoundingBoxes`
@@ -8797,6 +8826,7 @@ module Google
8797
8826
  @enable_image_extraction = args[:enable_image_extraction] if args.key?(:enable_image_extraction)
8798
8827
  @enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing)
8799
8828
  @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
8829
+ @enable_table_split = args[:enable_table_split] if args.key?(:enable_table_split)
8800
8830
  @return_bounding_boxes = args[:return_bounding_boxes] if args.key?(:return_bounding_boxes)
8801
8831
  @return_images = args[:return_images] if args.key?(:return_images)
8802
8832
  end
@@ -10203,8 +10233,9 @@ module Google
10203
10233
  attr_accessor :operations
10204
10234
 
10205
10235
  # Unordered list. Unreachable resources. Populated when the request sets `
10206
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
10207
- # when attempting to list all resources across all supported locations.
10236
+ # ListOperationsRequest.return_partial_success` and reads across collections.
10237
+ # For example, when attempting to list all resources across all supported
10238
+ # locations.
10208
10239
  # Corresponds to the JSON property `unreachable`
10209
10240
  # @return [Array<String>]
10210
10241
  attr_accessor :unreachable
@@ -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.116.0"
19
+ GEM_VERSION = "0.118.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251020"
25
+ REVISION = "20251202"
26
26
  end
27
27
  end
28
28
  end
@@ -1989,6 +1989,7 @@ module Google
1989
1989
  property :form_validation, as: 'formValidation', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation::Representation
1990
1990
 
1991
1991
  property :name, as: 'name'
1992
+ property :rule_id, as: 'ruleId'
1992
1993
  end
1993
1994
  end
1994
1995
 
@@ -2293,6 +2294,7 @@ module Google
2293
2294
  class Representation < Google::Apis::Core::JsonRepresentation
2294
2295
  property :description, as: 'description'
2295
2296
  property :display_name, as: 'displayName'
2297
+ property :document_prompt, as: 'documentPrompt'
2296
2298
  collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType::Representation
2297
2299
 
2298
2300
  property :metadata, as: 'metadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata::Representation
@@ -4481,6 +4483,7 @@ module Google
4481
4483
  property :batch_input_config, as: 'batchInputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
4482
4484
 
4483
4485
  property :dataset_split, as: 'datasetSplit'
4486
+ property :document_type, as: 'documentType'
4484
4487
  end
4485
4488
  end
4486
4489
 
@@ -4687,6 +4690,7 @@ module Google
4687
4690
  property :enable_image_extraction, as: 'enableImageExtraction'
4688
4691
  property :enable_llm_layout_parsing, as: 'enableLlmLayoutParsing'
4689
4692
  property :enable_table_annotation, as: 'enableTableAnnotation'
4693
+ property :enable_table_split, as: 'enableTableSplit'
4690
4694
  property :return_bounding_boxes, as: 'returnBoundingBoxes'
4691
4695
  property :return_images, as: 'returnImages'
4692
4696
  end
@@ -119,8 +119,8 @@ module Google
119
119
  # @param [String] name
120
120
  # The resource that owns the locations collection, if applicable.
121
121
  # @param [Array<String>, String] extra_location_types
122
- # Optional. Unless explicitly documented otherwise, don't use this unsupported
123
- # field which is primarily intended for internal usage.
122
+ # Optional. Do not use this field. It is unsupported and is ignored unless
123
+ # explicitly documented otherwise. This is primarily for internal usage.
124
124
  # @param [String] filter
125
125
  # A filter to narrow down results to a preferred subset. The filtering language
126
126
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -242,11 +242,12 @@ module Google
242
242
  # The standard list page token.
243
243
  # @param [Boolean] return_partial_success
244
244
  # When set to `true`, operations that are reachable are returned as normal, and
245
- # those that are unreachable are returned in the [ListOperationsResponse.
246
- # unreachable] field. This can only be `true` when reading across collections e.
247
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
248
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
249
- # explicitly documented otherwise in service or product specific documentation.
245
+ # those that are unreachable are returned in the ListOperationsResponse.
246
+ # unreachable field. This can only be `true` when reading across collections.
247
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
248
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
249
+ # if set unless explicitly documented otherwise in service or product specific
250
+ # documentation.
250
251
  # @param [String] fields
251
252
  # Selector specifying which fields to include in a partial response.
252
253
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.116.0
4
+ version: 0.118.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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.116.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.118.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: