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 Vault client #11425

Closed
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/vault/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_vault, "~> 0.21"}]
[{:google_api_vault, "~> 0.22"}]
end
```

Expand Down
2 changes: 1 addition & 1 deletion clients/vault/lib/google_api/vault/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Vault.V1 do
API client metadata for GoogleApi.Vault.V1.
"""

@discovery_revision "20240226"
@discovery_revision "20240603"

def discovery_revision(), do: @discovery_revision
end
3 changes: 3 additions & 0 deletions clients/vault/lib/google_api/vault/v1/model/corpus_query.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ defmodule GoogleApi.Vault.V1.Model.CorpusQuery do

## Attributes

* `calendarQuery` (*type:* `GoogleApi.Vault.V1.Model.HeldCalendarQuery.t`, *default:* `nil`) - Service-specific options for Calendar holds. If set, **CorpusType** must be **CALENDAR**.
* `driveQuery` (*type:* `GoogleApi.Vault.V1.Model.HeldDriveQuery.t`, *default:* `nil`) - Service-specific options for Drive holds. If set, **CorpusType** must be **DRIVE**.
* `groupsQuery` (*type:* `GoogleApi.Vault.V1.Model.HeldGroupsQuery.t`, *default:* `nil`) - Service-specific options for Groups holds. If set, **CorpusType** must be **GROUPS**.
* `hangoutsChatQuery` (*type:* `GoogleApi.Vault.V1.Model.HeldHangoutsChatQuery.t`, *default:* `nil`) - Service-specific options for Chat holds. If set, **CorpusType** must be **HANGOUTS_CHAT**.
Expand All @@ -31,13 +32,15 @@ defmodule GoogleApi.Vault.V1.Model.CorpusQuery do
use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:calendarQuery => GoogleApi.Vault.V1.Model.HeldCalendarQuery.t() | nil,
:driveQuery => GoogleApi.Vault.V1.Model.HeldDriveQuery.t() | nil,
:groupsQuery => GoogleApi.Vault.V1.Model.HeldGroupsQuery.t() | nil,
:hangoutsChatQuery => GoogleApi.Vault.V1.Model.HeldHangoutsChatQuery.t() | nil,
:mailQuery => GoogleApi.Vault.V1.Model.HeldMailQuery.t() | nil,
:voiceQuery => GoogleApi.Vault.V1.Model.HeldVoiceQuery.t() | nil
}

field(:calendarQuery, as: GoogleApi.Vault.V1.Model.HeldCalendarQuery)
field(:driveQuery, as: GoogleApi.Vault.V1.Model.HeldDriveQuery)
field(:groupsQuery, as: GoogleApi.Vault.V1.Model.HeldGroupsQuery)
field(:hangoutsChatQuery, as: GoogleApi.Vault.V1.Model.HeldHangoutsChatQuery)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# NOTE: This file is auto generated by the elixir code generator program.
# Do not edit this file manually.

defmodule GoogleApi.Vault.V1.Model.HeldCalendarQuery do
@moduledoc """
Options for Calendar holds.

## Attributes

"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{}
end

defimpl Poison.Decoder, for: GoogleApi.Vault.V1.Model.HeldCalendarQuery do
def decode(value, options) do
GoogleApi.Vault.V1.Model.HeldCalendarQuery.decode(value, options)
end
end

defimpl Poison.Encoder, for: GoogleApi.Vault.V1.Model.HeldCalendarQuery do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end
2 changes: 1 addition & 1 deletion clients/vault/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Vault.Mixfile do
use Mix.Project

@version "0.21.0"
@version "0.22.0"

def project() do
[
Expand Down
Loading