Skip to content

Commit ec88a94

Browse files
feat: Automated regeneration of Container client (#13258)
Auto-created at 2025-03-29 13:12:32 +0000 using the toys pull request generator.
1 parent a090f86 commit ec88a94

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

clients/container/lib/google_api/container/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Container.V1 do
2020
API client metadata for GoogleApi.Container.V1.
2121
"""
2222

23-
@discovery_revision "20250311"
23+
@discovery_revision "20250318"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/container/lib/google_api/container/v1/model/ephemeral_storage_local_ssd_config.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,18 @@ defmodule GoogleApi.Container.V1.Model.EphemeralStorageLocalSsdConfig do
2121
2222
## Attributes
2323
24+
* `dataCacheCount` (*type:* `integer()`, *default:* `nil`) - Number of local SSDs to use for GKE Data Cache.
2425
* `localSsdCount` (*type:* `integer()`, *default:* `nil`) - Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.
2526
"""
2627

2728
use GoogleApi.Gax.ModelBase
2829

2930
@type t :: %__MODULE__{
31+
:dataCacheCount => integer() | nil,
3032
:localSsdCount => integer() | nil
3133
}
3234

35+
field(:dataCacheCount)
3336
field(:localSsdCount)
3437
end
3538

clients/container/lib/google_api/container/v1/model/node_config.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ defmodule GoogleApi.Container.V1.Model.NodeConfig do
6464
* `soleTenantConfig` (*type:* `GoogleApi.Container.V1.Model.SoleTenantConfig.t`, *default:* `nil`) - Parameters for node pools to be backed by shared sole tenant node groups.
6565
* `workloadMetadataConfig` (*type:* `GoogleApi.Container.V1.Model.WorkloadMetadataConfig.t`, *default:* `nil`) - The workload metadata configuration for this node.
6666
* `reservationAffinity` (*type:* `GoogleApi.Container.V1.Model.ReservationAffinity.t`, *default:* `nil`) - The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.
67+
* `flexStart` (*type:* `boolean()`, *default:* `nil`) - Flex Start flag for enabling Flex Start VM.
6768
"""
6869

6970
use GoogleApi.Gax.ModelBase
@@ -117,7 +118,8 @@ defmodule GoogleApi.Container.V1.Model.NodeConfig do
117118
:soleTenantConfig => GoogleApi.Container.V1.Model.SoleTenantConfig.t() | nil,
118119
:workloadMetadataConfig =>
119120
GoogleApi.Container.V1.Model.WorkloadMetadataConfig.t() | nil,
120-
:reservationAffinity => GoogleApi.Container.V1.Model.ReservationAffinity.t() | nil
121+
:reservationAffinity => GoogleApi.Container.V1.Model.ReservationAffinity.t() | nil,
122+
:flexStart => boolean() | nil
121123
}
122124

123125
field(:sandboxConfig, as: GoogleApi.Container.V1.Model.SandboxConfig)
@@ -171,6 +173,7 @@ defmodule GoogleApi.Container.V1.Model.NodeConfig do
171173
field(:soleTenantConfig, as: GoogleApi.Container.V1.Model.SoleTenantConfig)
172174
field(:workloadMetadataConfig, as: GoogleApi.Container.V1.Model.WorkloadMetadataConfig)
173175
field(:reservationAffinity, as: GoogleApi.Container.V1.Model.ReservationAffinity)
176+
field(:flexStart)
174177
end
175178

176179
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.NodeConfig do

clients/container/lib/google_api/container/v1/model/node_pool.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Container.V1.Model.NodePool do
2121
2222
## Attributes
2323
24-
* `autopilotConfig` (*type:* `GoogleApi.Container.V1.Model.AutopilotConfig.t`, *default:* `nil`) - Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
24+
* `autopilotConfig` (*type:* `GoogleApi.Container.V1.Model.AutopilotConfig.t`, *default:* `nil`) - Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler.
2525
* `autoscaling` (*type:* `GoogleApi.Container.V1.Model.NodePoolAutoscaling.t`, *default:* `nil`) - Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
2626
* `bestEffortProvisioning` (*type:* `GoogleApi.Container.V1.Model.BestEffortProvisioning.t`, *default:* `nil`) - Enable best effort provisioning for nodes
2727
* `conditions` (*type:* `list(GoogleApi.Container.V1.Model.StatusCondition.t)`, *default:* `nil`) - Which conditions caused the current node pool state.

clients/container/lib/google_api/container/v1/model/update_node_pool_request.ex

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ defmodule GoogleApi.Container.V1.Model.UpdateNodePoolRequest do
5454
* `projectId` (*type:* `String.t`, *default:* `nil`) - Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
5555
* `upgradeSettings` (*type:* `GoogleApi.Container.V1.Model.UpgradeSettings.t`, *default:* `nil`) - Upgrade settings control disruption and speed of the upgrade.
5656
* `workloadMetadataConfig` (*type:* `GoogleApi.Container.V1.Model.WorkloadMetadataConfig.t`, *default:* `nil`) - The desired workload metadata config for the node pool.
57+
* `flexStart` (*type:* `boolean()`, *default:* `nil`) - Flex Start flag for enabling Flex Start VM.
5758
"""
5859

5960
use GoogleApi.Gax.ModelBase
@@ -91,7 +92,9 @@ defmodule GoogleApi.Container.V1.Model.UpdateNodePoolRequest do
9192
:etag => String.t() | nil,
9293
:projectId => String.t() | nil,
9394
:upgradeSettings => GoogleApi.Container.V1.Model.UpgradeSettings.t() | nil,
94-
:workloadMetadataConfig => GoogleApi.Container.V1.Model.WorkloadMetadataConfig.t() | nil
95+
:workloadMetadataConfig =>
96+
GoogleApi.Container.V1.Model.WorkloadMetadataConfig.t() | nil,
97+
:flexStart => boolean() | nil
9598
}
9699

97100
field(:fastSocket, as: GoogleApi.Container.V1.Model.FastSocket)
@@ -127,6 +130,7 @@ defmodule GoogleApi.Container.V1.Model.UpdateNodePoolRequest do
127130
field(:projectId)
128131
field(:upgradeSettings, as: GoogleApi.Container.V1.Model.UpgradeSettings)
129132
field(:workloadMetadataConfig, as: GoogleApi.Container.V1.Model.WorkloadMetadataConfig)
133+
field(:flexStart)
130134
end
131135

132136
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.UpdateNodePoolRequest do

0 commit comments

Comments
 (0)