Skip to content

Commit 8db79e7

Browse files
feat: Automated regeneration of DeploymentManager client (#13296)
Auto-created at 2025-04-07 13:14:23 +0000 using the toys pull request generator.
1 parent 4b44169 commit 8db79e7

File tree

3 files changed

+56
-1
lines changed

3 files changed

+56
-1
lines changed

clients/deployment_manager/lib/google_api/deployment_manager/v2/metadata.ex

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

23-
@discovery_revision "20250320"
23+
@discovery_revision "20250403"
2424

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

clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation.ex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ defmodule GoogleApi.DeploymentManager.V2.Model.Operation do
3939
* `region` (*type:* `String.t`, *default:* `nil`) - [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
4040
* `selfLink` (*type:* `String.t`, *default:* `nil`) - [Output Only] Server-defined URL for the resource.
4141
* `selfLinkWithId` (*type:* `String.t`, *default:* `nil`) - [Output Only] Server-defined URL for this resource with the resource id.
42+
* `setAutoscalerLinkOperationMetadata` (*type:* `GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata.t`, *default:* `nil`) - This field is used internally by the Autoscaler team and should not be promoted to "alpha/beta/v1".
4243
* `setCommonInstanceMetadataOperationMetadata` (*type:* `GoogleApi.DeploymentManager.V2.Model.SetCommonInstanceMetadataOperationMetadata.t`, *default:* `nil`) - [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.
4344
* `startTime` (*type:* `String.t`, *default:* `nil`) - [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
4445
* `status` (*type:* `String.t`, *default:* `nil`) - [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
@@ -72,6 +73,8 @@ defmodule GoogleApi.DeploymentManager.V2.Model.Operation do
7273
:region => String.t() | nil,
7374
:selfLink => String.t() | nil,
7475
:selfLinkWithId => String.t() | nil,
76+
:setAutoscalerLinkOperationMetadata =>
77+
GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata.t() | nil,
7578
:setCommonInstanceMetadataOperationMetadata =>
7679
GoogleApi.DeploymentManager.V2.Model.SetCommonInstanceMetadataOperationMetadata.t()
7780
| nil,
@@ -108,6 +111,10 @@ defmodule GoogleApi.DeploymentManager.V2.Model.Operation do
108111
field(:selfLink)
109112
field(:selfLinkWithId)
110113

114+
field(:setAutoscalerLinkOperationMetadata,
115+
as: GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata
116+
)
117+
111118
field(:setCommonInstanceMetadataOperationMetadata,
112119
as: GoogleApi.DeploymentManager.V2.Model.SetCommonInstanceMetadataOperationMetadata
113120
)
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.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata do
19+
@moduledoc """
20+
21+
22+
## Attributes
23+
24+
* `zonalIgmIds` (*type:* `list(String.t)`, *default:* `nil`) - List of zonal IGM IDs part of the RMIG.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:zonalIgmIds => list(String.t()) | nil
31+
}
32+
33+
field(:zonalIgmIds, type: :list)
34+
end
35+
36+
defimpl Poison.Decoder,
37+
for: GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata do
38+
def decode(value, options) do
39+
GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata.decode(value, options)
40+
end
41+
end
42+
43+
defimpl Poison.Encoder,
44+
for: GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata do
45+
def encode(value, options) do
46+
GoogleApi.Gax.ModelBase.encode(value, options)
47+
end
48+
end

0 commit comments

Comments
 (0)