Skip to content

Commit 53886e2

Browse files
feat: Automated regeneration of documentai v1 client (googleapis#27335)
Auto-created at 2026-07-12 11:50:36 +0000 using the toys pull request generator.
1 parent d2836d1 commit 53886e2

3 files changed

Lines changed: 38 additions & 34 deletions

File tree

generated/google-apis-documentai_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-documentai_v1
22

3+
### v0.120.0 (2026-07-12)
4+
5+
* Regenerated from discovery document revision 20260706
6+
37
### v0.119.0 (2026-06-14)
48

59
* Regenerated using generator version 0.19.0

generated/google-apis-documentai_v1/lib/google/apis/documentai_v1/classes.rb

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ def update!(**args)
887887
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
888888
include Google::Apis::Core::Hashable
889889

890-
# Id of the document (indexed) managed by Content Warehouse.
890+
# ID of the document (indexed) managed by Content Warehouse.
891891
# Corresponds to the JSON property `cwDocId`
892892
# @return [String]
893893
attr_accessor :cw_doc_id
@@ -913,7 +913,7 @@ def update!(**args)
913913
class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId
914914
include Google::Apis::Core::Hashable
915915

916-
# Required. The id of the document.
916+
# Required. The ID of the document.
917917
# Corresponds to the JSON property `docId`
918918
# @return [String]
919919
attr_accessor :doc_id
@@ -942,7 +942,7 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchema
942942
# @return [String]
943943
attr_accessor :display_name
944944

945-
# Optional. Document level prompt provided by the user. This custom text is
945+
# Optional. Document-level prompt provided by the user. This custom text is
946946
# injected into the AI model's prompt to provide extra, document-wide guidance
947947
# for processing.
948948
# Corresponds to the JSON property `documentPrompt`
@@ -1012,7 +1012,7 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType
10121012
# a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
10131013
# compatibility, internal infrastructure and tooling can handle any ASCII
10141014
# 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
10161016
# honored for backward compatibility.
10171017
# Corresponds to the JSON property `name`
10181018
# @return [String]
@@ -1827,7 +1827,7 @@ class GoogleCloudDocumentaiUiv1beta3Processor
18271827

18281828
# Optional. SchemaVersion used by the Processor. It is the same as Processor's
18291829
# DatasetSchema.schema_version Format is `projects/`project`/locations/`location`
1830-
# /schemas/`schema`/schemaVersions/`schema_version`
1830+
# /schemas/`schema`/schemaVersions/`schema_version`.
18311831
# Corresponds to the JSON property `activeSchemaVersion`
18321832
# @return [String]
18331833
attr_accessor :active_schema_version
@@ -3298,7 +3298,7 @@ class GoogleCloudDocumentaiV1Document
32983298

32993299
# Optional. The blob assets in this document. This is used to store the content
33003300
# of the inline blobs in this document, for example, image bytes, such that it
3301-
# can be referenced by other fields in the document via asset id.
3301+
# can be referenced by other fields in the document via asset ID.
33023302
# Corresponds to the JSON property `blobAssets`
33033303
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentBlobAsset>]
33043304
attr_accessor :blob_assets
@@ -3334,10 +3334,10 @@ class GoogleCloudDocumentaiV1Document
33343334
attr_accessor :entities
33353335

33363336
# The entity revision ID that `document.entities` field is based on. If this
3337-
# field is set and `entities_revisions` is not empty, the entities in `document.
3338-
# entities` field are the entities in the entity revision with this id and `
3339-
# document.entity_validation_output` field is the `entity_validation_output`
3340-
# field in this entity revision.
3337+
# field and `entities_revisions` are set, the entities in `document.entities`
3338+
# are the entities in the entity revision with this ID. The `document.
3339+
# entity_validation_output` field is the `entity_validation_output` field in
3340+
# this entity revision.
33413341
# Corresponds to the JSON property `entitiesRevisionId`
33423342
# @return [String]
33433343
attr_accessor :entities_revision_id
@@ -3469,7 +3469,7 @@ def update!(**args)
34693469
class GoogleCloudDocumentaiV1DocumentBlobAsset
34703470
include Google::Apis::Core::Hashable
34713471

3472-
# Optional. The id of the blob asset.
3472+
# Optional. The ID of the blob asset.
34733473
# Corresponds to the JSON property `assetId`
34743474
# @return [String]
34753475
attr_accessor :asset_id
@@ -3682,20 +3682,20 @@ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField
36823682
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentAnnotations]
36833683
attr_accessor :annotations
36843684

3685-
# Optional. Asset id of the inline image. If set, find the image content in the
3685+
# Optional. Asset ID of the inline image. If set, find the image content in the
36863686
# blob_assets field.
36873687
# Corresponds to the JSON property `blobAssetId`
36883688
# @return [String]
36893689
attr_accessor :blob_asset_id
36903690

3691-
# Optional. Data uri of the image. It is composed of four parts: a prefix (data:)
3691+
# Optional. Data URI of the image. It is composed of four parts: a prefix (data:)
36923692
# , a MIME type indicating the type of data, an optional base64 token if non-
36933693
# textual, and the data itself: data:,
36943694
# Corresponds to the JSON property `dataUri`
36953695
# @return [String]
36963696
attr_accessor :data_uri
36973697

3698-
# Optional. Google Cloud Storage uri of the image.
3698+
# Optional. Google Cloud Storage URI of the image.
36993699
# Corresponds to the JSON property `gcsUri`
37003700
# @return [String]
37013701
attr_accessor :gcs_uri
@@ -3817,20 +3817,20 @@ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImag
38173817
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentAnnotations]
38183818
attr_accessor :annotations
38193819

3820-
# Optional. Asset id of the inline image. If set, find the image content in the
3820+
# Optional. Asset ID of the inline image. If set, find the image content in the
38213821
# blob_assets field.
38223822
# Corresponds to the JSON property `blobAssetId`
38233823
# @return [String]
38243824
attr_accessor :blob_asset_id
38253825

3826-
# Optional. Data uri of the image. It is composed of four parts: a prefix (data:)
3826+
# Optional. Data URI of the image. It is composed of four parts: a prefix (data:)
38273827
# , a MIME type indicating the type of data, an optional base64 token if non-
38283828
# textual, and the data itself: data:,
38293829
# Corresponds to the JSON property `dataUri`
38303830
# @return [String]
38313831
attr_accessor :data_uri
38323832

3833-
# Optional. Google Cloud Storage uri of the image.
3833+
# Optional. Google Cloud Storage URI of the image.
38343834
# Corresponds to the JSON property `gcsUri`
38353835
# @return [String]
38363836
attr_accessor :gcs_uri
@@ -4261,8 +4261,8 @@ class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue
42614261
# @return [Google::Apis::DocumentaiV1::GoogleTypeMoney]
42624262
attr_accessor :money_value
42634263

4264-
# A signature - a graphical representation of a person's name, often used to
4265-
# sign a document.
4264+
# A signature, which is a graphical representation of a person's name, often
4265+
# used to sign a document.
42664266
# Corresponds to the JSON property `signatureValue`
42674267
# @return [Boolean]
42684268
attr_accessor :signature_value
@@ -5515,7 +5515,7 @@ def update!(**args)
55155515
class GoogleCloudDocumentaiV1DocumentProvenance
55165516
include Google::Apis::Core::Hashable
55175517

5518-
# The Id of this operation. Needs to be unique within the scope of the revision.
5518+
# The ID of this operation. Needs to be unique within the scope of the revision.
55195519
# Corresponds to the JSON property `id`
55205520
# @return [Fixnum]
55215521
attr_accessor :id
@@ -5553,7 +5553,7 @@ def update!(**args)
55535553
class GoogleCloudDocumentaiV1DocumentProvenanceParent
55545554
include Google::Apis::Core::Hashable
55555555

5556-
# The id of the parent provenance.
5556+
# The ID of the parent provenance.
55575557
# Corresponds to the JSON property `id`
55585558
# @return [Fixnum]
55595559
attr_accessor :id
@@ -5585,7 +5585,7 @@ def update!(**args)
55855585
class GoogleCloudDocumentaiV1DocumentRevision
55865586
include Google::Apis::Core::Hashable
55875587

5588-
# If the change was made by a person specify the name or id of that person.
5588+
# If the change was made by a person specify the name or ID of that person.
55895589
# Corresponds to the JSON property `agent`
55905590
# @return [String]
55915591
attr_accessor :agent
@@ -5601,7 +5601,7 @@ class GoogleCloudDocumentaiV1DocumentRevision
56015601
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentRevisionHumanReview]
56025602
attr_accessor :human_review
56035603

5604-
# Id of the revision, internally generated by doc proto storage. Unique within
5604+
# ID of the revision, internally generated by doc proto storage. Unique within
56055605
# the context of the document.
56065606
# Corresponds to the JSON property `id`
56075607
# @return [String]
@@ -5683,7 +5683,7 @@ class GoogleCloudDocumentaiV1DocumentSchema
56835683
# @return [String]
56845684
attr_accessor :display_name
56855685

5686-
# Optional. Document level prompt provided by the user. This custom text is
5686+
# Optional. Document-level prompt provided by the user. This custom text is
56875687
# injected into the AI model's prompt to provide extra, document-wide guidance
56885688
# for processing.
56895689
# Corresponds to the JSON property `documentPrompt`
@@ -5742,7 +5742,7 @@ class GoogleCloudDocumentaiV1DocumentSchemaEntityType
57425742
# a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
57435743
# compatibility, internal infrastructure and tooling can handle any ASCII
57445744
# character.) - The `/` is sometimes used to denote a property of a type. For
5745-
# example `line_item/amount`. This convention is deprecated, but will still be
5745+
# example, `line_item/amount`. This convention is deprecated, but will still be
57465746
# honored for backward compatibility.
57475747
# Corresponds to the JSON property `name`
57485748
# @return [String]
@@ -7455,7 +7455,7 @@ class GoogleCloudDocumentaiV1Processor
74557455

74567456
# Optional. SchemaVersion used by the Processor. It is the same as Processor's
74577457
# DatasetSchema.schema_version Format is `projects/`project`/locations/`location`
7458-
# /schemas/`schema`/schemaVersions/`schema_version`
7458+
# /schemas/`schema`/schemaVersions/`schema_version`.
74597459
# Corresponds to the JSON property `activeSchemaVersion`
74607460
# @return [String]
74617461
attr_accessor :active_schema_version
@@ -8315,7 +8315,7 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOp
83158315
# @return [Float]
83168316
attr_accessor :learning_rate_multiplier
83178317

8318-
# Optional. Resource name of a previously fine tuned version id to copy the
8318+
# Optional. Resource name of a previously fine tuned version ID to copy the
83198319
# overwritten configs from. The base_processor_version should be newer than the
83208320
# base processor version used to fine tune this provided processor version.
83218321
# Format: `projects/`project`/locations/`location`/processors/`processor`/
@@ -8949,7 +8949,7 @@ def update!(**args)
89498949
class GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
89508950
include Google::Apis::Core::Hashable
89518951

8952-
# Id of the document (indexed) managed by Content Warehouse.
8952+
# ID of the document (indexed) managed by Content Warehouse.
89538953
# Corresponds to the JSON property `cwDocId`
89548954
# @return [String]
89558955
attr_accessor :cw_doc_id
@@ -8975,7 +8975,7 @@ def update!(**args)
89758975
class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
89768976
include Google::Apis::Core::Hashable
89778977

8978-
# Required. The id of the document.
8978+
# Required. The ID of the document.
89798979
# Corresponds to the JSON property `docId`
89808980
# @return [String]
89818981
attr_accessor :doc_id
@@ -9004,7 +9004,7 @@ class GoogleCloudDocumentaiV1beta3DocumentSchema
90049004
# @return [String]
90059005
attr_accessor :display_name
90069006

9007-
# Optional. Document level prompt provided by the user. This custom text is
9007+
# Optional. Document-level prompt provided by the user. This custom text is
90089008
# injected into the AI model's prompt to provide extra, document-wide guidance
90099009
# for processing.
90109010
# Corresponds to the JSON property `documentPrompt`
@@ -9074,7 +9074,7 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType
90749074
# a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
90759075
# compatibility, internal infrastructure and tooling can handle any ASCII
90769076
# character.) - The `/` is sometimes used to denote a property of a type. For
9077-
# example `line_item/amount`. This convention is deprecated, but will still be
9077+
# example, `line_item/amount`. This convention is deprecated, but will still be
90789078
# honored for backward compatibility.
90799079
# Corresponds to the JSON property `name`
90809080
# @return [String]
@@ -9665,7 +9665,7 @@ class GoogleCloudDocumentaiV1beta3Processor
96659665

96669666
# Optional. SchemaVersion used by the Processor. It is the same as Processor's
96679667
# DatasetSchema.schema_version Format is `projects/`project`/locations/`location`
9668-
# /schemas/`schema`/schemaVersions/`schema_version`
9668+
# /schemas/`schema`/schemaVersions/`schema_version`.
96699669
# Corresponds to the JSON property `activeSchemaVersion`
96709670
# @return [String]
96719671
attr_accessor :active_schema_version

generated/google-apis-documentai_v1/lib/google/apis/documentai_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DocumentaiV1
1818
# Version of the google-apis-documentai_v1 gem
19-
GEM_VERSION = "0.119.0"
19+
GEM_VERSION = "0.120.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260503"
25+
REVISION = "20260706"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)