Skip to content

Commit bd33f09

Browse files
feat: Automated regeneration of Integrations client (googleapis#12956)
Auto-created at 2025-02-12 13:10:45 +0000 using the toys pull request generator.
1 parent 0123489 commit bd33f09

File tree

4 files changed

+58
-1
lines changed

4 files changed

+58
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2123,6 +2123,7 @@ defmodule GoogleApi.Integrations.V1.Api.Projects do
21232123
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
21242124
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
21252125
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
2126+
* `:GCPCloudEventsMode` (*type:* `String.t`) - Optional. LINT: LEGACY_NAMES The query parameter value for __GCP_CloudEventsMode, set by the Eventarc service when configuring triggers.
21262127
* `:triggerId` (*type:* `String.t`) - Required. Id of the integration trigger config. The trigger_id is in the format: `integration_connector_trigger/projects/{gcp_project_id}/location/{location}/connections/{connection_name}/subscriptions/{subscription_name}`.
21272128
* `:body` (*type:* `String.t`) -
21282129
* `opts` (*type:* `keyword()`) - Call options
@@ -2161,6 +2162,7 @@ defmodule GoogleApi.Integrations.V1.Api.Projects do
21612162
:quotaUser => :query,
21622163
:uploadType => :query,
21632164
:upload_protocol => :query,
2165+
:GCPCloudEventsMode => :query,
21642166
:triggerId => :query,
21652167
:body => :body
21662168
}

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 "20250128"
23+
@discovery_revision "20250206"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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.GoogleCloudConnectorsV1EnrichmentConfig do
19+
@moduledoc """
20+
Data enrichment configuration.
21+
22+
## Attributes
23+
24+
* `appendAcl` (*type:* `boolean()`, *default:* `nil`) - Optional. Append ACL to the event.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:appendAcl => boolean() | nil
31+
}
32+
33+
field(:appendAcl)
34+
end
35+
36+
defimpl Poison.Decoder,
37+
for: GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EnrichmentConfig do
38+
def decode(value, options) do
39+
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EnrichmentConfig.decode(value, options)
40+
end
41+
end
42+
43+
defimpl Poison.Encoder,
44+
for: GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EnrichmentConfig do
45+
def encode(value, options) do
46+
GoogleApi.Gax.ModelBase.encode(value, options)
47+
end
48+
end

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingConfig
2424
* `additionalVariables` (*type:* `list(GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1ConfigVariable.t)`, *default:* `nil`) - Optional. Additional eventing related field values
2525
* `authConfig` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1AuthConfig.t`, *default:* `nil`) - Optional. Auth details for the webhook adapter.
2626
* `deadLetterConfig` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingConfigDeadLetterConfig.t`, *default:* `nil`) - Optional. Dead letter configuration for eventing of a connection.
27+
* `enrichmentConfig` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EnrichmentConfig.t`, *default:* `nil`) - Optional. Data enrichment configuration.
2728
* `enrichmentEnabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Enrichment Enabled.
2829
* `eventsListenerIngressEndpoint` (*type:* `String.t`, *default:* `nil`) - Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled.
2930
* `listenerAuthConfig` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1AuthConfig.t`, *default:* `nil`) - Optional. Auth details for the event listener.
@@ -42,6 +43,8 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingConfig
4243
:deadLetterConfig =>
4344
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingConfigDeadLetterConfig.t()
4445
| nil,
46+
:enrichmentConfig =>
47+
GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EnrichmentConfig.t() | nil,
4548
:enrichmentEnabled => boolean() | nil,
4649
:eventsListenerIngressEndpoint => String.t() | nil,
4750
:listenerAuthConfig =>
@@ -64,6 +67,10 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingConfig
6467
as: GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EventingConfigDeadLetterConfig
6568
)
6669

70+
field(:enrichmentConfig,
71+
as: GoogleApi.Integrations.V1.Model.GoogleCloudConnectorsV1EnrichmentConfig
72+
)
73+
6774
field(:enrichmentEnabled)
6875
field(:eventsListenerIngressEndpoint)
6976

0 commit comments

Comments
 (0)