Skip to content

Commit c7b8544

Browse files
feat: Automated regeneration of DocumentAI client (googleapis#12868)
Auto-created at 2025-01-25 13:12:46 +0000 using the toys pull request generator.
1 parent 6fb0b68 commit c7b8544

File tree

6 files changed

+20
-6
lines changed

6 files changed

+20
-6
lines changed

clients/document_ai/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_document_ai, "~> 0.45"}]
14+
[{:google_api_document_ai, "~> 0.46"}]
1515
end
1616
```
1717

clients/document_ai/lib/google_api/document_ai/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.DocumentAI.V1 do
2020
API client metadata for GoogleApi.DocumentAI.V1.
2121
"""
2222

23-
@discovery_revision "20241210"
23+
@discovery_revision "20250117"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_process_options_layout_config.ex

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,27 @@ defmodule GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessOptionsLay
2222
## Attributes
2323
2424
* `chunkingConfig` (*type:* `GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig.t`, *default:* `nil`) - Optional. Config for chunking in layout parser processor.
25+
* `returnBoundingBoxes` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether to include bounding boxes in layout parser processor response.
26+
* `returnImages` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether to include images in layout parser processor response.
2527
"""
2628

2729
use GoogleApi.Gax.ModelBase
2830

2931
@type t :: %__MODULE__{
3032
:chunkingConfig =>
3133
GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig.t()
32-
| nil
34+
| nil,
35+
:returnBoundingBoxes => boolean() | nil,
36+
:returnImages => boolean() | nil
3337
}
3438

3539
field(:chunkingConfig,
3640
as:
3741
GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig
3842
)
43+
44+
field(:returnBoundingBoxes)
45+
field(:returnImages)
3946
end
4047

4148
defimpl Poison.Decoder,

clients/document_ai/lib/google_api/document_ai/v1beta3/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.DocumentAI.V1beta3 do
2020
API client metadata for GoogleApi.DocumentAI.V1beta3.
2121
"""
2222

23-
@discovery_revision "20241210"
23+
@discovery_revision "20250117"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_process_options_layout_config.ex

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,27 @@ defmodule GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3Process
2222
## Attributes
2323
2424
* `chunkingConfig` (*type:* `GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig.t`, *default:* `nil`) - Optional. Config for chunking in layout parser processor.
25+
* `returnBoundingBoxes` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether to include bounding boxes in layout parser processor response.
26+
* `returnImages` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether to include images in layout parser processor response.
2527
"""
2628

2729
use GoogleApi.Gax.ModelBase
2830

2931
@type t :: %__MODULE__{
3032
:chunkingConfig =>
3133
GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig.t()
32-
| nil
34+
| nil,
35+
:returnBoundingBoxes => boolean() | nil,
36+
:returnImages => boolean() | nil
3337
}
3438

3539
field(:chunkingConfig,
3640
as:
3741
GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig
3842
)
43+
44+
field(:returnBoundingBoxes)
45+
field(:returnImages)
3946
end
4047

4148
defimpl Poison.Decoder,

clients/document_ai/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.DocumentAI.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.45.1"
21+
@version "0.46.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)