Skip to content

Commit d458e13

Browse files
feat: Automated regeneration of Dataproc client (googleapis#12957)
Auto-created at 2025-02-12 13:11:17 +0000 using the toys pull request generator.
1 parent bd33f09 commit d458e13

File tree

6 files changed

+216
-1
lines changed

6 files changed

+216
-1
lines changed

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

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

23-
@discovery_revision "20250131"
23+
@discovery_revision "20250207"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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.Dataproc.V1.Model.BuildInfo do
19+
@moduledoc """
20+
Native Build Info
21+
22+
## Attributes
23+
24+
* `buildKey` (*type:* `String.t`, *default:* `nil`) - Optional. Build key.
25+
* `buildValue` (*type:* `String.t`, *default:* `nil`) - Optional. Build value.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:buildKey => String.t() | nil,
32+
:buildValue => String.t() | nil
33+
}
34+
35+
field(:buildKey)
36+
field(:buildValue)
37+
end
38+
39+
defimpl Poison.Decoder, for: GoogleApi.Dataproc.V1.Model.BuildInfo do
40+
def decode(value, options) do
41+
GoogleApi.Dataproc.V1.Model.BuildInfo.decode(value, options)
42+
end
43+
end
44+
45+
defimpl Poison.Encoder, for: GoogleApi.Dataproc.V1.Model.BuildInfo do
46+
def encode(value, options) do
47+
GoogleApi.Gax.ModelBase.encode(value, options)
48+
end
49+
end
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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.Dataproc.V1.Model.FallbackReason do
19+
@moduledoc """
20+
Native SQL Execution Data
21+
22+
## Attributes
23+
24+
* `fallbackNode` (*type:* `String.t`, *default:* `nil`) - Optional. Fallback node information.
25+
* `fallbackReason` (*type:* `String.t`, *default:* `nil`) - Optional. Fallback to Spark reason.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:fallbackNode => String.t() | nil,
32+
:fallbackReason => String.t() | nil
33+
}
34+
35+
field(:fallbackNode)
36+
field(:fallbackReason)
37+
end
38+
39+
defimpl Poison.Decoder, for: GoogleApi.Dataproc.V1.Model.FallbackReason do
40+
def decode(value, options) do
41+
GoogleApi.Dataproc.V1.Model.FallbackReason.decode(value, options)
42+
end
43+
end
44+
45+
defimpl Poison.Encoder, for: GoogleApi.Dataproc.V1.Model.FallbackReason do
46+
def encode(value, options) do
47+
GoogleApi.Gax.ModelBase.encode(value, options)
48+
end
49+
end
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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.Dataproc.V1.Model.NativeBuildInfoUiData do
19+
@moduledoc """
20+
21+
22+
## Attributes
23+
24+
* `buildClass` (*type:* `String.t`, *default:* `nil`) - Optional. Build class of Native.
25+
* `buildInfo` (*type:* `list(GoogleApi.Dataproc.V1.Model.BuildInfo.t)`, *default:* `nil`) - Optional. Build related details.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:buildClass => String.t() | nil,
32+
:buildInfo => list(GoogleApi.Dataproc.V1.Model.BuildInfo.t()) | nil
33+
}
34+
35+
field(:buildClass)
36+
field(:buildInfo, as: GoogleApi.Dataproc.V1.Model.BuildInfo, type: :list)
37+
end
38+
39+
defimpl Poison.Decoder, for: GoogleApi.Dataproc.V1.Model.NativeBuildInfoUiData do
40+
def decode(value, options) do
41+
GoogleApi.Dataproc.V1.Model.NativeBuildInfoUiData.decode(value, options)
42+
end
43+
end
44+
45+
defimpl Poison.Encoder, for: GoogleApi.Dataproc.V1.Model.NativeBuildInfoUiData do
46+
def encode(value, options) do
47+
GoogleApi.Gax.ModelBase.encode(value, options)
48+
end
49+
end
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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.Dataproc.V1.Model.NativeSqlExecutionUiData do
19+
@moduledoc """
20+
Native SQL Execution Data
21+
22+
## Attributes
23+
24+
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. Description of the execution.
25+
* `executionId` (*type:* `String.t`, *default:* `nil`) - Required. Execution ID of the Native SQL Execution.
26+
* `fallbackDescription` (*type:* `String.t`, *default:* `nil`) - Optional. Description of the fallback.
27+
* `fallbackNodeToReason` (*type:* `list(GoogleApi.Dataproc.V1.Model.FallbackReason.t)`, *default:* `nil`) - Optional. Fallback node to reason.
28+
* `numFallbackNodes` (*type:* `integer()`, *default:* `nil`) - Optional. Number of nodes fallen back to Spark.
29+
* `numNativeNodes` (*type:* `integer()`, *default:* `nil`) - Optional. Number of nodes in Native.
30+
"""
31+
32+
use GoogleApi.Gax.ModelBase
33+
34+
@type t :: %__MODULE__{
35+
:description => String.t() | nil,
36+
:executionId => String.t() | nil,
37+
:fallbackDescription => String.t() | nil,
38+
:fallbackNodeToReason => list(GoogleApi.Dataproc.V1.Model.FallbackReason.t()) | nil,
39+
:numFallbackNodes => integer() | nil,
40+
:numNativeNodes => integer() | nil
41+
}
42+
43+
field(:description)
44+
field(:executionId)
45+
field(:fallbackDescription)
46+
field(:fallbackNodeToReason, as: GoogleApi.Dataproc.V1.Model.FallbackReason, type: :list)
47+
field(:numFallbackNodes)
48+
field(:numNativeNodes)
49+
end
50+
51+
defimpl Poison.Decoder, for: GoogleApi.Dataproc.V1.Model.NativeSqlExecutionUiData do
52+
def decode(value, options) do
53+
GoogleApi.Dataproc.V1.Model.NativeSqlExecutionUiData.decode(value, options)
54+
end
55+
end
56+
57+
defimpl Poison.Encoder, for: GoogleApi.Dataproc.V1.Model.NativeSqlExecutionUiData do
58+
def encode(value, options) do
59+
GoogleApi.Gax.ModelBase.encode(value, options)
60+
end
61+
end

clients/dataproc/lib/google_api/dataproc/v1/model/spark_wrapper_object.ex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ defmodule GoogleApi.Dataproc.V1.Model.SparkWrapperObject do
2929
* `executorStageSummary` (*type:* `GoogleApi.Dataproc.V1.Model.ExecutorStageSummary.t`, *default:* `nil`) -
3030
* `executorSummary` (*type:* `GoogleApi.Dataproc.V1.Model.ExecutorSummary.t`, *default:* `nil`) -
3131
* `jobData` (*type:* `GoogleApi.Dataproc.V1.Model.JobData.t`, *default:* `nil`) -
32+
* `nativeBuildInfoUiData` (*type:* `GoogleApi.Dataproc.V1.Model.NativeBuildInfoUiData.t`, *default:* `nil`) - Native Build Info
33+
* `nativeSqlExecutionUiData` (*type:* `GoogleApi.Dataproc.V1.Model.NativeSqlExecutionUiData.t`, *default:* `nil`) - Native SQL Execution Info
3234
* `poolData` (*type:* `GoogleApi.Dataproc.V1.Model.PoolData.t`, *default:* `nil`) -
3335
* `processSummary` (*type:* `GoogleApi.Dataproc.V1.Model.ProcessSummary.t`, *default:* `nil`) -
3436
* `rddOperationGraph` (*type:* `GoogleApi.Dataproc.V1.Model.RddOperationGraph.t`, *default:* `nil`) -
@@ -56,6 +58,9 @@ defmodule GoogleApi.Dataproc.V1.Model.SparkWrapperObject do
5658
:executorStageSummary => GoogleApi.Dataproc.V1.Model.ExecutorStageSummary.t() | nil,
5759
:executorSummary => GoogleApi.Dataproc.V1.Model.ExecutorSummary.t() | nil,
5860
:jobData => GoogleApi.Dataproc.V1.Model.JobData.t() | nil,
61+
:nativeBuildInfoUiData => GoogleApi.Dataproc.V1.Model.NativeBuildInfoUiData.t() | nil,
62+
:nativeSqlExecutionUiData =>
63+
GoogleApi.Dataproc.V1.Model.NativeSqlExecutionUiData.t() | nil,
5964
:poolData => GoogleApi.Dataproc.V1.Model.PoolData.t() | nil,
6065
:processSummary => GoogleApi.Dataproc.V1.Model.ProcessSummary.t() | nil,
6166
:rddOperationGraph => GoogleApi.Dataproc.V1.Model.RddOperationGraph.t() | nil,
@@ -80,6 +85,8 @@ defmodule GoogleApi.Dataproc.V1.Model.SparkWrapperObject do
8085
field(:executorStageSummary, as: GoogleApi.Dataproc.V1.Model.ExecutorStageSummary)
8186
field(:executorSummary, as: GoogleApi.Dataproc.V1.Model.ExecutorSummary)
8287
field(:jobData, as: GoogleApi.Dataproc.V1.Model.JobData)
88+
field(:nativeBuildInfoUiData, as: GoogleApi.Dataproc.V1.Model.NativeBuildInfoUiData)
89+
field(:nativeSqlExecutionUiData, as: GoogleApi.Dataproc.V1.Model.NativeSqlExecutionUiData)
8390
field(:poolData, as: GoogleApi.Dataproc.V1.Model.PoolData)
8491
field(:processSummary, as: GoogleApi.Dataproc.V1.Model.ProcessSummary)
8592
field(:rddOperationGraph, as: GoogleApi.Dataproc.V1.Model.RddOperationGraph)

0 commit comments

Comments
 (0)