google-apis-documentai_v1beta3 0.127.0 → 0.129.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 +9 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +104 -29
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +46 -0
- data/lib/google/apis/documentai_v1beta3/service.rb +2 -2
- 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: e140c6d9e1979c961548923cb9baca7e63692ce0b0fb9522444aa9739b031d5f
|
|
4
|
+
data.tar.gz: 5b105edf4e0cf43220c8c7914821bf891195db1f3e917e0dac74304943b38ace
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92367d75cc4e9785a6ec8ceb55994264298ae5480bb66fe901ea8cb448be5fa7635c1a110b85b24d3c3a2e41d50ad76e6f5cb6471e16105e3d79be5bde4395f9
|
|
7
|
+
data.tar.gz: 2ee2c2b1157fd47171675b754eceee33125408723368f9da5de29bd995e613fab57466bd4a49c24a9d23fd4d7332d410488787e6b4c7441aff635557bcd9fda4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
|
2
2
|
|
|
3
|
+
### v0.129.0 (2026-10-21)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260929
|
|
6
|
+
* Regenerated using generator version 0.19.1
|
|
7
|
+
|
|
8
|
+
### v0.128.0 (2026-07-12)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20260706
|
|
11
|
+
|
|
3
12
|
### v0.127.0 (2026-06-14)
|
|
4
13
|
|
|
5
14
|
* Regenerated using generator version 0.19.0
|
|
@@ -887,7 +887,7 @@ module Google
|
|
|
887
887
|
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
|
|
888
888
|
include Google::Apis::Core::Hashable
|
|
889
889
|
|
|
890
|
-
#
|
|
890
|
+
# ID of the document (indexed) managed by Content Warehouse.
|
|
891
891
|
# Corresponds to the JSON property `cwDocId`
|
|
892
892
|
# @return [String]
|
|
893
893
|
attr_accessor :cw_doc_id
|
|
@@ -913,7 +913,7 @@ module Google
|
|
|
913
913
|
class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId
|
|
914
914
|
include Google::Apis::Core::Hashable
|
|
915
915
|
|
|
916
|
-
# Required. The
|
|
916
|
+
# Required. The ID of the document.
|
|
917
917
|
# Corresponds to the JSON property `docId`
|
|
918
918
|
# @return [String]
|
|
919
919
|
attr_accessor :doc_id
|
|
@@ -942,7 +942,7 @@ module Google
|
|
|
942
942
|
# @return [String]
|
|
943
943
|
attr_accessor :display_name
|
|
944
944
|
|
|
945
|
-
# Optional. Document
|
|
945
|
+
# Optional. Document-level prompt provided by the user. This custom text is
|
|
946
946
|
# injected into the AI model's prompt to provide extra, document-wide guidance
|
|
947
947
|
# for processing.
|
|
948
948
|
# Corresponds to the JSON property `documentPrompt`
|
|
@@ -1012,7 +1012,7 @@ module Google
|
|
|
1012
1012
|
# a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
|
|
1013
1013
|
# compatibility, internal infrastructure and tooling can handle any ASCII
|
|
1014
1014
|
# character.) - The `/` is sometimes used to denote a property of a type. For
|
|
1015
|
-
# example `line_item/amount`. This convention is deprecated, but will still be
|
|
1015
|
+
# example, `line_item/amount`. This convention is deprecated, but will still be
|
|
1016
1016
|
# honored for backward compatibility.
|
|
1017
1017
|
# Corresponds to the JSON property `name`
|
|
1018
1018
|
# @return [String]
|
|
@@ -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
|
|
@@ -1827,7 +1846,7 @@ module Google
|
|
|
1827
1846
|
|
|
1828
1847
|
# Optional. SchemaVersion used by the Processor. It is the same as Processor's
|
|
1829
1848
|
# DatasetSchema.schema_version Format is `projects/`project`/locations/`location`
|
|
1830
|
-
# /schemas/`schema`/schemaVersions/`schema_version
|
|
1849
|
+
# /schemas/`schema`/schemaVersions/`schema_version`.
|
|
1831
1850
|
# Corresponds to the JSON property `activeSchemaVersion`
|
|
1832
1851
|
# @return [String]
|
|
1833
1852
|
attr_accessor :active_schema_version
|
|
@@ -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::DocumentaiV1beta3::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)
|
|
@@ -4236,7 +4261,7 @@ module Google
|
|
|
4236
4261
|
|
|
4237
4262
|
# Optional. The blob assets in this document. This is used to store the content
|
|
4238
4263
|
# of the inline blobs in this document, for example, image bytes, such that it
|
|
4239
|
-
# can be referenced by other fields in the document via asset
|
|
4264
|
+
# can be referenced by other fields in the document via asset ID.
|
|
4240
4265
|
# Corresponds to the JSON property `blobAssets`
|
|
4241
4266
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentBlobAsset>]
|
|
4242
4267
|
attr_accessor :blob_assets
|
|
@@ -4272,10 +4297,10 @@ module Google
|
|
|
4272
4297
|
attr_accessor :entities
|
|
4273
4298
|
|
|
4274
4299
|
# The entity revision ID that `document.entities` field is based on. If this
|
|
4275
|
-
# field
|
|
4276
|
-
#
|
|
4277
|
-
#
|
|
4278
|
-
#
|
|
4300
|
+
# field and `entities_revisions` are set, the entities in `document.entities`
|
|
4301
|
+
# are the entities in the entity revision with this ID. The `document.
|
|
4302
|
+
# entity_validation_output` field is the `entity_validation_output` field in
|
|
4303
|
+
# this entity revision.
|
|
4279
4304
|
# Corresponds to the JSON property `entitiesRevisionId`
|
|
4280
4305
|
# @return [String]
|
|
4281
4306
|
attr_accessor :entities_revision_id
|
|
@@ -4407,7 +4432,7 @@ module Google
|
|
|
4407
4432
|
class GoogleCloudDocumentaiV1beta3DocumentBlobAsset
|
|
4408
4433
|
include Google::Apis::Core::Hashable
|
|
4409
4434
|
|
|
4410
|
-
# Optional. The
|
|
4435
|
+
# Optional. The ID of the blob asset.
|
|
4411
4436
|
# Corresponds to the JSON property `assetId`
|
|
4412
4437
|
# @return [String]
|
|
4413
4438
|
attr_accessor :asset_id
|
|
@@ -4620,20 +4645,20 @@ module Google
|
|
|
4620
4645
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations]
|
|
4621
4646
|
attr_accessor :annotations
|
|
4622
4647
|
|
|
4623
|
-
# Optional. Asset
|
|
4648
|
+
# Optional. Asset ID of the inline image. If set, find the image content in the
|
|
4624
4649
|
# blob_assets field.
|
|
4625
4650
|
# Corresponds to the JSON property `blobAssetId`
|
|
4626
4651
|
# @return [String]
|
|
4627
4652
|
attr_accessor :blob_asset_id
|
|
4628
4653
|
|
|
4629
|
-
# Optional. Data
|
|
4654
|
+
# Optional. Data URI of the image. It is composed of four parts: a prefix (data:)
|
|
4630
4655
|
# , a MIME type indicating the type of data, an optional base64 token if non-
|
|
4631
4656
|
# textual, and the data itself: data:,
|
|
4632
4657
|
# Corresponds to the JSON property `dataUri`
|
|
4633
4658
|
# @return [String]
|
|
4634
4659
|
attr_accessor :data_uri
|
|
4635
4660
|
|
|
4636
|
-
# Optional. Google Cloud Storage
|
|
4661
|
+
# Optional. Google Cloud Storage URI of the image.
|
|
4637
4662
|
# Corresponds to the JSON property `gcsUri`
|
|
4638
4663
|
# @return [String]
|
|
4639
4664
|
attr_accessor :gcs_uri
|
|
@@ -4755,20 +4780,20 @@ module Google
|
|
|
4755
4780
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations]
|
|
4756
4781
|
attr_accessor :annotations
|
|
4757
4782
|
|
|
4758
|
-
# Optional. Asset
|
|
4783
|
+
# Optional. Asset ID of the inline image. If set, find the image content in the
|
|
4759
4784
|
# blob_assets field.
|
|
4760
4785
|
# Corresponds to the JSON property `blobAssetId`
|
|
4761
4786
|
# @return [String]
|
|
4762
4787
|
attr_accessor :blob_asset_id
|
|
4763
4788
|
|
|
4764
|
-
# Optional. Data
|
|
4789
|
+
# Optional. Data URI of the image. It is composed of four parts: a prefix (data:)
|
|
4765
4790
|
# , a MIME type indicating the type of data, an optional base64 token if non-
|
|
4766
4791
|
# textual, and the data itself: data:,
|
|
4767
4792
|
# Corresponds to the JSON property `dataUri`
|
|
4768
4793
|
# @return [String]
|
|
4769
4794
|
attr_accessor :data_uri
|
|
4770
4795
|
|
|
4771
|
-
# Optional. Google Cloud Storage
|
|
4796
|
+
# Optional. Google Cloud Storage URI of the image.
|
|
4772
4797
|
# Corresponds to the JSON property `gcsUri`
|
|
4773
4798
|
# @return [String]
|
|
4774
4799
|
attr_accessor :gcs_uri
|
|
@@ -5199,8 +5224,8 @@ module Google
|
|
|
5199
5224
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypeMoney]
|
|
5200
5225
|
attr_accessor :money_value
|
|
5201
5226
|
|
|
5202
|
-
# A signature
|
|
5203
|
-
# sign a document.
|
|
5227
|
+
# A signature, which is a graphical representation of a person's name, often
|
|
5228
|
+
# used to sign a document.
|
|
5204
5229
|
# Corresponds to the JSON property `signatureValue`
|
|
5205
5230
|
# @return [Boolean]
|
|
5206
5231
|
attr_accessor :signature_value
|
|
@@ -5376,7 +5401,7 @@ module Google
|
|
|
5376
5401
|
class GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
|
|
5377
5402
|
include Google::Apis::Core::Hashable
|
|
5378
5403
|
|
|
5379
|
-
#
|
|
5404
|
+
# ID of the document (indexed) managed by Content Warehouse.
|
|
5380
5405
|
# Corresponds to the JSON property `cwDocId`
|
|
5381
5406
|
# @return [String]
|
|
5382
5407
|
attr_accessor :cw_doc_id
|
|
@@ -5402,7 +5427,7 @@ module Google
|
|
|
5402
5427
|
class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
|
|
5403
5428
|
include Google::Apis::Core::Hashable
|
|
5404
5429
|
|
|
5405
|
-
# Required. The
|
|
5430
|
+
# Required. The ID of the document.
|
|
5406
5431
|
# Corresponds to the JSON property `docId`
|
|
5407
5432
|
# @return [String]
|
|
5408
5433
|
attr_accessor :doc_id
|
|
@@ -6575,7 +6600,7 @@ module Google
|
|
|
6575
6600
|
class GoogleCloudDocumentaiV1beta3DocumentProvenance
|
|
6576
6601
|
include Google::Apis::Core::Hashable
|
|
6577
6602
|
|
|
6578
|
-
# The
|
|
6603
|
+
# The ID of this operation. Needs to be unique within the scope of the revision.
|
|
6579
6604
|
# Corresponds to the JSON property `id`
|
|
6580
6605
|
# @return [Fixnum]
|
|
6581
6606
|
attr_accessor :id
|
|
@@ -6613,7 +6638,7 @@ module Google
|
|
|
6613
6638
|
class GoogleCloudDocumentaiV1beta3DocumentProvenanceParent
|
|
6614
6639
|
include Google::Apis::Core::Hashable
|
|
6615
6640
|
|
|
6616
|
-
# The
|
|
6641
|
+
# The ID of the parent provenance.
|
|
6617
6642
|
# Corresponds to the JSON property `id`
|
|
6618
6643
|
# @return [Fixnum]
|
|
6619
6644
|
attr_accessor :id
|
|
@@ -6645,7 +6670,7 @@ module Google
|
|
|
6645
6670
|
class GoogleCloudDocumentaiV1beta3DocumentRevision
|
|
6646
6671
|
include Google::Apis::Core::Hashable
|
|
6647
6672
|
|
|
6648
|
-
# If the change was made by a person specify the name or
|
|
6673
|
+
# If the change was made by a person specify the name or ID of that person.
|
|
6649
6674
|
# Corresponds to the JSON property `agent`
|
|
6650
6675
|
# @return [String]
|
|
6651
6676
|
attr_accessor :agent
|
|
@@ -6661,7 +6686,7 @@ module Google
|
|
|
6661
6686
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview]
|
|
6662
6687
|
attr_accessor :human_review
|
|
6663
6688
|
|
|
6664
|
-
#
|
|
6689
|
+
# ID of the revision, internally generated by doc proto storage. Unique within
|
|
6665
6690
|
# the context of the document.
|
|
6666
6691
|
# Corresponds to the JSON property `id`
|
|
6667
6692
|
# @return [String]
|
|
@@ -6743,7 +6768,7 @@ module Google
|
|
|
6743
6768
|
# @return [String]
|
|
6744
6769
|
attr_accessor :display_name
|
|
6745
6770
|
|
|
6746
|
-
# Optional. Document
|
|
6771
|
+
# Optional. Document-level prompt provided by the user. This custom text is
|
|
6747
6772
|
# injected into the AI model's prompt to provide extra, document-wide guidance
|
|
6748
6773
|
# for processing.
|
|
6749
6774
|
# Corresponds to the JSON property `documentPrompt`
|
|
@@ -6813,7 +6838,7 @@ module Google
|
|
|
6813
6838
|
# a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
|
|
6814
6839
|
# compatibility, internal infrastructure and tooling can handle any ASCII
|
|
6815
6840
|
# character.) - The `/` is sometimes used to denote a property of a type. For
|
|
6816
|
-
# example `line_item/amount`. This convention is deprecated, but will still be
|
|
6841
|
+
# example, `line_item/amount`. This convention is deprecated, but will still be
|
|
6817
6842
|
# honored for backward compatibility.
|
|
6818
6843
|
# Corresponds to the JSON property `name`
|
|
6819
6844
|
# @return [String]
|
|
@@ -7963,6 +7988,25 @@ module Google
|
|
|
7963
7988
|
end
|
|
7964
7989
|
end
|
|
7965
7990
|
|
|
7991
|
+
# Settings for grounding extractions.
|
|
7992
|
+
class GoogleCloudDocumentaiV1beta3GroundingSettings
|
|
7993
|
+
include Google::Apis::Core::Hashable
|
|
7994
|
+
|
|
7995
|
+
# The type of grounding to apply.
|
|
7996
|
+
# Corresponds to the JSON property `groundingType`
|
|
7997
|
+
# @return [String]
|
|
7998
|
+
attr_accessor :grounding_type
|
|
7999
|
+
|
|
8000
|
+
def initialize(**args)
|
|
8001
|
+
update!(**args)
|
|
8002
|
+
end
|
|
8003
|
+
|
|
8004
|
+
# Update properties of this object
|
|
8005
|
+
def update!(**args)
|
|
8006
|
+
@grounding_type = args[:grounding_type] if args.key?(:grounding_type)
|
|
8007
|
+
end
|
|
8008
|
+
end
|
|
8009
|
+
|
|
7966
8010
|
# The status of human review on a processed document.
|
|
7967
8011
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
|
7968
8012
|
include Google::Apis::Core::Hashable
|
|
@@ -9046,7 +9090,7 @@ module Google
|
|
|
9046
9090
|
|
|
9047
9091
|
# Optional. SchemaVersion used by the Processor. It is the same as Processor's
|
|
9048
9092
|
# DatasetSchema.schema_version Format is `projects/`project`/locations/`location`
|
|
9049
|
-
# /schemas/`schema`/schemaVersions/`schema_version
|
|
9093
|
+
# /schemas/`schema`/schemaVersions/`schema_version`.
|
|
9050
9094
|
# Corresponds to the JSON property `activeSchemaVersion`
|
|
9051
9095
|
# @return [String]
|
|
9052
9096
|
attr_accessor :active_schema_version
|
|
@@ -9250,6 +9294,11 @@ module Google
|
|
|
9250
9294
|
attr_accessor :google_managed
|
|
9251
9295
|
alias_method :google_managed?, :google_managed
|
|
9252
9296
|
|
|
9297
|
+
# Settings for grounding extractions.
|
|
9298
|
+
# Corresponds to the JSON property `groundingSettings`
|
|
9299
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GroundingSettings]
|
|
9300
|
+
attr_accessor :grounding_settings
|
|
9301
|
+
|
|
9253
9302
|
# Output only. The KMS key name used for encryption.
|
|
9254
9303
|
# Corresponds to the JSON property `kmsKeyName`
|
|
9255
9304
|
# @return [String]
|
|
@@ -9306,6 +9355,7 @@ module Google
|
|
|
9306
9355
|
@document_schema = args[:document_schema] if args.key?(:document_schema)
|
|
9307
9356
|
@gen_ai_model_info = args[:gen_ai_model_info] if args.key?(:gen_ai_model_info)
|
|
9308
9357
|
@google_managed = args[:google_managed] if args.key?(:google_managed)
|
|
9358
|
+
@grounding_settings = args[:grounding_settings] if args.key?(:grounding_settings)
|
|
9309
9359
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
|
9310
9360
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
|
9311
9361
|
@latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
|
|
@@ -9448,6 +9498,25 @@ module Google
|
|
|
9448
9498
|
end
|
|
9449
9499
|
end
|
|
9450
9500
|
|
|
9501
|
+
# Overrides to apply when creating a new processor version.
|
|
9502
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionOverrides
|
|
9503
|
+
include Google::Apis::Core::Hashable
|
|
9504
|
+
|
|
9505
|
+
# Settings for grounding extractions.
|
|
9506
|
+
# Corresponds to the JSON property `groundingSettings`
|
|
9507
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GroundingSettings]
|
|
9508
|
+
attr_accessor :grounding_settings
|
|
9509
|
+
|
|
9510
|
+
def initialize(**args)
|
|
9511
|
+
update!(**args)
|
|
9512
|
+
end
|
|
9513
|
+
|
|
9514
|
+
# Update properties of this object
|
|
9515
|
+
def update!(**args)
|
|
9516
|
+
@grounding_settings = args[:grounding_settings] if args.key?(:grounding_settings)
|
|
9517
|
+
end
|
|
9518
|
+
end
|
|
9519
|
+
|
|
9451
9520
|
# Metadata about a property.
|
|
9452
9521
|
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
|
9453
9522
|
include Google::Apis::Core::Hashable
|
|
@@ -9978,6 +10047,11 @@ module Google
|
|
|
9978
10047
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion]
|
|
9979
10048
|
attr_accessor :processor_version
|
|
9980
10049
|
|
|
10050
|
+
# Overrides to apply when creating a new processor version.
|
|
10051
|
+
# Corresponds to the JSON property `processorVersionOverrides`
|
|
10052
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionOverrides]
|
|
10053
|
+
attr_accessor :processor_version_overrides
|
|
10054
|
+
|
|
9981
10055
|
def initialize(**args)
|
|
9982
10056
|
update!(**args)
|
|
9983
10057
|
end
|
|
@@ -9990,6 +10064,7 @@ module Google
|
|
|
9990
10064
|
@foundation_model_tuning_options = args[:foundation_model_tuning_options] if args.key?(:foundation_model_tuning_options)
|
|
9991
10065
|
@input_data = args[:input_data] if args.key?(:input_data)
|
|
9992
10066
|
@processor_version = args[:processor_version] if args.key?(:processor_version)
|
|
10067
|
+
@processor_version_overrides = args[:processor_version_overrides] if args.key?(:processor_version_overrides)
|
|
9993
10068
|
end
|
|
9994
10069
|
end
|
|
9995
10070
|
|
|
@@ -10024,7 +10099,7 @@ module Google
|
|
|
10024
10099
|
# @return [Float]
|
|
10025
10100
|
attr_accessor :learning_rate_multiplier
|
|
10026
10101
|
|
|
10027
|
-
# Optional. Resource name of a previously fine tuned version
|
|
10102
|
+
# Optional. Resource name of a previously fine tuned version ID to copy the
|
|
10028
10103
|
# overwritten configs from. The base_processor_version should be newer than the
|
|
10029
10104
|
# base processor version used to fine tune this provided processor version.
|
|
10030
10105
|
# Format: `projects/`project`/locations/`location`/processors/`processor`/
|
|
@@ -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.129.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
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
|
|
|
@@ -1492,6 +1498,12 @@ module Google
|
|
|
1492
1498
|
include Google::Apis::Core::JsonObjectSupport
|
|
1493
1499
|
end
|
|
1494
1500
|
|
|
1501
|
+
class GoogleCloudDocumentaiV1beta3GroundingSettings
|
|
1502
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1503
|
+
|
|
1504
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1505
|
+
end
|
|
1506
|
+
|
|
1495
1507
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
|
1496
1508
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1497
1509
|
|
|
@@ -1732,6 +1744,12 @@ module Google
|
|
|
1732
1744
|
include Google::Apis::Core::JsonObjectSupport
|
|
1733
1745
|
end
|
|
1734
1746
|
|
|
1747
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionOverrides
|
|
1748
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1749
|
+
|
|
1750
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1751
|
+
end
|
|
1752
|
+
|
|
1735
1753
|
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
|
1736
1754
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1737
1755
|
|
|
@@ -2500,6 +2518,13 @@ module Google
|
|
|
2500
2518
|
end
|
|
2501
2519
|
end
|
|
2502
2520
|
|
|
2521
|
+
class GoogleCloudDocumentaiUiv1beta3GroundingSettings
|
|
2522
|
+
# @private
|
|
2523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2524
|
+
property :grounding_type, as: 'groundingType'
|
|
2525
|
+
end
|
|
2526
|
+
end
|
|
2527
|
+
|
|
2503
2528
|
class GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata
|
|
2504
2529
|
# @private
|
|
2505
2530
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2602,6 +2627,8 @@ module Google
|
|
|
2602
2627
|
property :gen_ai_model_info, as: 'genAiModelInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo::Representation
|
|
2603
2628
|
|
|
2604
2629
|
property :google_managed, as: 'googleManaged'
|
|
2630
|
+
property :grounding_settings, as: 'groundingSettings', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3GroundingSettings, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3GroundingSettings::Representation
|
|
2631
|
+
|
|
2605
2632
|
property :kms_key_name, as: 'kmsKeyName'
|
|
2606
2633
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
|
2607
2634
|
property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationReference::Representation
|
|
@@ -4436,6 +4463,13 @@ module Google
|
|
|
4436
4463
|
end
|
|
4437
4464
|
end
|
|
4438
4465
|
|
|
4466
|
+
class GoogleCloudDocumentaiV1beta3GroundingSettings
|
|
4467
|
+
# @private
|
|
4468
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4469
|
+
property :grounding_type, as: 'groundingType'
|
|
4470
|
+
end
|
|
4471
|
+
end
|
|
4472
|
+
|
|
4439
4473
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
|
4440
4474
|
# @private
|
|
4441
4475
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4800,6 +4834,8 @@ module Google
|
|
|
4800
4834
|
property :gen_ai_model_info, as: 'genAiModelInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo::Representation
|
|
4801
4835
|
|
|
4802
4836
|
property :google_managed, as: 'googleManaged'
|
|
4837
|
+
property :grounding_settings, as: 'groundingSettings', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GroundingSettings, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GroundingSettings::Representation
|
|
4838
|
+
|
|
4803
4839
|
property :kms_key_name, as: 'kmsKeyName'
|
|
4804
4840
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
|
4805
4841
|
property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference::Representation
|
|
@@ -4854,6 +4890,14 @@ module Google
|
|
|
4854
4890
|
end
|
|
4855
4891
|
end
|
|
4856
4892
|
|
|
4893
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionOverrides
|
|
4894
|
+
# @private
|
|
4895
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4896
|
+
property :grounding_settings, as: 'groundingSettings', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GroundingSettings, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GroundingSettings::Representation
|
|
4897
|
+
|
|
4898
|
+
end
|
|
4899
|
+
end
|
|
4900
|
+
|
|
4857
4901
|
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
|
4858
4902
|
# @private
|
|
4859
4903
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -5023,6 +5067,8 @@ module Google
|
|
|
5023
5067
|
|
|
5024
5068
|
property :processor_version, as: 'processorVersion', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion::Representation
|
|
5025
5069
|
|
|
5070
|
+
property :processor_version_overrides, as: 'processorVersionOverrides', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionOverrides, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionOverrides::Representation
|
|
5071
|
+
|
|
5026
5072
|
end
|
|
5027
5073
|
end
|
|
5028
5074
|
|
|
@@ -783,7 +783,7 @@ module Google
|
|
|
783
783
|
# Required. The resource name of the dataset that the document belongs to .
|
|
784
784
|
# Format: projects/`project`/locations/`location`/processors/`processor`/dataset
|
|
785
785
|
# @param [String] document_id_gcs_managed_doc_id_cw_doc_id
|
|
786
|
-
#
|
|
786
|
+
# ID of the document (indexed) managed by Content Warehouse.
|
|
787
787
|
# @param [String] document_id_gcs_managed_doc_id_gcs_uri
|
|
788
788
|
# Required. The Cloud Storage URI where the actual document is stored.
|
|
789
789
|
# @param [String] document_id_revision_ref_latest_processor_version
|
|
@@ -795,7 +795,7 @@ module Google
|
|
|
795
795
|
# @param [String] document_id_revision_ref_revision_id
|
|
796
796
|
# Reads the revision given by the id.
|
|
797
797
|
# @param [String] document_id_unmanaged_doc_id_doc_id
|
|
798
|
-
# Required. The
|
|
798
|
+
# Required. The ID of the document.
|
|
799
799
|
# @param [Fixnum] page_range_end
|
|
800
800
|
# Last page number (one-based index) to be returned.
|
|
801
801
|
# @param [Fixnum] page_range_start
|
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.129.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.129.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:
|