From d776a9f10377c6000b6cd51ffda1f34f9cb06807 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 5 Nov 2024 13:18:01 +0000 Subject: [PATCH] feat: Automated regeneration of Integrations client --- clients/integrations/README.md | 2 +- .../integrations/v1/api/projects.ex | 2 +- .../google_api/integrations/v1/metadata.ex | 2 +- ...oud_connectors_v1_eventing_runtime_data.ex | 9 +++ ...ting_runtime_data_webhook_subscriptions.ex | 60 +++++++++++++++++++ clients/integrations/mix.exs | 2 +- 6 files changed, 73 insertions(+), 4 deletions(-) create mode 100644 clients/integrations/lib/google_api/integrations/v1/model/google_cloud_connectors_v1_eventing_runtime_data_webhook_subscriptions.ex diff --git a/clients/integrations/README.md b/clients/integrations/README.md index dad9739a81..17e6b28ab2 100644 --- a/clients/integrations/README.md +++ b/clients/integrations/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_integrations, "~> 0.11"}] + [{:google_api_integrations, "~> 0.12"}] end ``` diff --git a/clients/integrations/lib/google_api/integrations/v1/api/projects.ex b/clients/integrations/lib/google_api/integrations/v1/api/projects.ex index aa94d46264..d1f7ec09a0 100644 --- a/clients/integrations/lib/google_api/integrations/v1/api/projects.ex +++ b/clients/integrations/lib/google_api/integrations/v1/api/projects.ex @@ -2700,7 +2700,7 @@ defmodule GoogleApi.Integrations.V1.Api.Projects do ## Parameters * `connection` (*type:* `GoogleApi.Integrations.V1.Connection.t`) - Connection to server - * `name` (*type:* `String.t`) - Required. Next ID: 3 The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration}/executions/{execution_id} + * `name` (*type:* `String.t`) - Required. Next ID: 5 The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration}/executions/{execution_id} * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. diff --git a/clients/integrations/lib/google_api/integrations/v1/metadata.ex b/clients/integrations/lib/google_api/integrations/v1/metadata.ex index 144af7ebd7..32dc4f581b 100644 --- a/clients/integrations/lib/google_api/integrations/v1/metadata.ex +++ b/clients/integrations/lib/google_api/integrations/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Integrations.V1 do API client metadata for GoogleApi.Integrations.V1. """ - @discovery_revision "20241020" + @discovery_revision "20241028" def discovery_revision(), do: @discovery_revision end diff --git a/clients/integrations/lib/google_api/integrations/v1/model/google_cloud_connectors_v1_eventing_runtime_data.ex b/clients/integrations/lib/google_api/integrations/v1/model/google_cloud_connectors_v1_eventing_runtime_data.ex index dd8e3043a3..6cc33f498b 100644 --- a/clients/integrations/lib/google_api/integrations/v1/model/google_cloud_connectors_v1_eventing_runtime_data.ex +++ b/clients/integrations/lib/google_api/integrations/v1/model/google_cloud_connectors_v1_eventing_runtime_data.ex @@ -25,6 +25,7 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntime * `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. * `status` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingStatus.t`, *default:* `nil`) - Output only. Current status of eventing. * `webhookData` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData.t`, *default:* `nil`) - Output only. Webhook data. + * `webhookSubscriptions` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions.t`, *default:* `nil`) - Output only. Webhook subscriptions. """ use GoogleApi.Gax.ModelBase @@ -36,6 +37,9 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntime GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingStatus.t() | nil, :webhookData => GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData.t() + | nil, + :webhookSubscriptions => + GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions.t() | nil } @@ -46,6 +50,11 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntime field(:webhookData, as: GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData ) + + field(:webhookSubscriptions, + as: + GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions + ) end defimpl Poison.Decoder, diff --git a/clients/integrations/lib/google_api/integrations/v1/model/google_cloud_connectors_v1_eventing_runtime_data_webhook_subscriptions.ex b/clients/integrations/lib/google_api/integrations/v1/model/google_cloud_connectors_v1_eventing_runtime_data_webhook_subscriptions.ex new file mode 100644 index 0000000000..83aa82f0f8 --- /dev/null +++ b/clients/integrations/lib/google_api/integrations/v1/model/google_cloud_connectors_v1_eventing_runtime_data_webhook_subscriptions.ex @@ -0,0 +1,60 @@ +# 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.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions do + @moduledoc """ + WebhookSubscriptions has details of webhook subscriptions. + + ## Attributes + + * `webhookData` (*type:* `list(GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData.t)`, *default:* `nil`) - Output only. Webhook data. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :webhookData => + list( + GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData.t() + ) + | nil + } + + field(:webhookData, + as: GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData, + type: :list + ) +end + +defimpl Poison.Decoder, + for: + GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions do + def decode(value, options) do + GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions.decode( + value, + options + ) + end +end + +defimpl Poison.Encoder, + for: + GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/integrations/mix.exs b/clients/integrations/mix.exs index 4da3fc4184..891b62a069 100644 --- a/clients/integrations/mix.exs +++ b/clients/integrations/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.Integrations.Mixfile do use Mix.Project - @version "0.11.0" + @version "0.12.0" def project() do [