Skip to content

Commit

Permalink
feat: Automated regeneration of Container client (googleapis#12806)
Browse files Browse the repository at this point in the history
Auto-created at 2025-01-11 13:14:30 +0000 using the toys pull request generator.
yoshi-code-bot authored Jan 11, 2025
1 parent 9a03d2e commit b6be5f5
Showing 6 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/container/README.md
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

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

2 changes: 1 addition & 1 deletion clients/container/lib/google_api/container/v1/metadata.ex
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Container.V1 do
API client metadata for GoogleApi.Container.V1.
"""

@discovery_revision "20241203"
@discovery_revision "20241228"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
@@ -69,6 +69,7 @@ defmodule GoogleApi.Container.V1.Model.ClusterUpdate do
* `desiredClusterAutoscaling` (*type:* `GoogleApi.Container.V1.Model.ClusterAutoscaling.t`, *default:* `nil`) - Cluster-level autoscaling configuration.
* `desiredFleet` (*type:* `GoogleApi.Container.V1.Model.Fleet.t`, *default:* `nil`) - The desired fleet configuration for the cluster.
* `desiredParentProductConfig` (*type:* `GoogleApi.Container.V1.Model.ParentProductConfig.t`, *default:* `nil`) - The desired parent product config for the cluster.
* `desiredDisableL4LbFirewallReconciliation` (*type:* `boolean()`, *default:* `nil`) - Enable/Disable L4 LB VPC firewall reconciliation for the cluster.
* `desiredResourceUsageExportConfig` (*type:* `GoogleApi.Container.V1.Model.ResourceUsageExportConfig.t`, *default:* `nil`) - The desired configuration for exporting resource usage.
* `removedAdditionalPodRangesConfig` (*type:* `GoogleApi.Container.V1.Model.AdditionalPodRangesConfig.t`, *default:* `nil`) - The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.
* `desiredNodeVersion` (*type:* `String.t`, *default:* `nil`) - The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version
@@ -158,6 +159,7 @@ defmodule GoogleApi.Container.V1.Model.ClusterUpdate do
:desiredFleet => GoogleApi.Container.V1.Model.Fleet.t() | nil,
:desiredParentProductConfig =>
GoogleApi.Container.V1.Model.ParentProductConfig.t() | nil,
:desiredDisableL4LbFirewallReconciliation => boolean() | nil,
:desiredResourceUsageExportConfig =>
GoogleApi.Container.V1.Model.ResourceUsageExportConfig.t() | nil,
:removedAdditionalPodRangesConfig =>
@@ -260,6 +262,7 @@ defmodule GoogleApi.Container.V1.Model.ClusterUpdate do
field(:desiredClusterAutoscaling, as: GoogleApi.Container.V1.Model.ClusterAutoscaling)
field(:desiredFleet, as: GoogleApi.Container.V1.Model.Fleet)
field(:desiredParentProductConfig, as: GoogleApi.Container.V1.Model.ParentProductConfig)
field(:desiredDisableL4LbFirewallReconciliation)

field(:desiredResourceUsageExportConfig,
as: GoogleApi.Container.V1.Model.ResourceUsageExportConfig
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@ defmodule GoogleApi.Container.V1.Model.NetworkConfig do
* `datapathProvider` (*type:* `String.t`, *default:* `nil`) - The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
* `defaultEnablePrivateNodes` (*type:* `boolean()`, *default:* `nil`) - Controls whether by default nodes have private IP addresses only. It is invalid to specify both PrivateClusterConfig.enablePrivateNodes and this field at the same time. To update the default setting, use ClusterUpdate.desired_default_enable_private_nodes
* `defaultSnatStatus` (*type:* `GoogleApi.Container.V1.Model.DefaultSnatStatus.t`, *default:* `nil`) - Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
* `disableL4LbFirewallReconciliation` (*type:* `boolean()`, *default:* `nil`) - Disable L4 load balancer VPC firewalls to enable firewall policies.
* `dnsConfig` (*type:* `GoogleApi.Container.V1.Model.DNSConfig.t`, *default:* `nil`) - DNSConfig contains clusterDNS config for this cluster.
* `enableCiliumClusterwideNetworkPolicy` (*type:* `boolean()`, *default:* `nil`) - Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
* `enableFqdnNetworkPolicy` (*type:* `boolean()`, *default:* `nil`) - Whether FQDN Network Policy is enabled on this cluster.
@@ -45,6 +46,7 @@ defmodule GoogleApi.Container.V1.Model.NetworkConfig do
:datapathProvider => String.t() | nil,
:defaultEnablePrivateNodes => boolean() | nil,
:defaultSnatStatus => GoogleApi.Container.V1.Model.DefaultSnatStatus.t() | nil,
:disableL4LbFirewallReconciliation => boolean() | nil,
:dnsConfig => GoogleApi.Container.V1.Model.DNSConfig.t() | nil,
:enableCiliumClusterwideNetworkPolicy => boolean() | nil,
:enableFqdnNetworkPolicy => boolean() | nil,
@@ -65,6 +67,7 @@ defmodule GoogleApi.Container.V1.Model.NetworkConfig do
field(:datapathProvider)
field(:defaultEnablePrivateNodes)
field(:defaultSnatStatus, as: GoogleApi.Container.V1.Model.DefaultSnatStatus)
field(:disableL4LbFirewallReconciliation)
field(:dnsConfig, as: GoogleApi.Container.V1.Model.DNSConfig)
field(:enableCiliumClusterwideNetworkPolicy)
field(:enableFqdnNetworkPolicy)
Original file line number Diff line number Diff line change
@@ -24,9 +24,12 @@ defmodule GoogleApi.Container.V1.Model.UpgradeInfoEvent do
* `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.
* `eventType` (*type:* `String.t`, *default:* `nil`) - The type of the event.
* `extendedSupportEndTime` (*type:* `DateTime.t`, *default:* `nil`) - The end of extended support timestamp.
* `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.
* `standardSupportEndTime` (*type:* `DateTime.t`, *default:* `nil`) - The end of standard support timestamp.
* `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.
@@ -38,9 +41,12 @@ defmodule GoogleApi.Container.V1.Model.UpgradeInfoEvent do
:currentVersion => String.t() | nil,
:description => String.t() | nil,
:endTime => DateTime.t() | nil,
:eventType => String.t() | nil,
:extendedSupportEndTime => DateTime.t() | nil,
:operation => String.t() | nil,
:resource => String.t() | nil,
:resourceType => String.t() | nil,
:standardSupportEndTime => DateTime.t() | nil,
:startTime => DateTime.t() | nil,
:state => String.t() | nil,
:targetVersion => String.t() | nil
@@ -49,9 +55,12 @@ defmodule GoogleApi.Container.V1.Model.UpgradeInfoEvent do
field(:currentVersion)
field(:description)
field(:endTime, as: DateTime)
field(:eventType)
field(:extendedSupportEndTime, as: DateTime)
field(:operation)
field(:resource)
field(:resourceType)
field(:standardSupportEndTime, as: DateTime)
field(:startTime, as: DateTime)
field(:state)
field(:targetVersion)
2 changes: 1 addition & 1 deletion clients/container/mix.exs
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
defmodule GoogleApi.Container.Mixfile do
use Mix.Project

@version "0.56.0"
@version "0.57.0"

def project() do
[

0 comments on commit b6be5f5

Please sign in to comment.