google-apis-documentai_v1 0.108.0 → 0.110.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: ec6040d03da911bba4bffbc8653d0d6a7e4d7d324993b0f56b4b388f92d07a33
4
- data.tar.gz: ebeae8582fe405525fb0c070e294ddbea4e83011e90b218c7e72d08093e2e21c
3
+ metadata.gz: 9b1252bf6fe12d5218ab8f1fa0f71037ffc9924538aea00ab218b3825ca4af2b
4
+ data.tar.gz: 35fa04015fd6268e15c2ad911cdc01a22e7d336cc2f9efe7b9768c3e1bbd6d84
5
5
  SHA512:
6
- metadata.gz: 13d68837edacfb9ba34b73acb232d907c0087fced60cd173f7d9491af1c121a878f33d770fa18460ee8658eeca409b4a3473b3e162224712050e5c057798ce5d
7
- data.tar.gz: 3490dee60e88d2ba2f1304efea9ed5b44225202540ca571b37bf4b6fab11ded6ca65fb16f6e67f41e0c65894bfb99469691660d47b44ed236198573d543b0287
6
+ metadata.gz: 6b0b37e879bb9e88fbae3482bd36d6943a5a6ad131de16d5183d58648a29f613f0f8c31b1ef612600b9ccf5aefa8d38f71727fc3481a987cc04aeb84bb6e8148
7
+ data.tar.gz: 96515e324cafafae0f4b9dbc364c6a331ab7f0092a8690e54f044a8a00e1de65f332c5ef35b51ecc8269e5f3c3183f001182a5cd9ef01e0b8892b2f56298889a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.110.0 (2025-12-07)
4
+
5
+ * Regenerated from discovery document revision 20251202
6
+
7
+ ### v0.109.0 (2025-11-09)
8
+
9
+ * Regenerated from discovery document revision 20251030
10
+
3
11
  ### v0.108.0 (2025-11-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20251020
@@ -23,7 +23,7 @@ module Google
23
23
  module DocumentaiV1
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::DocumentaiV1::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
@@ -10133,8 +10147,9 @@ module Google
10133
10147
  attr_accessor :operations
10134
10148
 
10135
10149
  # Unordered list. Unreachable resources. Populated when the request sets `
10136
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
10137
- # when attempting to list all resources across all supported locations.
10150
+ # ListOperationsRequest.return_partial_success` and reads across collections.
10151
+ # For example, when attempting to list all resources across all supported
10152
+ # locations.
10138
10153
  # Corresponds to the JSON property `unreachable`
10139
10154
  # @return [Array<String>]
10140
10155
  attr_accessor :unreachable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.108.0"
19
+ GEM_VERSION = "0.110.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
@@ -1953,6 +1953,7 @@ module Google
1953
1953
  property :form_validation, as: 'formValidation', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation::Representation
1954
1954
 
1955
1955
  property :name, as: 'name'
1956
+ property :rule_id, as: 'ruleId'
1956
1957
  end
1957
1958
  end
1958
1959
 
@@ -2257,6 +2258,7 @@ module Google
2257
2258
  class Representation < Google::Apis::Core::JsonRepresentation
2258
2259
  property :description, as: 'description'
2259
2260
  property :display_name, as: 'displayName'
2261
+ property :document_prompt, as: 'documentPrompt'
2260
2262
  collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType::Representation
2261
2263
 
2262
2264
  property :metadata, as: 'metadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata::Representation
@@ -152,8 +152,8 @@ module Google
152
152
  # @param [String] name
153
153
  # The resource that owns the locations collection, if applicable.
154
154
  # @param [Array<String>, String] extra_location_types
155
- # Optional. Unless explicitly documented otherwise, don't use this unsupported
156
- # field which is primarily intended for internal usage.
155
+ # Optional. Do not use this field. It is unsupported and is ignored unless
156
+ # explicitly documented otherwise. This is primarily for internal usage.
157
157
  # @param [String] filter
158
158
  # A filter to narrow down results to a preferred subset. The filtering language
159
159
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -275,11 +275,12 @@ module Google
275
275
  # The standard list page token.
276
276
  # @param [Boolean] return_partial_success
277
277
  # When set to `true`, operations that are reachable are returned as normal, and
278
- # those that are unreachable are returned in the [ListOperationsResponse.
279
- # unreachable] field. This can only be `true` when reading across collections e.
280
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
281
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
282
- # explicitly documented otherwise in service or product specific documentation.
278
+ # those that are unreachable are returned in the ListOperationsResponse.
279
+ # unreachable field. This can only be `true` when reading across collections.
280
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
281
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
282
+ # if set unless explicitly documented otherwise in service or product specific
283
+ # documentation.
283
284
  # @param [String] fields
284
285
  # Selector specifying which fields to include in a partial response.
285
286
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.108.0
4
+ version: 0.110.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.108.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.110.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
62
62
  rdoc_options: []
63
63
  require_paths: