From 1dd73132326c8deb8ee865e29dbf04a413bf1852 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 3 Nov 2026 17:10:28 -0800 Subject: [PATCH] chore: regenerate container client --- .../v1/2.0.0/README.md | 4 +- .../container/model/EtcHostsEntry.java | 91 ++++++++++++ .../model/KernelCommandlineOverrides.java | 91 ++++++++++++ .../container/model/KernelOverrides.java | 91 ++++++++++++ .../api/services/container/model/LRUGen.java | 94 +++++++++++++ .../container/model/LinuxNodeConfig.java | 129 ++++++++++++++++++ .../container/model/ResolvedConfEntry.java | 91 ++++++++++++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- 9 files changed, 593 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/EtcHostsEntry.java create mode 100644 clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/KernelCommandlineOverrides.java create mode 100644 clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/KernelOverrides.java create mode 100644 clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/LRUGen.java create mode 100644 clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/ResolvedConfEntry.java diff --git a/clients/google-api-services-container/v1/2.0.0/README.md b/clients/google-api-services-container/v1/2.0.0/README.md index fd5c55db7d4..cd94f63d775 100644 --- a/clients/google-api-services-container/v1/2.0.0/README.md +++ b/clients/google-api-services-container/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-container - v1-rev20261021-2.9.2 + v1-rev20261027-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-container:v1-rev20261021-2.9.2' + implementation 'com.google.apis:google-api-services-container:v1-rev20261027-2.9.2' } ``` diff --git a/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/EtcHostsEntry.java b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/EtcHostsEntry.java new file mode 100644 index 00000000000..43b6ad453e7 --- /dev/null +++ b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/EtcHostsEntry.java @@ -0,0 +1,91 @@ +/* + * 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. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.container.model; + +/** + * Additional entries to be added to /etc/hosts. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class EtcHostsEntry extends com.google.api.client.json.GenericJson { + + /** + * The hostname of the host. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String host; + + /** + * The IPv4 or IPv6 address of the host. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ip; + + /** + * The hostname of the host. + * @return value or {@code null} for none + */ + public java.lang.String getHost() { + return host; + } + + /** + * The hostname of the host. + * @param host host or {@code null} for none + */ + public EtcHostsEntry setHost(java.lang.String host) { + this.host = host; + return this; + } + + /** + * The IPv4 or IPv6 address of the host. + * @return value or {@code null} for none + */ + public java.lang.String getIp() { + return ip; + } + + /** + * The IPv4 or IPv6 address of the host. + * @param ip ip or {@code null} for none + */ + public EtcHostsEntry setIp(java.lang.String ip) { + this.ip = ip; + return this; + } + + @Override + public EtcHostsEntry set(String fieldName, Object value) { + return (EtcHostsEntry) super.set(fieldName, value); + } + + @Override + public EtcHostsEntry clone() { + return (EtcHostsEntry) super.clone(); + } + +} diff --git a/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/KernelCommandlineOverrides.java b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/KernelCommandlineOverrides.java new file mode 100644 index 00000000000..1a6664a97b4 --- /dev/null +++ b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/KernelCommandlineOverrides.java @@ -0,0 +1,91 @@ +/* + * 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. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.container.model; + +/** + * Definition of possible additional kernel command line arguments to be configured to the kernel. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class KernelCommandlineOverrides extends com.google.api.client.json.GenericJson { + + /** + * Optional. Defines the change of init_on_alloc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String initOnAlloc; + + /** + * Optional. Defines the change of spec_rstack_overflow. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String specRstackOverflow; + + /** + * Optional. Defines the change of init_on_alloc. + * @return value or {@code null} for none + */ + public java.lang.String getInitOnAlloc() { + return initOnAlloc; + } + + /** + * Optional. Defines the change of init_on_alloc. + * @param initOnAlloc initOnAlloc or {@code null} for none + */ + public KernelCommandlineOverrides setInitOnAlloc(java.lang.String initOnAlloc) { + this.initOnAlloc = initOnAlloc; + return this; + } + + /** + * Optional. Defines the change of spec_rstack_overflow. + * @return value or {@code null} for none + */ + public java.lang.String getSpecRstackOverflow() { + return specRstackOverflow; + } + + /** + * Optional. Defines the change of spec_rstack_overflow. + * @param specRstackOverflow specRstackOverflow or {@code null} for none + */ + public KernelCommandlineOverrides setSpecRstackOverflow(java.lang.String specRstackOverflow) { + this.specRstackOverflow = specRstackOverflow; + return this; + } + + @Override + public KernelCommandlineOverrides set(String fieldName, Object value) { + return (KernelCommandlineOverrides) super.set(fieldName, value); + } + + @Override + public KernelCommandlineOverrides clone() { + return (KernelCommandlineOverrides) super.clone(); + } + +} diff --git a/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/KernelOverrides.java b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/KernelOverrides.java new file mode 100644 index 00000000000..22a44e31d98 --- /dev/null +++ b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/KernelOverrides.java @@ -0,0 +1,91 @@ +/* + * 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. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.container.model; + +/** + * Parameters that can be configured on the kernel. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class KernelOverrides extends com.google.api.client.json.GenericJson { + + /** + * Optional. Allow setting for optional kernel command line arguments overrides. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private KernelCommandlineOverrides kernelCommandlineOverrides; + + /** + * Optional. lrugen (Multi-Gen LRU) options + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LRUGen lruGen; + + /** + * Optional. Allow setting for optional kernel command line arguments overrides. + * @return value or {@code null} for none + */ + public KernelCommandlineOverrides getKernelCommandlineOverrides() { + return kernelCommandlineOverrides; + } + + /** + * Optional. Allow setting for optional kernel command line arguments overrides. + * @param kernelCommandlineOverrides kernelCommandlineOverrides or {@code null} for none + */ + public KernelOverrides setKernelCommandlineOverrides(KernelCommandlineOverrides kernelCommandlineOverrides) { + this.kernelCommandlineOverrides = kernelCommandlineOverrides; + return this; + } + + /** + * Optional. lrugen (Multi-Gen LRU) options + * @return value or {@code null} for none + */ + public LRUGen getLruGen() { + return lruGen; + } + + /** + * Optional. lrugen (Multi-Gen LRU) options + * @param lruGen lruGen or {@code null} for none + */ + public KernelOverrides setLruGen(LRUGen lruGen) { + this.lruGen = lruGen; + return this; + } + + @Override + public KernelOverrides set(String fieldName, Object value) { + return (KernelOverrides) super.set(fieldName, value); + } + + @Override + public KernelOverrides clone() { + return (KernelOverrides) super.clone(); + } + +} diff --git a/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/LRUGen.java b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/LRUGen.java new file mode 100644 index 00000000000..f3b533af9a3 --- /dev/null +++ b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/LRUGen.java @@ -0,0 +1,94 @@ +/* + * 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. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.container.model; + +/** + * lrugen (Multi-Gen LRU) options See https://docs.kernel.org/admin-guide/mm/multigen_lru.html + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class LRUGen extends com.google.api.client.json.GenericJson { + + /** + * Optional. Enable lrugen. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enabled; + + /** + * Optional. Users can write N to min_ttl_ms to prevent the working set of N milliseconds from + * getting evicted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer minTtlMs; + + /** + * Optional. Enable lrugen. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnabled() { + return enabled; + } + + /** + * Optional. Enable lrugen. + * @param enabled enabled or {@code null} for none + */ + public LRUGen setEnabled(java.lang.Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Optional. Users can write N to min_ttl_ms to prevent the working set of N milliseconds from + * getting evicted. + * @return value or {@code null} for none + */ + public java.lang.Integer getMinTtlMs() { + return minTtlMs; + } + + /** + * Optional. Users can write N to min_ttl_ms to prevent the working set of N milliseconds from + * getting evicted. + * @param minTtlMs minTtlMs or {@code null} for none + */ + public LRUGen setMinTtlMs(java.lang.Integer minTtlMs) { + this.minTtlMs = minTtlMs; + return this; + } + + @Override + public LRUGen set(String fieldName, Object value) { + return (LRUGen) super.set(fieldName, value); + } + + @Override + public LRUGen clone() { + return (LRUGen) super.clone(); + } + +} diff --git a/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/LinuxNodeConfig.java b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/LinuxNodeConfig.java index 51f5a192290..529f35fdb80 100644 --- a/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/LinuxNodeConfig.java +++ b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/LinuxNodeConfig.java @@ -37,6 +37,33 @@ public final class LinuxNodeConfig extends com.google.api.client.json.GenericJso @com.google.api.client.util.Key private AccurateTimeConfig accurateTimeConfig; + /** + * Optional. Additional entries to be added to /etc/hosts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List additionalEtcHosts; + + static { + // hack to force ProGuard to consider EtcHostsEntry used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(EtcHostsEntry.class); + } + + /** + * Optional. Additional entries to be added to /etc/resolv.conf. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List additionalEtcResolvConf; + + /** + * Optional. Additional entries to be added to /etc/systemd/resolved.conf. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List additionalEtcSystemdResolvedConf; + /** * cgroup_mode specifies the cgroup mode to be used on the node. * The value may be {@code null}. @@ -65,6 +92,14 @@ public final class LinuxNodeConfig extends com.google.api.client.json.GenericJso @com.google.api.client.util.Key private HugepagesConfig hugepages; + /** + * Optional. Defines the kernel overrides to be applied to the nodes. Note: sysctl changes are + * defined separately in the sysctls fields. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private KernelOverrides kernelOverrides; + /** * Optional. Configuration for kernel module loading on nodes. When enabled, the node pool will be * provisioned with a Container-Optimized OS image that enforces kernel module signature @@ -113,6 +148,13 @@ public final class LinuxNodeConfig extends com.google.api.client.json.GenericJso @com.google.api.client.util.Key private java.util.Map sysctls; + /** + * Optional. Configures the timezone of the node. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeZone; + /** * Optional. Defines the transparent hugepage defrag configuration on the node. VM hugepage * allocation can be managed by either limiting defragmentation for delayed allocation or skipping @@ -150,6 +192,57 @@ public LinuxNodeConfig setAccurateTimeConfig(AccurateTimeConfig accurateTimeConf return this; } + /** + * Optional. Additional entries to be added to /etc/hosts. + * @return value or {@code null} for none + */ + public java.util.List getAdditionalEtcHosts() { + return additionalEtcHosts; + } + + /** + * Optional. Additional entries to be added to /etc/hosts. + * @param additionalEtcHosts additionalEtcHosts or {@code null} for none + */ + public LinuxNodeConfig setAdditionalEtcHosts(java.util.List additionalEtcHosts) { + this.additionalEtcHosts = additionalEtcHosts; + return this; + } + + /** + * Optional. Additional entries to be added to /etc/resolv.conf. + * @return value or {@code null} for none + */ + public java.util.List getAdditionalEtcResolvConf() { + return additionalEtcResolvConf; + } + + /** + * Optional. Additional entries to be added to /etc/resolv.conf. + * @param additionalEtcResolvConf additionalEtcResolvConf or {@code null} for none + */ + public LinuxNodeConfig setAdditionalEtcResolvConf(java.util.List additionalEtcResolvConf) { + this.additionalEtcResolvConf = additionalEtcResolvConf; + return this; + } + + /** + * Optional. Additional entries to be added to /etc/systemd/resolved.conf. + * @return value or {@code null} for none + */ + public java.util.List getAdditionalEtcSystemdResolvedConf() { + return additionalEtcSystemdResolvedConf; + } + + /** + * Optional. Additional entries to be added to /etc/systemd/resolved.conf. + * @param additionalEtcSystemdResolvedConf additionalEtcSystemdResolvedConf or {@code null} for none + */ + public LinuxNodeConfig setAdditionalEtcSystemdResolvedConf(java.util.List additionalEtcSystemdResolvedConf) { + this.additionalEtcSystemdResolvedConf = additionalEtcSystemdResolvedConf; + return this; + } + /** * cgroup_mode specifies the cgroup mode to be used on the node. * @return value or {@code null} for none @@ -218,6 +311,25 @@ public LinuxNodeConfig setHugepages(HugepagesConfig hugepages) { return this; } + /** + * Optional. Defines the kernel overrides to be applied to the nodes. Note: sysctl changes are + * defined separately in the sysctls fields. + * @return value or {@code null} for none + */ + public KernelOverrides getKernelOverrides() { + return kernelOverrides; + } + + /** + * Optional. Defines the kernel overrides to be applied to the nodes. Note: sysctl changes are + * defined separately in the sysctls fields. + * @param kernelOverrides kernelOverrides or {@code null} for none + */ + public LinuxNodeConfig setKernelOverrides(KernelOverrides kernelOverrides) { + this.kernelOverrides = kernelOverrides; + return this; + } + /** * Optional. Configuration for kernel module loading on nodes. When enabled, the node pool will be * provisioned with a Container-Optimized OS image that enforces kernel module signature @@ -326,6 +438,23 @@ public LinuxNodeConfig setSysctls(java.util.Map sysctl return this; } + /** + * Optional. Configures the timezone of the node. + * @return value or {@code null} for none + */ + public java.lang.String getTimeZone() { + return timeZone; + } + + /** + * Optional. Configures the timezone of the node. + * @param timeZone timeZone or {@code null} for none + */ + public LinuxNodeConfig setTimeZone(java.lang.String timeZone) { + this.timeZone = timeZone; + return this; + } + /** * Optional. Defines the transparent hugepage defrag configuration on the node. VM hugepage * allocation can be managed by either limiting defragmentation for delayed allocation or skipping diff --git a/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/ResolvedConfEntry.java b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/ResolvedConfEntry.java new file mode 100644 index 00000000000..6c291cc7f15 --- /dev/null +++ b/clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/ResolvedConfEntry.java @@ -0,0 +1,91 @@ +/* + * 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. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.container.model; + +/** + * Additional entries to be added to resolved.conf. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ResolvedConfEntry extends com.google.api.client.json.GenericJson { + + /** + * The key of resolved.conf + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Optional. The value of resolved.conf + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List value; + + /** + * The key of resolved.conf + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * The key of resolved.conf + * @param key key or {@code null} for none + */ + public ResolvedConfEntry setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** + * Optional. The value of resolved.conf + * @return value or {@code null} for none + */ + public java.util.List getValue() { + return value; + } + + /** + * Optional. The value of resolved.conf + * @param value value or {@code null} for none + */ + public ResolvedConfEntry setValue(java.util.List value) { + this.value = value; + return this; + } + + @Override + public ResolvedConfEntry set(String fieldName, Object value) { + return (ResolvedConfEntry) super.set(fieldName, value); + } + + @Override + public ResolvedConfEntry clone() { + return (ResolvedConfEntry) super.clone(); + } + +} diff --git a/clients/google-api-services-container/v1/2.0.0/pom.xml b/clients/google-api-services-container/v1/2.0.0/pom.xml index 9b4ba9f903d..ac810feb170 100644 --- a/clients/google-api-services-container/v1/2.0.0/pom.xml +++ b/clients/google-api-services-container/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-container - v1-rev20261021-2.9.2 - Kubernetes Engine API v1-rev20261021-2.9.2 + v1-rev20261027-2.9.2 + Kubernetes Engine API v1-rev20261027-2.9.2 jar 2011 diff --git a/clients/google-api-services-container/v1/README.md b/clients/google-api-services-container/v1/README.md index fd5c55db7d4..cd94f63d775 100644 --- a/clients/google-api-services-container/v1/README.md +++ b/clients/google-api-services-container/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-container - v1-rev20261021-2.9.2 + v1-rev20261027-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-container:v1-rev20261021-2.9.2' + implementation 'com.google.apis:google-api-services-container:v1-rev20261027-2.9.2' } ```