google-apis-documentai_v1beta3 0.117.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +27 -2
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1beta3/representations.rb +3 -0
- data/lib/google/apis/documentai_v1beta3/service.rb +6 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 976899e0f4074effb1fb4a47c7070e7abe590bc8081ff5ef024569ce208e4c60
|
|
4
|
+
data.tar.gz: 0f9e9fdebd1d148e553ea7ca92dae584d6fb2b8eeea2bc678eec153c018fc7fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ab5d7f0a69b45c41e976270d5b17ee9f98c522d1b949f92939daf8745c9e2ccca9a7700fbd7a340d08bff508e49298715b7555da1ff6acfa0290097987d5f03
|
|
7
|
+
data.tar.gz: e7b925d373765aec3136862645030f159765e681e916ee842853ce060e548bb2fab25b7b93668b18717b04e563ddca3f0c76b376ae6383594aeb75db4c630a64
|
data/CHANGELOG.md
CHANGED
|
@@ -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,14 @@ module Google
|
|
|
8085
8093
|
# @return [String]
|
|
8086
8094
|
attr_accessor :dataset_split
|
|
8087
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
|
+
|
|
8088
8104
|
def initialize(**args)
|
|
8089
8105
|
update!(**args)
|
|
8090
8106
|
end
|
|
@@ -8094,6 +8110,7 @@ module Google
|
|
|
8094
8110
|
@auto_split_config = args[:auto_split_config] if args.key?(:auto_split_config)
|
|
8095
8111
|
@batch_input_config = args[:batch_input_config] if args.key?(:batch_input_config)
|
|
8096
8112
|
@dataset_split = args[:dataset_split] if args.key?(:dataset_split)
|
|
8113
|
+
@document_type = args[:document_type] if args.key?(:document_type)
|
|
8097
8114
|
end
|
|
8098
8115
|
end
|
|
8099
8116
|
|
|
@@ -8779,6 +8796,12 @@ module Google
|
|
|
8779
8796
|
attr_accessor :enable_table_annotation
|
|
8780
8797
|
alias_method :enable_table_annotation?, :enable_table_annotation
|
|
8781
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
|
+
|
|
8782
8805
|
# Optional. Whether to include bounding boxes in layout parser processor
|
|
8783
8806
|
# response.
|
|
8784
8807
|
# Corresponds to the JSON property `returnBoundingBoxes`
|
|
@@ -8803,6 +8826,7 @@ module Google
|
|
|
8803
8826
|
@enable_image_extraction = args[:enable_image_extraction] if args.key?(:enable_image_extraction)
|
|
8804
8827
|
@enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing)
|
|
8805
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)
|
|
8806
8830
|
@return_bounding_boxes = args[:return_bounding_boxes] if args.key?(:return_bounding_boxes)
|
|
8807
8831
|
@return_images = args[:return_images] if args.key?(:return_images)
|
|
8808
8832
|
end
|
|
@@ -10209,8 +10233,9 @@ module Google
|
|
|
10209
10233
|
attr_accessor :operations
|
|
10210
10234
|
|
|
10211
10235
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
10212
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
10213
|
-
# when attempting to list all resources across all supported
|
|
10236
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
10237
|
+
# For example, when attempting to list all resources across all supported
|
|
10238
|
+
# locations.
|
|
10214
10239
|
# Corresponds to the JSON property `unreachable`
|
|
10215
10240
|
# @return [Array<String>]
|
|
10216
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.
|
|
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 = "
|
|
25
|
+
REVISION = "20251202"
|
|
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
|
|
246
|
-
# unreachable
|
|
247
|
-
#
|
|
248
|
-
# by default
|
|
249
|
-
# explicitly documented otherwise in service or product specific
|
|
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.
|
|
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.
|
|
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:
|