Skip to content

Commit 05dee37

Browse files
feat: Automated regeneration of Vault client (googleapis#12926)
Auto-created at 2025-02-05 13:15:47 +0000 using the toys pull request generator.
1 parent a6f1b97 commit 05dee37

File tree

7 files changed

+96
-3
lines changed

7 files changed

+96
-3
lines changed

clients/vault/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_vault, "~> 0.24"}]
14+
[{:google_api_vault, "~> 0.25"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20250124"
23+
@discovery_revision "20250130"
2424

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

clients/vault/lib/google_api/vault/v1/model/export_options.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ defmodule GoogleApi.Vault.V1.Model.ExportOptions do
2323
2424
* `calendarOptions` (*type:* `GoogleApi.Vault.V1.Model.CalendarExportOptions.t`, *default:* `nil`) - Option available for Calendar export.
2525
* `driveOptions` (*type:* `GoogleApi.Vault.V1.Model.DriveExportOptions.t`, *default:* `nil`) - Options for Drive exports.
26+
* `geminiOptions` (*type:* `GoogleApi.Vault.V1.Model.GeminiExportOptions.t`, *default:* `nil`) - Option available for Gemini export.
2627
* `groupsOptions` (*type:* `GoogleApi.Vault.V1.Model.GroupsExportOptions.t`, *default:* `nil`) - Options for Groups exports.
2728
* `hangoutsChatOptions` (*type:* `GoogleApi.Vault.V1.Model.HangoutsChatExportOptions.t`, *default:* `nil`) - Options for Chat exports.
2829
* `mailOptions` (*type:* `GoogleApi.Vault.V1.Model.MailExportOptions.t`, *default:* `nil`) - Options for Gmail exports.
@@ -35,6 +36,7 @@ defmodule GoogleApi.Vault.V1.Model.ExportOptions do
3536
@type t :: %__MODULE__{
3637
:calendarOptions => GoogleApi.Vault.V1.Model.CalendarExportOptions.t() | nil,
3738
:driveOptions => GoogleApi.Vault.V1.Model.DriveExportOptions.t() | nil,
39+
:geminiOptions => GoogleApi.Vault.V1.Model.GeminiExportOptions.t() | nil,
3840
:groupsOptions => GoogleApi.Vault.V1.Model.GroupsExportOptions.t() | nil,
3941
:hangoutsChatOptions => GoogleApi.Vault.V1.Model.HangoutsChatExportOptions.t() | nil,
4042
:mailOptions => GoogleApi.Vault.V1.Model.MailExportOptions.t() | nil,
@@ -44,6 +46,7 @@ defmodule GoogleApi.Vault.V1.Model.ExportOptions do
4446

4547
field(:calendarOptions, as: GoogleApi.Vault.V1.Model.CalendarExportOptions)
4648
field(:driveOptions, as: GoogleApi.Vault.V1.Model.DriveExportOptions)
49+
field(:geminiOptions, as: GoogleApi.Vault.V1.Model.GeminiExportOptions)
4750
field(:groupsOptions, as: GoogleApi.Vault.V1.Model.GroupsExportOptions)
4851
field(:hangoutsChatOptions, as: GoogleApi.Vault.V1.Model.HangoutsChatExportOptions)
4952
field(:mailOptions, as: GoogleApi.Vault.V1.Model.MailExportOptions)
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Vault.V1.Model.GeminiExportOptions do
19+
@moduledoc """
20+
The options for Gemini exports.
21+
22+
## Attributes
23+
24+
* `exportFormat` (*type:* `String.t`, *default:* `nil`) - The file format for exported messages.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:exportFormat => String.t() | nil
31+
}
32+
33+
field(:exportFormat)
34+
end
35+
36+
defimpl Poison.Decoder, for: GoogleApi.Vault.V1.Model.GeminiExportOptions do
37+
def decode(value, options) do
38+
GoogleApi.Vault.V1.Model.GeminiExportOptions.decode(value, options)
39+
end
40+
end
41+
42+
defimpl Poison.Encoder, for: GoogleApi.Vault.V1.Model.GeminiExportOptions do
43+
def encode(value, options) do
44+
GoogleApi.Gax.ModelBase.encode(value, options)
45+
end
46+
end
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Vault.V1.Model.GeminiOptions do
19+
@moduledoc """
20+
Additional options for Gemini search
21+
22+
## Attributes
23+
24+
"""
25+
26+
use GoogleApi.Gax.ModelBase
27+
28+
@type t :: %__MODULE__{}
29+
end
30+
31+
defimpl Poison.Decoder, for: GoogleApi.Vault.V1.Model.GeminiOptions do
32+
def decode(value, options) do
33+
GoogleApi.Vault.V1.Model.GeminiOptions.decode(value, options)
34+
end
35+
end
36+
37+
defimpl Poison.Encoder, for: GoogleApi.Vault.V1.Model.GeminiOptions do
38+
def encode(value, options) do
39+
GoogleApi.Gax.ModelBase.encode(value, options)
40+
end
41+
end

clients/vault/lib/google_api/vault/v1/model/query.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ defmodule GoogleApi.Vault.V1.Model.Query do
2727
* `dataScope` (*type:* `String.t`, *default:* `nil`) - The data source to search.
2828
* `driveOptions` (*type:* `GoogleApi.Vault.V1.Model.DriveOptions.t`, *default:* `nil`) - Set Drive search-specific options.
2929
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
30+
* `geminiOptions` (*type:* `GoogleApi.Vault.V1.Model.GeminiOptions.t`, *default:* `nil`) - Set Gemini search-specific options.
3031
* `hangoutsChatInfo` (*type:* `GoogleApi.Vault.V1.Model.HangoutsChatInfo.t`, *default:* `nil`) - Required when **SearchMethod** is **ROOM**. (read-only)
3132
* `hangoutsChatOptions` (*type:* `GoogleApi.Vault.V1.Model.HangoutsChatOptions.t`, *default:* `nil`) - Set Chat search-specific options. (read-only)
3233
* `mailOptions` (*type:* `GoogleApi.Vault.V1.Model.MailOptions.t`, *default:* `nil`) - Set Gmail search-specific options.
@@ -51,6 +52,7 @@ defmodule GoogleApi.Vault.V1.Model.Query do
5152
:dataScope => String.t() | nil,
5253
:driveOptions => GoogleApi.Vault.V1.Model.DriveOptions.t() | nil,
5354
:endTime => DateTime.t() | nil,
55+
:geminiOptions => GoogleApi.Vault.V1.Model.GeminiOptions.t() | nil,
5456
:hangoutsChatInfo => GoogleApi.Vault.V1.Model.HangoutsChatInfo.t() | nil,
5557
:hangoutsChatOptions => GoogleApi.Vault.V1.Model.HangoutsChatOptions.t() | nil,
5658
:mailOptions => GoogleApi.Vault.V1.Model.MailOptions.t() | nil,
@@ -72,6 +74,7 @@ defmodule GoogleApi.Vault.V1.Model.Query do
7274
field(:dataScope)
7375
field(:driveOptions, as: GoogleApi.Vault.V1.Model.DriveOptions)
7476
field(:endTime, as: DateTime)
77+
field(:geminiOptions, as: GoogleApi.Vault.V1.Model.GeminiOptions)
7578
field(:hangoutsChatInfo, as: GoogleApi.Vault.V1.Model.HangoutsChatInfo)
7679
field(:hangoutsChatOptions, as: GoogleApi.Vault.V1.Model.HangoutsChatOptions)
7780
field(:mailOptions, as: GoogleApi.Vault.V1.Model.MailOptions)

clients/vault/mix.exs

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

21-
@version "0.24.2"
21+
@version "0.25.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)