Skip to content

Commit 31122bf

Browse files
feat: Automated regeneration of documentai v1 client (googleapis#21449)
Auto-created at 2025-01-26 09:24:34 +0000 using the toys pull request generator.
1 parent 65c86c4 commit 31122bf

File tree

5 files changed

+27
-3
lines changed

5 files changed

+27
-3
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212914,6 +212914,8 @@
212914212914
"/documentai:v1/GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector/pages/page": page
212915212915
"/documentai:v1/GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig": google_cloud_documentai_v1_process_options_layout_config
212916212916
"/documentai:v1/GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig/chunkingConfig": chunking_config
212917+
"/documentai:v1/GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig/returnBoundingBoxes": return_bounding_boxes
212918+
"/documentai:v1/GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig/returnImages": return_images
212917212919
"/documentai:v1/GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig": google_cloud_documentai_v1_process_options_layout_config_chunking_config
212918212920
"/documentai:v1/GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig/chunkSize": chunk_size
212919212921
"/documentai:v1/GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig/includeAncestorHeadings": include_ancestor_headings

generated/google-apis-documentai_v1/CHANGELOG.md

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

3+
### v0.93.0 (2025-01-26)
4+
5+
* Regenerated from discovery document revision 20250117
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.92.0 (2024-12-15)
49

510
* Regenerated from discovery document revision 20241210

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5156,13 +5156,28 @@ class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
51565156
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig]
51575157
attr_accessor :chunking_config
51585158

5159+
# Optional. Whether to include bounding boxes in layout parser processor
5160+
# response.
5161+
# Corresponds to the JSON property `returnBoundingBoxes`
5162+
# @return [Boolean]
5163+
attr_accessor :return_bounding_boxes
5164+
alias_method :return_bounding_boxes?, :return_bounding_boxes
5165+
5166+
# Optional. Whether to include images in layout parser processor response.
5167+
# Corresponds to the JSON property `returnImages`
5168+
# @return [Boolean]
5169+
attr_accessor :return_images
5170+
alias_method :return_images?, :return_images
5171+
51595172
def initialize(**args)
51605173
update!(**args)
51615174
end
51625175

51635176
# Update properties of this object
51645177
def update!(**args)
51655178
@chunking_config = args[:chunking_config] if args.key?(:chunking_config)
5179+
@return_bounding_boxes = args[:return_bounding_boxes] if args.key?(:return_bounding_boxes)
5180+
@return_images = args[:return_images] if args.key?(:return_images)
51665181
end
51675182
end
51685183

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

Lines changed: 3 additions & 3 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.92.0"
19+
GEM_VERSION = "0.93.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241210"
25+
REVISION = "20250117"
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
@@ -3101,6 +3101,8 @@ class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
31013101
class Representation < Google::Apis::Core::JsonRepresentation
31023102
property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig::Representation
31033103

3104+
property :return_bounding_boxes, as: 'returnBoundingBoxes'
3105+
property :return_images, as: 'returnImages'
31043106
end
31053107
end
31063108

0 commit comments

Comments
 (0)