-
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 (#10836)
Auto-created at 2024-03-12 01:23:15 +0000 using the toys pull request generator.
- Loading branch information
1 parent
fa373a9
commit 106bce0
Showing
48 changed files
with
1,704 additions
and
85 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
49 changes: 49 additions & 0 deletions
49
clients/container/lib/google_api/container/v1/model/additional_node_network_config.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,49 @@ | ||
# 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.AdditionalNodeNetworkConfig do | ||
@moduledoc """ | ||
AdditionalNodeNetworkConfig is the configuration for additional node networks within the NodeNetworkConfig message | ||
## Attributes | ||
* `network` (*type:* `String.t`, *default:* `nil`) - Name of the VPC where the additional interface belongs | ||
* `subnetwork` (*type:* `String.t`, *default:* `nil`) - Name of the subnetwork where the additional interface belongs | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:network => String.t() | nil, | ||
:subnetwork => String.t() | nil | ||
} | ||
|
||
field(:network) | ||
field(:subnetwork) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.AdditionalNodeNetworkConfig do | ||
def decode(value, options) do | ||
GoogleApi.Container.V1.Model.AdditionalNodeNetworkConfig.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.AdditionalNodeNetworkConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
52 changes: 52 additions & 0 deletions
52
clients/container/lib/google_api/container/v1/model/additional_pod_network_config.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,52 @@ | ||
# 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.AdditionalPodNetworkConfig do | ||
@moduledoc """ | ||
AdditionalPodNetworkConfig is the configuration for additional pod networks within the NodeNetworkConfig message | ||
## Attributes | ||
* `maxPodsPerNode` (*type:* `GoogleApi.Container.V1.Model.MaxPodsConstraint.t`, *default:* `nil`) - The maximum number of pods per node which use this pod network | ||
* `secondaryPodRange` (*type:* `String.t`, *default:* `nil`) - The name of the secondary range on the subnet which provides IP address for this pod range | ||
* `subnetwork` (*type:* `String.t`, *default:* `nil`) - Name of the subnetwork where the additional pod network belongs | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:maxPodsPerNode => GoogleApi.Container.V1.Model.MaxPodsConstraint.t() | nil, | ||
:secondaryPodRange => String.t() | nil, | ||
:subnetwork => String.t() | nil | ||
} | ||
|
||
field(:maxPodsPerNode, as: GoogleApi.Container.V1.Model.MaxPodsConstraint) | ||
field(:secondaryPodRange) | ||
field(:subnetwork) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.AdditionalPodNetworkConfig do | ||
def decode(value, options) do | ||
GoogleApi.Container.V1.Model.AdditionalPodNetworkConfig.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.AdditionalPodNetworkConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
49 changes: 49 additions & 0 deletions
49
clients/container/lib/google_api/container/v1/model/additional_pod_ranges_config.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,49 @@ | ||
# 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.AdditionalPodRangesConfig do | ||
@moduledoc """ | ||
AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message. | ||
## Attributes | ||
* `podRangeInfo` (*type:* `list(GoogleApi.Container.V1.Model.RangeInfo.t)`, *default:* `nil`) - Output only. [Output only] Information for additional pod range. | ||
* `podRangeNames` (*type:* `list(String.t)`, *default:* `nil`) - Name for pod secondary ipv4 range which has the actual range defined ahead. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:podRangeInfo => list(GoogleApi.Container.V1.Model.RangeInfo.t()) | nil, | ||
:podRangeNames => list(String.t()) | nil | ||
} | ||
|
||
field(:podRangeInfo, as: GoogleApi.Container.V1.Model.RangeInfo, type: :list) | ||
field(:podRangeNames, type: :list) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.AdditionalPodRangesConfig do | ||
def decode(value, options) do | ||
GoogleApi.Container.V1.Model.AdditionalPodRangesConfig.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.AdditionalPodRangesConfig 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
52 changes: 52 additions & 0 deletions
52
...nts/container/lib/google_api/container/v1/model/advanced_datapath_observability_config.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,52 @@ | ||
# 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.AdvancedDatapathObservabilityConfig do | ||
@moduledoc """ | ||
AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath. | ||
## Attributes | ||
* `enableMetrics` (*type:* `boolean()`, *default:* `nil`) - Expose flow metrics on nodes | ||
* `enableRelay` (*type:* `boolean()`, *default:* `nil`) - Enable Relay component | ||
* `relayMode` (*type:* `String.t`, *default:* `nil`) - Method used to make Relay available | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:enableMetrics => boolean() | nil, | ||
:enableRelay => boolean() | nil, | ||
:relayMode => String.t() | nil | ||
} | ||
|
||
field(:enableMetrics) | ||
field(:enableRelay) | ||
field(:relayMode) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.AdvancedDatapathObservabilityConfig do | ||
def decode(value, options) do | ||
GoogleApi.Container.V1.Model.AdvancedDatapathObservabilityConfig.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.AdvancedDatapathObservabilityConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
Oops, something went wrong.