Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of DocumentAI client #12425

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/document_ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_document_ai, "~> 0.44"}]
[{:google_api_document_ai, "~> 0.45"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.DocumentAI.V1beta3 do
API client metadata for GoogleApi.DocumentAI.V1beta3.
"""

@discovery_revision "20240911"
@discovery_revision "20241025"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ defmodule GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3Dataset

* `documentSchema` (*type:* `GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentSchema.t`, *default:* `nil`) - Optional. Schema of the dataset.
* `name` (*type:* `String.t`, *default:* `nil`) - Dataset schema resource name. Format: `projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema`
* `satisfiesPzi` (*type:* `boolean()`, *default:* `nil`) - Output only. Reserved for future use.
* `satisfiesPzs` (*type:* `boolean()`, *default:* `nil`) - Output only. Reserved for future use.
"""

use GoogleApi.Gax.ModelBase
Expand All @@ -31,14 +33,18 @@ defmodule GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3Dataset
:documentSchema =>
GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentSchema.t()
| nil,
:name => String.t() | nil
:name => String.t() | nil,
:satisfiesPzi => boolean() | nil,
:satisfiesPzs => boolean() | nil
}

field(:documentSchema,
as: GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentSchema
)

field(:name)
field(:satisfiesPzi)
field(:satisfiesPzs)
end

defimpl Poison.Decoder,
Expand Down
2 changes: 1 addition & 1 deletion clients/document_ai/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.DocumentAI.Mixfile do
use Mix.Project

@version "0.44.0"
@version "0.45.0"

def project() do
[
Expand Down
Loading