-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Automated regeneration of Container client (#12489)
Auto-created at 2024-11-06 13:16:06 +0000 using the toys pull request generator.
- Loading branch information
1 parent
dcd3d26
commit 3ee7b6d
Showing
8 changed files
with
91 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
clients/container/lib/google_api/container/v1/model/upgrade_info_event.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# 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.Container.V1.Model.UpgradeInfoEvent do | ||
@moduledoc """ | ||
UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource. | ||
## Attributes | ||
* `currentVersion` (*type:* `String.t`, *default:* `nil`) - The current version before the upgrade. | ||
* `description` (*type:* `String.t`, *default:* `nil`) - A brief description of the event. | ||
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - The time when the operation ended. | ||
* `operation` (*type:* `String.t`, *default:* `nil`) - The operation associated with this upgrade. | ||
* `resource` (*type:* `String.t`, *default:* `nil`) - Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool. | ||
* `resourceType` (*type:* `String.t`, *default:* `nil`) - The resource type associated with the upgrade. | ||
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - The time when the operation was started. | ||
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The state of the upgrade. | ||
* `targetVersion` (*type:* `String.t`, *default:* `nil`) - The target version for the upgrade. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:currentVersion => String.t() | nil, | ||
:description => String.t() | nil, | ||
:endTime => DateTime.t() | nil, | ||
:operation => String.t() | nil, | ||
:resource => String.t() | nil, | ||
:resourceType => String.t() | nil, | ||
:startTime => DateTime.t() | nil, | ||
:state => String.t() | nil, | ||
:targetVersion => String.t() | nil | ||
} | ||
|
||
field(:currentVersion) | ||
field(:description) | ||
field(:endTime, as: DateTime) | ||
field(:operation) | ||
field(:resource) | ||
field(:resourceType) | ||
field(:startTime, as: DateTime) | ||
field(:state) | ||
field(:targetVersion) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.UpgradeInfoEvent do | ||
def decode(value, options) do | ||
GoogleApi.Container.V1.Model.UpgradeInfoEvent.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.UpgradeInfoEvent do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters