google-apis-documentai_v1beta3 0.117.0 → 0.119.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: 1e3fc3ae782415d93f4d52781a6e0726525ec11e3c15d26a5308b80ae4d40e73
4
- data.tar.gz: 4f859945dd0500004f889351accacab8ec680d5ffb71329a7dd73127da1f781f
3
+ metadata.gz: 7352ed36e7169c159592a7375051fdb0fe3d2a29eb28434305825b8531be8e63
4
+ data.tar.gz: 538b8bc6d395c4203e60c9b9c94625ac92c4b97d6c8ce8b255416c64388ddd2e
5
5
  SHA512:
6
- metadata.gz: a8e988a86757a7d8ef7aca76120ecdb0bdf02fa721cbe420f9f45c1e43648fdb7d86658f032ad06df3305c2507d3c513864d6ebe51374b04cd6478f4e339d4c8
7
- data.tar.gz: 579162788c25cce5e5dbef1074b4f006be7ecce840e75c41f38b52dd7cb28a8c97c21d5f70225bf39e1479f4eded5359de7a03ecd4819e8e899518df9a6c1c9d
6
+ metadata.gz: 9119afa09d68b7a0622594f139ad27a3cf0578294f22ce756a6d24bcd83a8c83663ca490570e5fee11d3cdaf05bc69493915b3809e6d5fb6473501ee46adde1d
7
+ data.tar.gz: 0366d80024731f7b2a193a08dc8c27190f24a232d3de9eeee2f6389f55ab476c9f162fe379c6c8183ba12ed2acf8b9983da56a55405918ff7313153f925bf5ba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.119.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251209
6
+
7
+ ### v0.118.0 (2025-12-07)
8
+
9
+ * Regenerated from discovery document revision 20251202
10
+
3
11
  ### v0.117.0 (2025-11-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20251030
@@ -942,6 +942,13 @@ module Google
942
942
  # @return [String]
943
943
  attr_accessor :display_name
944
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
+
945
952
  # Entity types of the schema.
946
953
  # Corresponds to the JSON property `entityTypes`
947
954
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType>]
@@ -960,6 +967,7 @@ module Google
960
967
  def update!(**args)
961
968
  @description = args[:description] if args.key?(:description)
962
969
  @display_name = args[:display_name] if args.key?(:display_name)
970
+ @document_prompt = args[:document_prompt] if args.key?(:document_prompt)
963
971
  @entity_types = args[:entity_types] if args.key?(:entity_types)
964
972
  @metadata = args[:metadata] if args.key?(:metadata)
965
973
  end
@@ -8085,6 +8093,15 @@ module Google
8085
8093
  # @return [String]
8086
8094
  attr_accessor :dataset_split
8087
8095
 
8096
+ # Optional. If set, determines the type of the documents to be imported in this
8097
+ # batch. It can be used to auto-label the documents with a single entity of the
8098
+ # provided type. This field can only be used with a classifier or splitter
8099
+ # processor. Providing this field is mutually exclusive with `entities` and `
8100
+ # auto_labeling_config`.
8101
+ # Corresponds to the JSON property `documentType`
8102
+ # @return [String]
8103
+ attr_accessor :document_type
8104
+
8088
8105
  def initialize(**args)
8089
8106
  update!(**args)
8090
8107
  end
@@ -8094,6 +8111,7 @@ module Google
8094
8111
  @auto_split_config = args[:auto_split_config] if args.key?(:auto_split_config)
8095
8112
  @batch_input_config = args[:batch_input_config] if args.key?(:batch_input_config)
8096
8113
  @dataset_split = args[:dataset_split] if args.key?(:dataset_split)
8114
+ @document_type = args[:document_type] if args.key?(:document_type)
8097
8115
  end
8098
8116
  end
8099
8117
 
@@ -8482,7 +8500,7 @@ module Google
8482
8500
  # @return [String]
8483
8501
  attr_accessor :create_time
8484
8502
 
8485
- # Optional. The user-defined name of the Schema.
8503
+ # Required. The user-defined name of the Schema.
8486
8504
  # Corresponds to the JSON property `displayName`
8487
8505
  # @return [String]
8488
8506
  attr_accessor :display_name
@@ -8779,6 +8797,12 @@ module Google
8779
8797
  attr_accessor :enable_table_annotation
8780
8798
  alias_method :enable_table_annotation?, :enable_table_annotation
8781
8799
 
8800
+ # Optional. Whether to split table.
8801
+ # Corresponds to the JSON property `enableTableSplit`
8802
+ # @return [Boolean]
8803
+ attr_accessor :enable_table_split
8804
+ alias_method :enable_table_split?, :enable_table_split
8805
+
8782
8806
  # Optional. Whether to include bounding boxes in layout parser processor
8783
8807
  # response.
8784
8808
  # Corresponds to the JSON property `returnBoundingBoxes`
@@ -8803,6 +8827,7 @@ module Google
8803
8827
  @enable_image_extraction = args[:enable_image_extraction] if args.key?(:enable_image_extraction)
8804
8828
  @enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing)
8805
8829
  @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
8830
+ @enable_table_split = args[:enable_table_split] if args.key?(:enable_table_split)
8806
8831
  @return_bounding_boxes = args[:return_bounding_boxes] if args.key?(:return_bounding_boxes)
8807
8832
  @return_images = args[:return_images] if args.key?(:return_images)
8808
8833
  end
@@ -9679,7 +9704,7 @@ module Google
9679
9704
  # @return [String]
9680
9705
  attr_accessor :create_time
9681
9706
 
9682
- # Optional. The user-defined name of the SchemaVersion.
9707
+ # Required. The user-defined name of the SchemaVersion.
9683
9708
  # Corresponds to the JSON property `displayName`
9684
9709
  # @return [String]
9685
9710
  attr_accessor :display_name
@@ -10209,8 +10234,9 @@ module Google
10209
10234
  attr_accessor :operations
10210
10235
 
10211
10236
  # Unordered list. Unreachable resources. Populated when the request sets `
10212
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
10213
- # when attempting to list all resources across all supported locations.
10237
+ # ListOperationsRequest.return_partial_success` and reads across collections.
10238
+ # For example, when attempting to list all resources across all supported
10239
+ # locations.
10214
10240
  # Corresponds to the JSON property `unreachable`
10215
10241
  # @return [Array<String>]
10216
10242
  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.117.0"
19
+ GEM_VERSION = "0.119.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 = "20251030"
25
+ REVISION = "20251209"
26
26
  end
27
27
  end
28
28
  end
@@ -2294,6 +2294,7 @@ module Google
2294
2294
  class Representation < Google::Apis::Core::JsonRepresentation
2295
2295
  property :description, as: 'description'
2296
2296
  property :display_name, as: 'displayName'
2297
+ property :document_prompt, as: 'documentPrompt'
2297
2298
  collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType::Representation
2298
2299
 
2299
2300
  property :metadata, as: 'metadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata::Representation
@@ -4482,6 +4483,7 @@ module Google
4482
4483
  property :batch_input_config, as: 'batchInputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
4483
4484
 
4484
4485
  property :dataset_split, as: 'datasetSplit'
4486
+ property :document_type, as: 'documentType'
4485
4487
  end
4486
4488
  end
4487
4489
 
@@ -4688,6 +4690,7 @@ module Google
4688
4690
  property :enable_image_extraction, as: 'enableImageExtraction'
4689
4691
  property :enable_llm_layout_parsing, as: 'enableLlmLayoutParsing'
4690
4692
  property :enable_table_annotation, as: 'enableTableAnnotation'
4693
+ property :enable_table_split, as: 'enableTableSplit'
4691
4694
  property :return_bounding_boxes, as: 'returnBoundingBoxes'
4692
4695
  property :return_images, as: 'returnImages'
4693
4696
  end
@@ -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.117.0
4
+ version: 0.119.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.117.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.119.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: