Skip to content

Commit c8099b3

Browse files
feat: Automated regeneration of Integrations client (googleapis#12486)
Auto-created at 2024-11-05 13:18:01 +0000 using the toys pull request generator.
1 parent c70ffaf commit c8099b3

File tree

6 files changed

+73
-4
lines changed

6 files changed

+73
-4
lines changed

clients/integrations/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_integrations, "~> 0.11"}]
14+
[{:google_api_integrations, "~> 0.12"}]
1515
end
1616
```
1717

clients/integrations/lib/google_api/integrations/v1/api/projects.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2700,7 +2700,7 @@ defmodule GoogleApi.Integrations.V1.Api.Projects do
27002700
## Parameters
27012701
27022702
* `connection` (*type:* `GoogleApi.Integrations.V1.Connection.t`) - Connection to server
2703-
* `name` (*type:* `String.t`) - Required. Next ID: 3 The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration}/executions/{execution_id}
2703+
* `name` (*type:* `String.t`) - Required. Next ID: 5 The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration}/executions/{execution_id}
27042704
* `optional_params` (*type:* `keyword()`) - Optional parameters
27052705
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
27062706
* `:access_token` (*type:* `String.t`) - OAuth access token.

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

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

23-
@discovery_revision "20241020"
23+
@discovery_revision "20241028"
2424

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

clients/integrations/lib/google_api/integrations/v1/model/google_cloud_connectors_v1_eventing_runtime_data.ex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntime
2525
* `eventsListenerPscSa` (*type:* `String.t`, *default:* `nil`) - Output only. Events listener PSC Service attachment. The value will be populated after provisioning the events listener with private connectivity enabled.
2626
* `status` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingStatus.t`, *default:* `nil`) - Output only. Current status of eventing.
2727
* `webhookData` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData.t`, *default:* `nil`) - Output only. Webhook data.
28+
* `webhookSubscriptions` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions.t`, *default:* `nil`) - Output only. Webhook subscriptions.
2829
"""
2930

3031
use GoogleApi.Gax.ModelBase
@@ -36,6 +37,9 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntime
3637
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingStatus.t() | nil,
3738
:webhookData =>
3839
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData.t()
40+
| nil,
41+
:webhookSubscriptions =>
42+
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions.t()
3943
| nil
4044
}
4145

@@ -46,6 +50,11 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntime
4650
field(:webhookData,
4751
as: GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData
4852
)
53+
54+
field(:webhookSubscriptions,
55+
as:
56+
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions
57+
)
4958
end
5059

5160
defimpl Poison.Decoder,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions do
19+
@moduledoc """
20+
WebhookSubscriptions has details of webhook subscriptions.
21+
22+
## Attributes
23+
24+
* `webhookData` (*type:* `list(GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData.t)`, *default:* `nil`) - Output only. Webhook data.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:webhookData =>
31+
list(
32+
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData.t()
33+
)
34+
| nil
35+
}
36+
37+
field(:webhookData,
38+
as: GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData,
39+
type: :list
40+
)
41+
end
42+
43+
defimpl Poison.Decoder,
44+
for:
45+
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions do
46+
def decode(value, options) do
47+
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions.decode(
48+
value,
49+
options
50+
)
51+
end
52+
end
53+
54+
defimpl Poison.Encoder,
55+
for:
56+
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions do
57+
def encode(value, options) do
58+
GoogleApi.Gax.ModelBase.encode(value, options)
59+
end
60+
end

clients/integrations/mix.exs

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

21-
@version "0.11.0"
21+
@version "0.12.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)