Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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
)
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Loading