Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of Container client #12440

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
2 changes: 1 addition & 1 deletion clients/container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_container, "~> 0.53"}]
[{:google_api_container, "~> 0.54"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Container.V1 do
API client metadata for GoogleApi.Container.V1.
"""

@discovery_revision "20241008"
@discovery_revision "20241017"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ defmodule GoogleApi.Container.V1.Model.ClusterUpdate do
* `desiredK8sBetaApis` (*type:* `GoogleApi.Container.V1.Model.K8sBetaAPIConfig.t`, *default:* `nil`) - Desired Beta APIs to be enabled for cluster.
* `enableK8sBetaApis` (*type:* `GoogleApi.Container.V1.Model.K8sBetaAPIConfig.t`, *default:* `nil`) - Kubernetes open source beta apis enabled on the cluster. Only beta apis
* `desiredLoggingConfig` (*type:* `GoogleApi.Container.V1.Model.LoggingConfig.t`, *default:* `nil`) - The desired logging configuration.
* `desiredEnterpriseConfig` (*type:* `GoogleApi.Container.V1.Model.DesiredEnterpriseConfig.t`, *default:* `nil`) - The desired enterprise configuration for the cluster.
* `desiredGcfsConfig` (*type:* `GoogleApi.Container.V1.Model.GcfsConfig.t`, *default:* `nil`) - The desired GCFS config for the cluster
* `desiredDefaultEnablePrivateNodes` (*type:* `boolean()`, *default:* `nil`) - Override the default setting of whether future created nodes have private IP addresses only, namely NetworkConfig.default_enable_private_nodes
* `desiredDatapathProvider` (*type:* `String.t`, *default:* `nil`) - The desired datapath provider for the cluster.
Expand Down Expand Up @@ -95,6 +96,8 @@ defmodule GoogleApi.Container.V1.Model.ClusterUpdate do
:desiredK8sBetaApis => GoogleApi.Container.V1.Model.K8sBetaAPIConfig.t() | nil,
:enableK8sBetaApis => GoogleApi.Container.V1.Model.K8sBetaAPIConfig.t() | nil,
:desiredLoggingConfig => GoogleApi.Container.V1.Model.LoggingConfig.t() | nil,
:desiredEnterpriseConfig =>
GoogleApi.Container.V1.Model.DesiredEnterpriseConfig.t() | nil,
:desiredGcfsConfig => GoogleApi.Container.V1.Model.GcfsConfig.t() | nil,
:desiredDefaultEnablePrivateNodes => boolean() | nil,
:desiredDatapathProvider => String.t() | nil,
Expand Down Expand Up @@ -185,6 +188,7 @@ defmodule GoogleApi.Container.V1.Model.ClusterUpdate do
field(:desiredK8sBetaApis, as: GoogleApi.Container.V1.Model.K8sBetaAPIConfig)
field(:enableK8sBetaApis, as: GoogleApi.Container.V1.Model.K8sBetaAPIConfig)
field(:desiredLoggingConfig, as: GoogleApi.Container.V1.Model.LoggingConfig)
field(:desiredEnterpriseConfig, as: GoogleApi.Container.V1.Model.DesiredEnterpriseConfig)
field(:desiredGcfsConfig, as: GoogleApi.Container.V1.Model.GcfsConfig)
field(:desiredDefaultEnablePrivateNodes)
field(:desiredDatapathProvider)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# 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.DesiredEnterpriseConfig do
@moduledoc """
DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.

## Attributes

* `desiredTier` (*type:* `String.t`, *default:* `nil`) - desired_tier specifies the desired tier of the cluster.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:desiredTier => String.t() | nil
}

field(:desiredTier)
end

defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.DesiredEnterpriseConfig do
def decode(value, options) do
GoogleApi.Container.V1.Model.DesiredEnterpriseConfig.decode(value, options)
end
end

defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.DesiredEnterpriseConfig do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,18 @@ defmodule GoogleApi.Container.V1.Model.EnterpriseConfig do
## Attributes

* `clusterTier` (*type:* `String.t`, *default:* `nil`) - Output only. cluster_tier indicates the effective tier of the cluster.
* `desiredTier` (*type:* `String.t`, *default:* `nil`) - desired_tier specifies the desired tier of the cluster.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:clusterTier => String.t() | nil
:clusterTier => String.t() | nil,
:desiredTier => String.t() | nil
}

field(:clusterTier)
field(:desiredTier)
end

defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.EnterpriseConfig do
Expand Down
2 changes: 1 addition & 1 deletion clients/container/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Container.Mixfile do
use Mix.Project

@version "0.53.0"
@version "0.54.0"

def project() do
[
Expand Down
Loading