Skip to content

Commit 2801658

Browse files
feat: Automated regeneration of DataFusion client (googleapis#12875)
Auto-created at 2025-01-26 13:12:43 +0000 using the toys pull request generator.
1 parent d67ca35 commit 2801658

File tree

8 files changed

+115
-4
lines changed

8 files changed

+115
-4
lines changed

clients/data_fusion/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_data_fusion, "~> 0.26"}]
14+
[{:google_api_data_fusion, "~> 0.27"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20250117"
23+
@discovery_revision "20250122"
2424

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

clients/data_fusion/lib/google_api/data_fusion/v1/model/instance.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Instance do
3030
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.
3131
* `stateMessage` (*type:* `String.t`, *default:* `nil`) - Output only. Additional information about the current state of this Data Fusion instance if available.
3232
* `dataplexDataLineageIntegrationEnabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Option to enable the Dataplex Lineage Integration feature.
33+
* `maintenanceEvents` (*type:* `list(GoogleApi.DataFusion.V1.Model.MaintenanceEvent.t)`, *default:* `nil`) - Output only. The maintenance events for this instance.
3334
* `enableStackdriverLogging` (*type:* `boolean()`, *default:* `nil`) - Optional. Option to enable Stackdriver Logging.
3435
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A description of this instance.
3536
* `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. Display name for an instance.
@@ -70,6 +71,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Instance do
7071
:name => String.t() | nil,
7172
:stateMessage => String.t() | nil,
7273
:dataplexDataLineageIntegrationEnabled => boolean() | nil,
74+
:maintenanceEvents => list(GoogleApi.DataFusion.V1.Model.MaintenanceEvent.t()) | nil,
7375
:enableStackdriverLogging => boolean() | nil,
7476
:description => String.t() | nil,
7577
:displayName => String.t() | nil,
@@ -107,6 +109,7 @@ defmodule GoogleApi.DataFusion.V1.Model.Instance do
107109
field(:name)
108110
field(:stateMessage)
109111
field(:dataplexDataLineageIntegrationEnabled)
112+
field(:maintenanceEvents, as: GoogleApi.DataFusion.V1.Model.MaintenanceEvent, type: :list)
110113
field(:enableStackdriverLogging)
111114
field(:description)
112115
field(:displayName)
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.DataFusion.V1.Model.MaintenanceEvent do
19+
@moduledoc """
20+
Represents a maintenance event.
21+
22+
## Attributes
23+
24+
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The end time of the maintenance event provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: "2024-01-02T12:04:06-06:00" This field will be empty if the maintenance event is not yet complete.
25+
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The start time of the maintenance event provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: "2024-01-01T12:04:06-04:00"
26+
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The state of the maintenance event.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:endTime => DateTime.t() | nil,
33+
:startTime => DateTime.t() | nil,
34+
:state => String.t() | nil
35+
}
36+
37+
field(:endTime, as: DateTime)
38+
field(:startTime, as: DateTime)
39+
field(:state)
40+
end
41+
42+
defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1.Model.MaintenanceEvent do
43+
def decode(value, options) do
44+
GoogleApi.DataFusion.V1.Model.MaintenanceEvent.decode(value, options)
45+
end
46+
end
47+
48+
defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1.Model.MaintenanceEvent do
49+
def encode(value, options) do
50+
GoogleApi.Gax.ModelBase.encode(value, options)
51+
end
52+
end

clients/data_fusion/lib/google_api/data_fusion/v1beta1/metadata.ex

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

23-
@discovery_revision "20241204"
23+
@discovery_revision "20250122"
2424

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

clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/instance.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Instance do
3030
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.
3131
* `stateMessage` (*type:* `String.t`, *default:* `nil`) - Output only. Additional information about the current state of this Data Fusion instance if available.
3232
* `dataplexDataLineageIntegrationEnabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Option to enable the Dataplex Lineage Integration feature.
33+
* `maintenanceEvents` (*type:* `list(GoogleApi.DataFusion.V1beta1.Model.MaintenanceEvent.t)`, *default:* `nil`) - Output only. The maintenance events for this instance.
3334
* `enableStackdriverLogging` (*type:* `boolean()`, *default:* `nil`) - Option to enable Stackdriver Logging.
3435
* `description` (*type:* `String.t`, *default:* `nil`) - A description of this instance.
3536
* `displayName` (*type:* `String.t`, *default:* `nil`) - Display name for an instance.
@@ -70,6 +71,8 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Instance do
7071
:name => String.t() | nil,
7172
:stateMessage => String.t() | nil,
7273
:dataplexDataLineageIntegrationEnabled => boolean() | nil,
74+
:maintenanceEvents =>
75+
list(GoogleApi.DataFusion.V1beta1.Model.MaintenanceEvent.t()) | nil,
7376
:enableStackdriverLogging => boolean() | nil,
7477
:description => String.t() | nil,
7578
:displayName => String.t() | nil,
@@ -107,6 +110,7 @@ defmodule GoogleApi.DataFusion.V1beta1.Model.Instance do
107110
field(:name)
108111
field(:stateMessage)
109112
field(:dataplexDataLineageIntegrationEnabled)
113+
field(:maintenanceEvents, as: GoogleApi.DataFusion.V1beta1.Model.MaintenanceEvent, type: :list)
110114
field(:enableStackdriverLogging)
111115
field(:description)
112116
field(:displayName)
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.DataFusion.V1beta1.Model.MaintenanceEvent do
19+
@moduledoc """
20+
Represents a maintenance event.
21+
22+
## Attributes
23+
24+
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The end time of the maintenance event provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: "2024-01-02T12:04:06-06:00" This field will be empty if the maintenance event is not yet complete.
25+
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The start time of the maintenance event provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: "2024-01-01T12:04:06-04:00"
26+
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The state of the maintenance event.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:endTime => DateTime.t() | nil,
33+
:startTime => DateTime.t() | nil,
34+
:state => String.t() | nil
35+
}
36+
37+
field(:endTime, as: DateTime)
38+
field(:startTime, as: DateTime)
39+
field(:state)
40+
end
41+
42+
defimpl Poison.Decoder, for: GoogleApi.DataFusion.V1beta1.Model.MaintenanceEvent do
43+
def decode(value, options) do
44+
GoogleApi.DataFusion.V1beta1.Model.MaintenanceEvent.decode(value, options)
45+
end
46+
end
47+
48+
defimpl Poison.Encoder, for: GoogleApi.DataFusion.V1beta1.Model.MaintenanceEvent do
49+
def encode(value, options) do
50+
GoogleApi.Gax.ModelBase.encode(value, options)
51+
end
52+
end

clients/data_fusion/mix.exs

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

21-
@version "0.26.1"
21+
@version "0.27.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)