Skip to content

Commit 7ce8ed1

Browse files
feat: Automated regeneration of documentai v1 client (#25443)
Auto-created at 2026-01-25 09:33:35 +0000 using the toys pull request generator.
1 parent 561f272 commit 7ce8ed1

File tree

5 files changed

+26
-2
lines changed

5 files changed

+26
-2
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248981,6 +248981,7 @@
248981248981
"/documentai:v1/GoogleCloudDocumentaiV1DocumentSchema": google_cloud_documentai_v1_document_schema
248982248982
"/documentai:v1/GoogleCloudDocumentaiV1DocumentSchema/description": description
248983248983
"/documentai:v1/GoogleCloudDocumentaiV1DocumentSchema/displayName": display_name
248984+
"/documentai:v1/GoogleCloudDocumentaiV1DocumentSchema/documentPrompt": document_prompt
248984248985
"/documentai:v1/GoogleCloudDocumentaiV1DocumentSchema/entityTypes": entity_types
248985248986
"/documentai:v1/GoogleCloudDocumentaiV1DocumentSchema/entityTypes/entity_type": entity_type
248986248987
"/documentai:v1/GoogleCloudDocumentaiV1DocumentSchema/metadata": metadata
@@ -250151,6 +250152,7 @@
250151250152
"/documentai:v1/GoogleCloudDocumentaiV1beta3DocumentSchema": google_cloud_documentai_v1beta3_document_schema
250152250153
"/documentai:v1/GoogleCloudDocumentaiV1beta3DocumentSchema/description": description
250153250154
"/documentai:v1/GoogleCloudDocumentaiV1beta3DocumentSchema/displayName": display_name
250155+
"/documentai:v1/GoogleCloudDocumentaiV1beta3DocumentSchema/documentPrompt": document_prompt
250154250156
"/documentai:v1/GoogleCloudDocumentaiV1beta3DocumentSchema/entityTypes": entity_types
250155250157
"/documentai:v1/GoogleCloudDocumentaiV1beta3DocumentSchema/entityTypes/entity_type": entity_type
250156250158
"/documentai:v1/GoogleCloudDocumentaiV1beta3DocumentSchema/metadata": metadata

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.113.0 (2026-01-25)
4+
5+
* Regenerated from discovery document revision 20260118
6+
37
### v0.112.0 (2026-01-11)
48

59
* Regenerated from discovery document revision 20260104

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5458,6 +5458,13 @@ class GoogleCloudDocumentaiV1DocumentSchema
54585458
# @return [String]
54595459
attr_accessor :display_name
54605460

5461+
# Optional. Document level prompt provided by the user. This custom text is
5462+
# injected into the AI model's prompt to provide extra, document-wide guidance
5463+
# for processing.
5464+
# Corresponds to the JSON property `documentPrompt`
5465+
# @return [String]
5466+
attr_accessor :document_prompt
5467+
54615468
# Entity types of the schema.
54625469
# Corresponds to the JSON property `entityTypes`
54635470
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityType>]
@@ -5476,6 +5483,7 @@ def initialize(**args)
54765483
def update!(**args)
54775484
@description = args[:description] if args.key?(:description)
54785485
@display_name = args[:display_name] if args.key?(:display_name)
5486+
@document_prompt = args[:document_prompt] if args.key?(:document_prompt)
54795487
@entity_types = args[:entity_types] if args.key?(:entity_types)
54805488
@metadata = args[:metadata] if args.key?(:metadata)
54815489
end
@@ -8730,6 +8738,13 @@ class GoogleCloudDocumentaiV1beta3DocumentSchema
87308738
# @return [String]
87318739
attr_accessor :display_name
87328740

8741+
# Optional. Document level prompt provided by the user. This custom text is
8742+
# injected into the AI model's prompt to provide extra, document-wide guidance
8743+
# for processing.
8744+
# Corresponds to the JSON property `documentPrompt`
8745+
# @return [String]
8746+
attr_accessor :document_prompt
8747+
87338748
# Entity types of the schema.
87348749
# Corresponds to the JSON property `entityTypes`
87358750
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType>]
@@ -8748,6 +8763,7 @@ def initialize(**args)
87488763
def update!(**args)
87498764
@description = args[:description] if args.key?(:description)
87508765
@display_name = args[:display_name] if args.key?(:display_name)
8766+
@document_prompt = args[:document_prompt] if args.key?(:document_prompt)
87518767
@entity_types = args[:entity_types] if args.key?(:entity_types)
87528768
@metadata = args[:metadata] if args.key?(:metadata)
87538769
end

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.112.0"
19+
GEM_VERSION = "0.113.0"
2020

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

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3619,6 +3619,7 @@ class GoogleCloudDocumentaiV1DocumentSchema
36193619
class Representation < Google::Apis::Core::JsonRepresentation
36203620
property :description, as: 'description'
36213621
property :display_name, as: 'displayName'
3622+
property :document_prompt, as: 'documentPrompt'
36223623
collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityType, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityType::Representation
36233624

36243625
property :metadata, as: 'metadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaMetadata::Representation
@@ -4608,6 +4609,7 @@ class GoogleCloudDocumentaiV1beta3DocumentSchema
46084609
class Representation < Google::Apis::Core::JsonRepresentation
46094610
property :description, as: 'description'
46104611
property :display_name, as: 'displayName'
4612+
property :document_prompt, as: 'documentPrompt'
46114613
collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType::Representation
46124614

46134615
property :metadata, as: 'metadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata::Representation

0 commit comments

Comments
 (0)