diff --git a/clients/deployment_manager/lib/google_api/deployment_manager/v2/metadata.ex b/clients/deployment_manager/lib/google_api/deployment_manager/v2/metadata.ex index dc773b832f..d998304e2e 100644 --- a/clients/deployment_manager/lib/google_api/deployment_manager/v2/metadata.ex +++ b/clients/deployment_manager/lib/google_api/deployment_manager/v2/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.DeploymentManager.V2 do API client metadata for GoogleApi.DeploymentManager.V2. """ - @discovery_revision "20250320" + @discovery_revision "20250403" def discovery_revision(), do: @discovery_revision end diff --git a/clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation.ex b/clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation.ex index 7221388feb..6eb6330c53 100644 --- a/clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation.ex +++ b/clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation.ex @@ -39,6 +39,7 @@ defmodule GoogleApi.DeploymentManager.V2.Model.Operation do * `region` (*type:* `String.t`, *default:* `nil`) - [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations. * `selfLink` (*type:* `String.t`, *default:* `nil`) - [Output Only] Server-defined URL for the resource. * `selfLinkWithId` (*type:* `String.t`, *default:* `nil`) - [Output Only] Server-defined URL for this resource with the resource id. + * `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". * `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. * `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. * `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 :region => String.t() | nil, :selfLink => String.t() | nil, :selfLinkWithId => String.t() | nil, + :setAutoscalerLinkOperationMetadata => + GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata.t() | nil, :setCommonInstanceMetadataOperationMetadata => GoogleApi.DeploymentManager.V2.Model.SetCommonInstanceMetadataOperationMetadata.t() | nil, @@ -108,6 +111,10 @@ defmodule GoogleApi.DeploymentManager.V2.Model.Operation do field(:selfLink) field(:selfLinkWithId) + field(:setAutoscalerLinkOperationMetadata, + as: GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata + ) + field(:setCommonInstanceMetadataOperationMetadata, as: GoogleApi.DeploymentManager.V2.Model.SetCommonInstanceMetadataOperationMetadata ) diff --git a/clients/deployment_manager/lib/google_api/deployment_manager/v2/model/set_autoscaler_link_operation_metadata.ex b/clients/deployment_manager/lib/google_api/deployment_manager/v2/model/set_autoscaler_link_operation_metadata.ex new file mode 100644 index 0000000000..d3abc8a901 --- /dev/null +++ b/clients/deployment_manager/lib/google_api/deployment_manager/v2/model/set_autoscaler_link_operation_metadata.ex @@ -0,0 +1,48 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata do + @moduledoc """ + + + ## Attributes + + * `zonalIgmIds` (*type:* `list(String.t)`, *default:* `nil`) - List of zonal IGM IDs part of the RMIG. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :zonalIgmIds => list(String.t()) | nil + } + + field(:zonalIgmIds, type: :list) +end + +defimpl Poison.Decoder, + for: GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata do + def decode(value, options) do + GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata.decode(value, options) + end +end + +defimpl Poison.Encoder, + for: GoogleApi.DeploymentManager.V2.Model.SetAutoscalerLinkOperationMetadata do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end