Skip to content

Commit 55c5817

Browse files
feat: Automated regeneration of AppEngine client (googleapis#12610)
Auto-created at 2024-11-22 13:11:56 +0000 using the toys pull request generator.
1 parent 13da896 commit 55c5817

File tree

4 files changed

+55
-3
lines changed

4 files changed

+55
-3
lines changed

clients/app_engine/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_app_engine, "~> 0.41"}]
14+
[{:google_api_app_engine, "~> 0.42"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20241007"
23+
@discovery_revision "20241118"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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.AppEngine.V1.Model.ResourceEvent do
19+
@moduledoc """
20+
The request that is passed to CLH during per-resource events. The request will be sent with update semantics in all cases except for data governance purge events. These events will be sent with delete semantics and the CLH is expected to delete the resource receiving this event.
21+
22+
## Attributes
23+
24+
* `eventId` (*type:* `String.t`, *default:* `nil`) - The unique ID for this per-resource event. CLHs can use this value to dedup repeated calls. required
25+
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the resource for which this event is. required
26+
* `state` (*type:* `GoogleApi.AppEngine.V1.Model.ContainerState.t`, *default:* `nil`) - The state of the project that led to this event.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:eventId => String.t() | nil,
33+
:name => String.t() | nil,
34+
:state => GoogleApi.AppEngine.V1.Model.ContainerState.t() | nil
35+
}
36+
37+
field(:eventId)
38+
field(:name)
39+
field(:state, as: GoogleApi.AppEngine.V1.Model.ContainerState)
40+
end
41+
42+
defimpl Poison.Decoder, for: GoogleApi.AppEngine.V1.Model.ResourceEvent do
43+
def decode(value, options) do
44+
GoogleApi.AppEngine.V1.Model.ResourceEvent.decode(value, options)
45+
end
46+
end
47+
48+
defimpl Poison.Encoder, for: GoogleApi.AppEngine.V1.Model.ResourceEvent do
49+
def encode(value, options) do
50+
GoogleApi.Gax.ModelBase.encode(value, options)
51+
end
52+
end

clients/app_engine/mix.exs

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

21-
@version "0.41.0"
21+
@version "0.42.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)