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 Integrations client #12486

Merged
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/integrations/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_integrations, "~> 0.11"}]
[{:google_api_integrations, "~> 0.12"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}

Expand All @@ -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,
Expand Down
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion clients/integrations/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Integrations.Mixfile do
use Mix.Project

@version "0.11.0"
@version "0.12.0"

def project() do
[
Expand Down
Loading