google-apis-documentai_v1 0.120.0 → 0.121.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: 7facface0df709c7f37832fa171f2e01d3b1a77d5733deadad7c404fd989155c
4
- data.tar.gz: a0e32e6e84a642a621eddc844556fe604f73e80bbfd3e6a3dcad60c1d77e34f2
3
+ metadata.gz: abe0269b4c22694953c5c5f1b8504299e0f8b4560a476a1a5414f2915f8bb34c
4
+ data.tar.gz: 7ac163de55895bb81527977a6b9a75f32a4babede1f46f262c139d6d95c5c042
5
5
  SHA512:
6
- metadata.gz: c7492b6b49a287e700793ef760fd027d557d05194d744d4bee44853f4ca32796337b07711cae95db3e5eef0cab08b8f3431a637a7a046bbec4ab9225262a8a97
7
- data.tar.gz: 422d6b5f2fe4c52d587efdf991074da19be8fb90598bdac4fc6170fb90eb0dc82c2afc5156f390ac6e73efe6c25050ab4db1f7c016df932f866050af1d9ce19b
6
+ metadata.gz: 3570b12b626a5c88cc3e96b11aa90ef0b92956c70d3699f624e16a47610e8ee720a1b63c5b38f28a66febb13b10f0c78d8e4adb4872252e45ad78f03221663b7
7
+ data.tar.gz: 5e374fa1ff0597e55bfd2325e3147148ddcf0caf90240ea9116d3d58a8d6fe22632d96c19afb3f415d2b91399f7938d41fcafb3a3f88cd6b8547f9bdf17bed1b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.121.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20260929
6
+ * Regenerated using generator version 0.19.1
7
+
3
8
  ### v0.120.0 (2026-07-12)
4
9
 
5
10
  * Regenerated from discovery document revision 20260706
@@ -1611,6 +1611,25 @@ module Google
1611
1611
  end
1612
1612
  end
1613
1613
 
1614
+ # Settings for grounding extractions.
1615
+ class GoogleCloudDocumentaiUiv1beta3GroundingSettings
1616
+ include Google::Apis::Core::Hashable
1617
+
1618
+ # The type of grounding to apply.
1619
+ # Corresponds to the JSON property `groundingType`
1620
+ # @return [String]
1621
+ attr_accessor :grounding_type
1622
+
1623
+ def initialize(**args)
1624
+ update!(**args)
1625
+ end
1626
+
1627
+ # Update properties of this object
1628
+ def update!(**args)
1629
+ @grounding_type = args[:grounding_type] if args.key?(:grounding_type)
1630
+ end
1631
+ end
1632
+
1614
1633
  # Metadata for human review labeling config.
1615
1634
  class GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata
1616
1635
  include Google::Apis::Core::Hashable
@@ -1959,6 +1978,11 @@ module Google
1959
1978
  attr_accessor :google_managed
1960
1979
  alias_method :google_managed?, :google_managed
1961
1980
 
1981
+ # Settings for grounding extractions.
1982
+ # Corresponds to the JSON property `groundingSettings`
1983
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3GroundingSettings]
1984
+ attr_accessor :grounding_settings
1985
+
1962
1986
  # Output only. The KMS key name used for encryption.
1963
1987
  # Corresponds to the JSON property `kmsKeyName`
1964
1988
  # @return [String]
@@ -2021,6 +2045,7 @@ module Google
2021
2045
  @document_schema = args[:document_schema] if args.key?(:document_schema)
2022
2046
  @gen_ai_model_info = args[:gen_ai_model_info] if args.key?(:gen_ai_model_info)
2023
2047
  @google_managed = args[:google_managed] if args.key?(:google_managed)
2048
+ @grounding_settings = args[:grounding_settings] if args.key?(:grounding_settings)
2024
2049
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2025
2050
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
2026
2051
  @latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
@@ -9468,6 +9493,25 @@ module Google
9468
9493
  end
9469
9494
  end
9470
9495
 
9496
+ # Settings for grounding extractions.
9497
+ class GoogleCloudDocumentaiV1beta3GroundingSettings
9498
+ include Google::Apis::Core::Hashable
9499
+
9500
+ # The type of grounding to apply.
9501
+ # Corresponds to the JSON property `groundingType`
9502
+ # @return [String]
9503
+ attr_accessor :grounding_type
9504
+
9505
+ def initialize(**args)
9506
+ update!(**args)
9507
+ end
9508
+
9509
+ # Update properties of this object
9510
+ def update!(**args)
9511
+ @grounding_type = args[:grounding_type] if args.key?(:grounding_type)
9512
+ end
9513
+ end
9514
+
9471
9515
  # The status of human review on a processed document.
9472
9516
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
9473
9517
  include Google::Apis::Core::Hashable
@@ -9790,6 +9834,11 @@ module Google
9790
9834
  attr_accessor :google_managed
9791
9835
  alias_method :google_managed?, :google_managed
9792
9836
 
9837
+ # Settings for grounding extractions.
9838
+ # Corresponds to the JSON property `groundingSettings`
9839
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3GroundingSettings]
9840
+ attr_accessor :grounding_settings
9841
+
9793
9842
  # Output only. The KMS key name used for encryption.
9794
9843
  # Corresponds to the JSON property `kmsKeyName`
9795
9844
  # @return [String]
@@ -9846,6 +9895,7 @@ module Google
9846
9895
  @document_schema = args[:document_schema] if args.key?(:document_schema)
9847
9896
  @gen_ai_model_info = args[:gen_ai_model_info] if args.key?(:gen_ai_model_info)
9848
9897
  @google_managed = args[:google_managed] if args.key?(:google_managed)
9898
+ @grounding_settings = args[:grounding_settings] if args.key?(:grounding_settings)
9849
9899
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
9850
9900
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
9851
9901
  @latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
@@ -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.120.0"
19
+ GEM_VERSION = "0.121.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260706"
25
+ REVISION = "20260929"
26
26
  end
27
27
  end
28
28
  end
@@ -358,6 +358,12 @@ module Google
358
358
  include Google::Apis::Core::JsonObjectSupport
359
359
  end
360
360
 
361
+ class GoogleCloudDocumentaiUiv1beta3GroundingSettings
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
361
367
  class GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata
362
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
369
 
@@ -1726,6 +1732,12 @@ module Google
1726
1732
  include Google::Apis::Core::JsonObjectSupport
1727
1733
  end
1728
1734
 
1735
+ class GoogleCloudDocumentaiV1beta3GroundingSettings
1736
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1737
+
1738
+ include Google::Apis::Core::JsonObjectSupport
1739
+ end
1740
+
1729
1741
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
1730
1742
  class Representation < Google::Apis::Core::JsonRepresentation; end
1731
1743
 
@@ -2500,6 +2512,13 @@ module Google
2500
2512
  end
2501
2513
  end
2502
2514
 
2515
+ class GoogleCloudDocumentaiUiv1beta3GroundingSettings
2516
+ # @private
2517
+ class Representation < Google::Apis::Core::JsonRepresentation
2518
+ property :grounding_type, as: 'groundingType'
2519
+ end
2520
+ end
2521
+
2503
2522
  class GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata
2504
2523
  # @private
2505
2524
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2602,6 +2621,8 @@ module Google
2602
2621
  property :gen_ai_model_info, as: 'genAiModelInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo::Representation
2603
2622
 
2604
2623
  property :google_managed, as: 'googleManaged'
2624
+ property :grounding_settings, as: 'groundingSettings', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3GroundingSettings, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3GroundingSettings::Representation
2625
+
2605
2626
  property :kms_key_name, as: 'kmsKeyName'
2606
2627
  property :kms_key_version_name, as: 'kmsKeyVersionName'
2607
2628
  property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3EvaluationReference::Representation
@@ -4857,6 +4878,13 @@ module Google
4857
4878
  end
4858
4879
  end
4859
4880
 
4881
+ class GoogleCloudDocumentaiV1beta3GroundingSettings
4882
+ # @private
4883
+ class Representation < Google::Apis::Core::JsonRepresentation
4884
+ property :grounding_type, as: 'groundingType'
4885
+ end
4886
+ end
4887
+
4860
4888
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
4861
4889
  # @private
4862
4890
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4951,6 +4979,8 @@ module Google
4951
4979
  property :gen_ai_model_info, as: 'genAiModelInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo::Representation
4952
4980
 
4953
4981
  property :google_managed, as: 'googleManaged'
4982
+ property :grounding_settings, as: 'groundingSettings', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3GroundingSettings, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3GroundingSettings::Representation
4983
+
4954
4984
  property :kms_key_name, as: 'kmsKeyName'
4955
4985
  property :kms_key_version_name, as: 'kmsKeyVersionName'
4956
4986
  property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3EvaluationReference::Representation
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.120.0
4
+ version: 0.121.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.120.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.121.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: