Skip to content

Commit 695b103

Browse files
feat: Automated regeneration of documentai v1 client (#26008)
Auto-created at 2026-03-22 10:02:55 +0000 using the toys pull request generator.
1 parent 90cd78f commit 695b103

5 files changed

Lines changed: 19 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256367,6 +256367,8 @@
256367256367
"/documentai:v1/GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions/trainingMethod": training_method
256368256368
"/documentai:v1/GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions": google_cloud_documentai_v1_train_processor_version_request_foundation_model_tuning_options
256369256369
"/documentai:v1/GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions/learningRateMultiplier": learning_rate_multiplier
256370+
? "/documentai:v1/GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions/previousFineTunedProcessorVersionName"
256371+
: previous_fine_tuned_processor_version_name
256370256372
"/documentai:v1/GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions/trainSteps": train_steps
256371256373
"/documentai:v1/GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData": google_cloud_documentai_v1_train_processor_version_request_input_data
256372256374
"/documentai:v1/GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData/testDocuments": test_documents

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.116.0 (2026-03-22)
4+
5+
* Regenerated from discovery document revision 20260316
6+
37
### v0.115.0 (2026-03-01)
48

59
* Regenerated from discovery document revision 20260224

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8091,6 +8091,15 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOp
80918091
# @return [Float]
80928092
attr_accessor :learning_rate_multiplier
80938093

8094+
# Optional. Resource name of a previously fine tuned version id to copy the
8095+
# overwritten configs from. The base_processor_version should be newer than the
8096+
# base processor version used to fine tune this provided processor version.
8097+
# Format: `projects/`project`/locations/`location`/processors/`processor`/
8098+
# processorVersions/`processorVersion``.
8099+
# Corresponds to the JSON property `previousFineTunedProcessorVersionName`
8100+
# @return [String]
8101+
attr_accessor :previous_fine_tuned_processor_version_name
8102+
80948103
# Optional. The number of steps to run for model tuning. Valid values are
80958104
# between 1 and 400. If not provided, recommended steps will be used.
80968105
# Corresponds to the JSON property `trainSteps`
@@ -8104,6 +8113,7 @@ def initialize(**args)
81048113
# Update properties of this object
81058114
def update!(**args)
81068115
@learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
8116+
@previous_fine_tuned_processor_version_name = args[:previous_fine_tuned_processor_version_name] if args.key?(:previous_fine_tuned_processor_version_name)
81078117
@train_steps = args[:train_steps] if args.key?(:train_steps)
81088118
end
81098119
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.115.0"
19+
GEM_VERSION = "0.116.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 = "20260224"
25+
REVISION = "20260316"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4384,6 +4384,7 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOp
43844384
# @private
43854385
class Representation < Google::Apis::Core::JsonRepresentation
43864386
property :learning_rate_multiplier, as: 'learningRateMultiplier'
4387+
property :previous_fine_tuned_processor_version_name, as: 'previousFineTunedProcessorVersionName'
43874388
property :train_steps, as: 'trainSteps'
43884389
end
43894390
end

0 commit comments

Comments
 (0)