Skip to content

Commit b8f5ea5

Browse files
feat: Automated regeneration of Dataform client (#13054)
Auto-created at 2025-02-28 13:15:49 +0000 using the toys pull request generator.
1 parent 923f511 commit b8f5ea5

10 files changed

+324
-22
lines changed

clients/dataform/lib/google_api/dataform/v1beta1/api/projects.ex

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2384,7 +2384,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
23842384
23852385
## Returns
23862386
2387-
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.Empty{}}` on success
2387+
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.CancelWorkflowInvocationResponse{}}` on success
23882388
* `{:error, info}` on failure
23892389
"""
23902390
@spec dataform_projects_locations_repositories_workflow_invocations_cancel(
@@ -2393,7 +2393,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
23932393
keyword(),
23942394
keyword()
23952395
) ::
2396-
{:ok, GoogleApi.Dataform.V1beta1.Model.Empty.t()}
2396+
{:ok, GoogleApi.Dataform.V1beta1.Model.CancelWorkflowInvocationResponse.t()}
23972397
| {:ok, Tesla.Env.t()}
23982398
| {:ok, list()}
23992399
| {:error, any()}
@@ -2429,7 +2429,9 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
24292429

24302430
connection
24312431
|> Connection.execute(request)
2432-
|> Response.decode(opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.Empty{}])
2432+
|> Response.decode(
2433+
opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.CancelWorkflowInvocationResponse{}]
2434+
)
24332435
end
24342436

24352437
@doc """
@@ -2824,7 +2826,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
28242826
28252827
## Returns
28262828
2827-
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.Empty{}}` on success
2829+
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.CommitWorkspaceChangesResponse{}}` on success
28282830
* `{:error, info}` on failure
28292831
"""
28302832
@spec dataform_projects_locations_repositories_workspaces_commit(
@@ -2833,7 +2835,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
28332835
keyword(),
28342836
keyword()
28352837
) ::
2836-
{:ok, GoogleApi.Dataform.V1beta1.Model.Empty.t()}
2838+
{:ok, GoogleApi.Dataform.V1beta1.Model.CommitWorkspaceChangesResponse.t()}
28372839
| {:ok, Tesla.Env.t()}
28382840
| {:ok, list()}
28392841
| {:error, any()}
@@ -2869,7 +2871,9 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
28692871

28702872
connection
28712873
|> Connection.execute(request)
2872-
|> Response.decode(opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.Empty{}])
2874+
|> Response.decode(
2875+
opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.CommitWorkspaceChangesResponse{}]
2876+
)
28732877
end
28742878

28752879
@doc """
@@ -3776,7 +3780,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
37763780
37773781
## Returns
37783782
3779-
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.Empty{}}` on success
3783+
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.PullGitCommitsResponse{}}` on success
37803784
* `{:error, info}` on failure
37813785
"""
37823786
@spec dataform_projects_locations_repositories_workspaces_pull(
@@ -3785,7 +3789,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
37853789
keyword(),
37863790
keyword()
37873791
) ::
3788-
{:ok, GoogleApi.Dataform.V1beta1.Model.Empty.t()}
3792+
{:ok, GoogleApi.Dataform.V1beta1.Model.PullGitCommitsResponse.t()}
37893793
| {:ok, Tesla.Env.t()}
37903794
| {:ok, list()}
37913795
| {:error, any()}
@@ -3821,7 +3825,9 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
38213825

38223826
connection
38233827
|> Connection.execute(request)
3824-
|> Response.decode(opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.Empty{}])
3828+
|> Response.decode(
3829+
opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.PullGitCommitsResponse{}]
3830+
)
38253831
end
38263832

38273833
@doc """
@@ -3848,7 +3854,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
38483854
38493855
## Returns
38503856
3851-
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.Empty{}}` on success
3857+
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.PushGitCommitsResponse{}}` on success
38523858
* `{:error, info}` on failure
38533859
"""
38543860
@spec dataform_projects_locations_repositories_workspaces_push(
@@ -3857,7 +3863,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
38573863
keyword(),
38583864
keyword()
38593865
) ::
3860-
{:ok, GoogleApi.Dataform.V1beta1.Model.Empty.t()}
3866+
{:ok, GoogleApi.Dataform.V1beta1.Model.PushGitCommitsResponse.t()}
38613867
| {:ok, Tesla.Env.t()}
38623868
| {:ok, list()}
38633869
| {:error, any()}
@@ -3893,7 +3899,9 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
38933899

38943900
connection
38953901
|> Connection.execute(request)
3896-
|> Response.decode(opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.Empty{}])
3902+
|> Response.decode(
3903+
opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.PushGitCommitsResponse{}]
3904+
)
38973905
end
38983906

38993907
@doc """
@@ -4072,7 +4080,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
40724080
40734081
## Returns
40744082
4075-
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.Empty{}}` on success
4083+
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.RemoveDirectoryResponse{}}` on success
40764084
* `{:error, info}` on failure
40774085
"""
40784086
@spec dataform_projects_locations_repositories_workspaces_remove_directory(
@@ -4081,7 +4089,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
40814089
keyword(),
40824090
keyword()
40834091
) ::
4084-
{:ok, GoogleApi.Dataform.V1beta1.Model.Empty.t()}
4092+
{:ok, GoogleApi.Dataform.V1beta1.Model.RemoveDirectoryResponse.t()}
40854093
| {:ok, Tesla.Env.t()}
40864094
| {:ok, list()}
40874095
| {:error, any()}
@@ -4117,7 +4125,9 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
41174125

41184126
connection
41194127
|> Connection.execute(request)
4120-
|> Response.decode(opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.Empty{}])
4128+
|> Response.decode(
4129+
opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.RemoveDirectoryResponse{}]
4130+
)
41214131
end
41224132

41234133
@doc """
@@ -4144,7 +4154,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
41444154
41454155
## Returns
41464156
4147-
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.Empty{}}` on success
4157+
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.RemoveFileResponse{}}` on success
41484158
* `{:error, info}` on failure
41494159
"""
41504160
@spec dataform_projects_locations_repositories_workspaces_remove_file(
@@ -4153,7 +4163,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
41534163
keyword(),
41544164
keyword()
41554165
) ::
4156-
{:ok, GoogleApi.Dataform.V1beta1.Model.Empty.t()}
4166+
{:ok, GoogleApi.Dataform.V1beta1.Model.RemoveFileResponse.t()}
41574167
| {:ok, Tesla.Env.t()}
41584168
| {:ok, list()}
41594169
| {:error, any()}
@@ -4189,7 +4199,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
41894199

41904200
connection
41914201
|> Connection.execute(request)
4192-
|> Response.decode(opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.Empty{}])
4202+
|> Response.decode(opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.RemoveFileResponse{}])
41934203
end
41944204

41954205
@doc """
@@ -4216,7 +4226,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
42164226
42174227
## Returns
42184228
4219-
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.Empty{}}` on success
4229+
* `{:ok, %GoogleApi.Dataform.V1beta1.Model.ResetWorkspaceChangesResponse{}}` on success
42204230
* `{:error, info}` on failure
42214231
"""
42224232
@spec dataform_projects_locations_repositories_workspaces_reset(
@@ -4225,7 +4235,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
42254235
keyword(),
42264236
keyword()
42274237
) ::
4228-
{:ok, GoogleApi.Dataform.V1beta1.Model.Empty.t()}
4238+
{:ok, GoogleApi.Dataform.V1beta1.Model.ResetWorkspaceChangesResponse.t()}
42294239
| {:ok, Tesla.Env.t()}
42304240
| {:ok, list()}
42314241
| {:error, any()}
@@ -4261,7 +4271,9 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
42614271

42624272
connection
42634273
|> Connection.execute(request)
4264-
|> Response.decode(opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.Empty{}])
4274+
|> Response.decode(
4275+
opts ++ [struct: %GoogleApi.Dataform.V1beta1.Model.ResetWorkspaceChangesResponse{}]
4276+
)
42654277
end
42664278

42674279
@doc """

clients/dataform/lib/google_api/dataform/v1beta1/connection.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ defmodule GoogleApi.Dataform.V1beta1.Connection do
2424

2525
use GoogleApi.Gax.Connection,
2626
scopes: [
27+
# View and manage your data in Google BigQuery and see the email address for your Google Account
28+
"https://www.googleapis.com/auth/bigquery",
29+
2730
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
2831
"https://www.googleapis.com/auth/cloud-platform"
2932
],

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

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

23-
@discovery_revision "20250202"
23+
@discovery_revision "20250223"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.Dataform.V1beta1.Model.CancelWorkflowInvocationResponse do
19+
@moduledoc """
20+
`CancelWorkflowInvocation` response message.
21+
22+
## Attributes
23+
24+
"""
25+
26+
use GoogleApi.Gax.ModelBase
27+
28+
@type t :: %__MODULE__{}
29+
end
30+
31+
defimpl Poison.Decoder, for: GoogleApi.Dataform.V1beta1.Model.CancelWorkflowInvocationResponse do
32+
def decode(value, options) do
33+
GoogleApi.Dataform.V1beta1.Model.CancelWorkflowInvocationResponse.decode(value, options)
34+
end
35+
end
36+
37+
defimpl Poison.Encoder, for: GoogleApi.Dataform.V1beta1.Model.CancelWorkflowInvocationResponse do
38+
def encode(value, options) do
39+
GoogleApi.Gax.ModelBase.encode(value, options)
40+
end
41+
end
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.Dataform.V1beta1.Model.CommitWorkspaceChangesResponse do
19+
@moduledoc """
20+
`CommitWorkspaceChanges` response message.
21+
22+
## Attributes
23+
24+
"""
25+
26+
use GoogleApi.Gax.ModelBase
27+
28+
@type t :: %__MODULE__{}
29+
end
30+
31+
defimpl Poison.Decoder, for: GoogleApi.Dataform.V1beta1.Model.CommitWorkspaceChangesResponse do
32+
def decode(value, options) do
33+
GoogleApi.Dataform.V1beta1.Model.CommitWorkspaceChangesResponse.decode(value, options)
34+
end
35+
end
36+
37+
defimpl Poison.Encoder, for: GoogleApi.Dataform.V1beta1.Model.CommitWorkspaceChangesResponse do
38+
def encode(value, options) do
39+
GoogleApi.Gax.ModelBase.encode(value, options)
40+
end
41+
end
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.Dataform.V1beta1.Model.PullGitCommitsResponse do
19+
@moduledoc """
20+
`PullGitCommits` response message.
21+
22+
## Attributes
23+
24+
"""
25+
26+
use GoogleApi.Gax.ModelBase
27+
28+
@type t :: %__MODULE__{}
29+
end
30+
31+
defimpl Poison.Decoder, for: GoogleApi.Dataform.V1beta1.Model.PullGitCommitsResponse do
32+
def decode(value, options) do
33+
GoogleApi.Dataform.V1beta1.Model.PullGitCommitsResponse.decode(value, options)
34+
end
35+
end
36+
37+
defimpl Poison.Encoder, for: GoogleApi.Dataform.V1beta1.Model.PullGitCommitsResponse do
38+
def encode(value, options) do
39+
GoogleApi.Gax.ModelBase.encode(value, options)
40+
end
41+
end
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.Dataform.V1beta1.Model.PushGitCommitsResponse do
19+
@moduledoc """
20+
`PushGitCommits` response message.
21+
22+
## Attributes
23+
24+
"""
25+
26+
use GoogleApi.Gax.ModelBase
27+
28+
@type t :: %__MODULE__{}
29+
end
30+
31+
defimpl Poison.Decoder, for: GoogleApi.Dataform.V1beta1.Model.PushGitCommitsResponse do
32+
def decode(value, options) do
33+
GoogleApi.Dataform.V1beta1.Model.PushGitCommitsResponse.decode(value, options)
34+
end
35+
end
36+
37+
defimpl Poison.Encoder, for: GoogleApi.Dataform.V1beta1.Model.PushGitCommitsResponse do
38+
def encode(value, options) do
39+
GoogleApi.Gax.ModelBase.encode(value, options)
40+
end
41+
end

0 commit comments

Comments
 (0)