Skip to content

Commit 6db31e6

Browse files
feat: Automated regeneration of documentai v1beta3 client
1 parent 071ddd9 commit 6db31e6

File tree

5 files changed

+24
-6
lines changed

5 files changed

+24
-6
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238733,6 +238733,7 @@
238733238733
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow/cells": cells
238734238734
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow/cells/cell": cell
238735238735
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": google_cloud_documentai_v1beta3_document_document_layout_document_layout_block_layout_text_block
238736+
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock/annotations": annotations
238736238737
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock/blocks": blocks
238737238738
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock/blocks/block": block
238738238739
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock/text": text
@@ -239244,6 +239245,7 @@
239244239245
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3ProcessResponse/humanReviewOperation": human_review_operation
239245239246
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3ProcessResponse/humanReviewStatus": human_review_status
239246239247
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3Processor": google_cloud_documentai_v1beta3_processor
239248+
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3Processor/activeSchemaVersion": active_schema_version
239247239249
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3Processor/createTime": create_time
239248239250
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3Processor/defaultProcessorVersion": default_processor_version
239249239251
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3Processor/displayName": display_name

generated/google-apis-documentai_v1beta3/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-documentai_v1beta3
22

3-
### v0.111.0 (2025-09-14)
3+
### v0.111.0 (2025-09-21)
44

5-
* Regenerated from discovery document revision 20250908
5+
* Regenerated from discovery document revision 20250914
66

77
### v0.110.0 (2025-08-24)
88

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3720,6 +3720,11 @@ def update!(**args)
37203720
class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
37213721
include Google::Apis::Core::Hashable
37223722

3723+
# Represents the annotation of a block or a chunk.
3724+
# Corresponds to the JSON property `annotations`
3725+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations]
3726+
attr_accessor :annotations
3727+
37233728
# A text block could further have child blocks. Repeated blocks support further
37243729
# hierarchies and nested blocks.
37253730
# Corresponds to the JSON property `blocks`
@@ -3744,6 +3749,7 @@ def initialize(**args)
37443749

37453750
# Update properties of this object
37463751
def update!(**args)
3752+
@annotations = args[:annotations] if args.key?(:annotations)
37473753
@blocks = args[:blocks] if args.key?(:blocks)
37483754
@text = args[:text] if args.key?(:text)
37493755
@type = args[:type] if args.key?(:type)
@@ -6688,8 +6694,7 @@ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
66886694
attr_accessor :external_processor_version_source
66896695

66906696
# The source processor version to import from. The source processor version and
6691-
# destination processor need to be in the same environment and region. Note that
6692-
# ProcessorVersions with `model_type` `MODEL_TYPE_LLM` are not supported.
6697+
# destination processor need to be in the same environment and region.
66936698
# Corresponds to the JSON property `processorVersionSource`
66946699
# @return [String]
66956700
attr_accessor :processor_version_source
@@ -7403,6 +7408,13 @@ def update!(**args)
74037408
class GoogleCloudDocumentaiV1beta3Processor
74047409
include Google::Apis::Core::Hashable
74057410

7411+
# Optional. SchemaVersion used by the Processor. It is the same as Processor's
7412+
# DatasetSchema.schema_version Format is `projects/`project`/locations/`location`
7413+
# /schemas/`schema`/schemaVersions/`schema_version`
7414+
# Corresponds to the JSON property `activeSchemaVersion`
7415+
# @return [String]
7416+
attr_accessor :active_schema_version
7417+
74067418
# Output only. The time the processor was created.
74077419
# Corresponds to the JSON property `createTime`
74087420
# @return [String]
@@ -7470,6 +7482,7 @@ def initialize(**args)
74707482

74717483
# Update properties of this object
74727484
def update!(**args)
7485+
@active_schema_version = args[:active_schema_version] if args.key?(:active_schema_version)
74737486
@create_time = args[:create_time] if args.key?(:create_time)
74747487
@default_processor_version = args[:default_processor_version] if args.key?(:default_processor_version)
74757488
@display_name = args[:display_name] if args.key?(:display_name)
@@ -8236,7 +8249,7 @@ def update!(**args)
82368249
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
82378250
include Google::Apis::Core::Hashable
82388251

8239-
# Training method to use for CDE training.
8252+
# Optional. Training method to use for CDE training.
82408253
# Corresponds to the JSON property `trainingMethod`
82418254
# @return [String]
82428255
attr_accessor :training_method

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module DocumentaiV1beta3
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2975,6 +2975,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
29752975
class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
29762976
# @private
29772977
class Representation < Google::Apis::Core::JsonRepresentation
2978+
property :annotations, as: 'annotations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations::Representation
2979+
29782980
collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock::Representation
29792981

29802982
property :text, as: 'text'
@@ -4015,6 +4017,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
40154017
class GoogleCloudDocumentaiV1beta3Processor
40164018
# @private
40174019
class Representation < Google::Apis::Core::JsonRepresentation
4020+
property :active_schema_version, as: 'activeSchemaVersion'
40184021
property :create_time, as: 'createTime'
40194022
property :default_processor_version, as: 'defaultProcessorVersion'
40204023
property :display_name, as: 'displayName'

0 commit comments

Comments
 (0)