Skip to content

Commit

Permalink
feat: Automated regeneration of Container client (#12698)
Browse files Browse the repository at this point in the history
Auto-created at 2024-12-13 13:12:52 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Dec 13, 2024
1 parent 25e6ff1 commit a75161e
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 77 deletions.
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.55"}]
[{:google_api_container, "~> 0.56"}]
end
```

Expand Down
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
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Container.V1 do
API client metadata for GoogleApi.Container.V1.
"""

@discovery_revision "20241105"
@discovery_revision "20241203"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule GoogleApi.Container.V1.Model.Autopilot do
## Attributes
* `enabled` (*type:* `boolean()`, *default:* `nil`) - Enable Autopilot
* `workloadPolicyConfig` (*type:* `GoogleApi.Container.V1.Model.WorkloadPolicyConfig.t`, *default:* `nil`) - Workload policy configuration for Autopilot.
* `workloadPolicyConfig` (*type:* `GoogleApi.Container.V1.Model.WorkloadPolicyConfig.t`, *default:* `nil`) - WorkloadPolicyConfig is the configuration related to GCW workload policy
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ defmodule GoogleApi.Container.V1.Model.ClusterUpdate do
* `desiredNotificationConfig` (*type:* `GoogleApi.Container.V1.Model.NotificationConfig.t`, *default:* `nil`) - The desired notification configuration.
* `desiredL4ilbSubsettingConfig` (*type:* `GoogleApi.Container.V1.Model.ILBSubsettingConfig.t`, *default:* `nil`) - The desired L4 Internal Load Balancer Subsetting configuration.
* `desiredIntraNodeVisibilityConfig` (*type:* `GoogleApi.Container.V1.Model.IntraNodeVisibilityConfig.t`, *default:* `nil`) - The desired config of Intra-node visibility.
* `desiredAutopilotWorkloadPolicyConfig` (*type:* `GoogleApi.Container.V1.Model.WorkloadPolicyConfig.t`, *default:* `nil`) - The desired workload policy configuration for the autopilot cluster.
* `desiredAutopilotWorkloadPolicyConfig` (*type:* `GoogleApi.Container.V1.Model.WorkloadPolicyConfig.t`, *default:* `nil`) - WorkloadPolicyConfig is the configuration related to GCW workload policy
* `desiredServiceExternalIpsConfig` (*type:* `GoogleApi.Container.V1.Model.ServiceExternalIPsConfig.t`, *default:* `nil`) - ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field.
* `desiredReleaseChannel` (*type:* `GoogleApi.Container.V1.Model.ReleaseChannel.t`, *default:* `nil`) - The desired release channel configuration.
* `desiredRbacBindingConfig` (*type:* `GoogleApi.Container.V1.Model.RBACBindingConfig.t`, *default:* `nil`) - RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ defmodule GoogleApi.Container.V1.Model.NodeConfig do
* `nodeGroup` (*type:* `String.t`, *default:* `nil`) - Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
* `secondaryBootDisks` (*type:* `list(GoogleApi.Container.V1.Model.SecondaryBootDisk.t)`, *default:* `nil`) - List of secondary boot disks attached to the nodes.
* `accelerators` (*type:* `list(GoogleApi.Container.V1.Model.AcceleratorConfig.t)`, *default:* `nil`) - A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
* `maxRunDuration` (*type:* `String.t`, *default:* `nil`) - The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
* `windowsNodeConfig` (*type:* `GoogleApi.Container.V1.Model.WindowsNodeConfig.t`, *default:* `nil`) - Parameters that can be configured on Windows nodes.
* `linuxNodeConfig` (*type:* `GoogleApi.Container.V1.Model.LinuxNodeConfig.t`, *default:* `nil`) - Parameters that can be configured on Linux nodes.
* `effectiveCgroupMode` (*type:* `String.t`, *default:* `nil`) - Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based on the cluster creation version.
Expand Down Expand Up @@ -92,6 +93,7 @@ defmodule GoogleApi.Container.V1.Model.NodeConfig do
:nodeGroup => String.t() | nil,
:secondaryBootDisks => list(GoogleApi.Container.V1.Model.SecondaryBootDisk.t()) | nil,
:accelerators => list(GoogleApi.Container.V1.Model.AcceleratorConfig.t()) | nil,
:maxRunDuration => String.t() | nil,
:windowsNodeConfig => GoogleApi.Container.V1.Model.WindowsNodeConfig.t() | nil,
:linuxNodeConfig => GoogleApi.Container.V1.Model.LinuxNodeConfig.t() | nil,
:effectiveCgroupMode => String.t() | nil,
Expand Down Expand Up @@ -139,6 +141,7 @@ defmodule GoogleApi.Container.V1.Model.NodeConfig do
field(:nodeGroup)
field(:secondaryBootDisks, as: GoogleApi.Container.V1.Model.SecondaryBootDisk, type: :list)
field(:accelerators, as: GoogleApi.Container.V1.Model.AcceleratorConfig, type: :list)
field(:maxRunDuration)
field(:windowsNodeConfig, as: GoogleApi.Container.V1.Model.WindowsNodeConfig)
field(:linuxNodeConfig, as: GoogleApi.Container.V1.Model.LinuxNodeConfig)
field(:effectiveCgroupMode)
Expand Down
Loading

0 comments on commit a75161e

Please sign in to comment.