Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-container/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-container</artifactId>
<version>v1-rev20260120-2.0.0</version>
<version>v1-rev20260209-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-container:v1-rev20260120-2.0.0'
implementation 'com.google.apis:google-api-services-container:v1-rev20260209-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class Container extends com.google.api.client.googleapis.services.json.Ab
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -12954,8 +12954,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
private java.lang.String clusterIpv4Cidr;

/**
* Optional. Deprecated: Compliance Posture is no longer supported. For more details, see
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
* Enable/Disable Compliance Posture features for the cluster.
* The value may be {@code null}.
*/
Expand Down Expand Up @@ -588,7 +590,7 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
private SecretManagerConfig secretManagerConfig;

/**
* Enable/Disable Security Posture API features for the cluster.
* Optional. Enable/Disable Security Posture API features for the cluster.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -826,6 +828,8 @@ public Cluster setClusterIpv4Cidr(java.lang.String clusterIpv4Cidr) {
}

/**
* Optional. Deprecated: Compliance Posture is no longer supported. For more details, see
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
* Enable/Disable Compliance Posture features for the cluster.
* @return value or {@code null} for none
*/
Expand All @@ -834,6 +838,8 @@ public CompliancePostureConfig getCompliancePostureConfig() {
}

/**
* Optional. Deprecated: Compliance Posture is no longer supported. For more details, see
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
* Enable/Disable Compliance Posture features for the cluster.
* @param compliancePostureConfig compliancePostureConfig or {@code null} for none
*/
Expand Down Expand Up @@ -2000,15 +2006,15 @@ public Cluster setSecretManagerConfig(SecretManagerConfig secretManagerConfig) {
}

/**
* Enable/Disable Security Posture API features for the cluster.
* Optional. Enable/Disable Security Posture API features for the cluster.
* @return value or {@code null} for none
*/
public SecurityPostureConfig getSecurityPostureConfig() {
return securityPostureConfig;
}

/**
* Enable/Disable Security Posture API features for the cluster.
* Optional. Enable/Disable Security Posture API features for the cluster.
* @param securityPostureConfig securityPostureConfig or {@code null} for none
*/
public Cluster setSecurityPostureConfig(SecurityPostureConfig securityPostureConfig) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
private ClusterAutoscaling desiredClusterAutoscaling;

/**
* Deprecated: Compliance Posture is no longer supported. For more details, see
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
* Enable/Disable Compliance Posture features for the cluster.
* The value may be {@code null}.
*/
Expand Down Expand Up @@ -759,6 +761,8 @@ public ClusterUpdate setDesiredClusterAutoscaling(ClusterAutoscaling desiredClus
}

/**
* Deprecated: Compliance Posture is no longer supported. For more details, see
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
* Enable/Disable Compliance Posture features for the cluster.
* @return value or {@code null} for none
*/
Expand All @@ -767,6 +771,8 @@ public CompliancePostureConfig getDesiredCompliancePostureConfig() {
}

/**
* Deprecated: Compliance Posture is no longer supported. For more details, see
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
* Enable/Disable Compliance Posture features for the cluster.
* @param desiredCompliancePostureConfig desiredCompliancePostureConfig or {@code null} for none
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
package com.google.api.services.container.model;

/**
* Deprecated: Compliance Posture is no longer supported. For more details, see
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
* CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance
* Posture.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
/*
* 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;

/**
* Contains config to modify node-level parameters for container restart behavior.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class CrashLoopBackOffConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum
* 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum.
* The string must be a sequence of decimal numbers, each with optional fraction and a unit
* suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". See
* https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-
* restart-delay for more details.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String maxContainerRestartPeriod;

/**
* Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum
* 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum.
* The string must be a sequence of decimal numbers, each with optional fraction and a unit
* suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". See
* https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-
* restart-delay for more details.
* @return value or {@code null} for none
*/
public java.lang.String getMaxContainerRestartPeriod() {
return maxContainerRestartPeriod;
}

/**
* Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum
* 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum.
* The string must be a sequence of decimal numbers, each with optional fraction and a unit
* suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". See
* https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-
* restart-delay for more details.
* @param maxContainerRestartPeriod maxContainerRestartPeriod or {@code null} for none
*/
public CrashLoopBackOffConfig setMaxContainerRestartPeriod(java.lang.String maxContainerRestartPeriod) {
this.maxContainerRestartPeriod = maxContainerRestartPeriod;
return this;
}

@Override
public CrashLoopBackOffConfig set(String fieldName, Object value) {
return (CrashLoopBackOffConfig) super.set(fieldName, value);
}

@Override
public CrashLoopBackOffConfig clone() {
return (CrashLoopBackOffConfig) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
/*
* 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;

/**
* DisruptionBudget defines the upgrade disruption budget for the cluster control plane.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class DisruptionBudget extends com.google.api.client.json.GenericJson {

/**
* Output only. The last time a disruption was performed on the control plane.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String lastDisruptionTime;

/**
* Output only. The last time a minor version upgrade was performed on the control plane.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String lastMinorVersionDisruptionTime;

/**
* Optional. The minimum duration between two minor version upgrades of the control plane.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String minorVersionDisruptionInterval;

/**
* Optional. The minimum duration between two patch version upgrades of the control plane.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String patchVersionDisruptionInterval;

/**
* Output only. The last time a disruption was performed on the control plane.
* @return value or {@code null} for none
*/
public String getLastDisruptionTime() {
return lastDisruptionTime;
}

/**
* Output only. The last time a disruption was performed on the control plane.
* @param lastDisruptionTime lastDisruptionTime or {@code null} for none
*/
public DisruptionBudget setLastDisruptionTime(String lastDisruptionTime) {
this.lastDisruptionTime = lastDisruptionTime;
return this;
}

/**
* Output only. The last time a minor version upgrade was performed on the control plane.
* @return value or {@code null} for none
*/
public String getLastMinorVersionDisruptionTime() {
return lastMinorVersionDisruptionTime;
}

/**
* Output only. The last time a minor version upgrade was performed on the control plane.
* @param lastMinorVersionDisruptionTime lastMinorVersionDisruptionTime or {@code null} for none
*/
public DisruptionBudget setLastMinorVersionDisruptionTime(String lastMinorVersionDisruptionTime) {
this.lastMinorVersionDisruptionTime = lastMinorVersionDisruptionTime;
return this;
}

/**
* Optional. The minimum duration between two minor version upgrades of the control plane.
* @return value or {@code null} for none
*/
public String getMinorVersionDisruptionInterval() {
return minorVersionDisruptionInterval;
}

/**
* Optional. The minimum duration between two minor version upgrades of the control plane.
* @param minorVersionDisruptionInterval minorVersionDisruptionInterval or {@code null} for none
*/
public DisruptionBudget setMinorVersionDisruptionInterval(String minorVersionDisruptionInterval) {
this.minorVersionDisruptionInterval = minorVersionDisruptionInterval;
return this;
}

/**
* Optional. The minimum duration between two patch version upgrades of the control plane.
* @return value or {@code null} for none
*/
public String getPatchVersionDisruptionInterval() {
return patchVersionDisruptionInterval;
}

/**
* Optional. The minimum duration between two patch version upgrades of the control plane.
* @param patchVersionDisruptionInterval patchVersionDisruptionInterval or {@code null} for none
*/
public DisruptionBudget setPatchVersionDisruptionInterval(String patchVersionDisruptionInterval) {
this.patchVersionDisruptionInterval = patchVersionDisruptionInterval;
return this;
}

@Override
public DisruptionBudget set(String fieldName, Object value) {
return (DisruptionBudget) super.set(fieldName, value);
}

@Override
public DisruptionBudget clone() {
return (DisruptionBudget) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
@SuppressWarnings("javadoc")
public final class MaintenancePolicy extends com.google.api.client.json.GenericJson {

/**
* Optional. The upgrade disruption budget for the cluster control plane.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DisruptionBudget disruptionBudget;

/**
* A hash identifying the version of this policy, so that updates to fields of the policy won't
* accidentally undo intermediate changes (and so that users of the API unaware of some fields
Expand All @@ -47,6 +54,23 @@ public final class MaintenancePolicy extends com.google.api.client.json.GenericJ
@com.google.api.client.util.Key
private MaintenanceWindow window;

/**
* Optional. The upgrade disruption budget for the cluster control plane.
* @return value or {@code null} for none
*/
public DisruptionBudget getDisruptionBudget() {
return disruptionBudget;
}

/**
* Optional. The upgrade disruption budget for the cluster control plane.
* @param disruptionBudget disruptionBudget or {@code null} for none
*/
public MaintenancePolicy setDisruptionBudget(DisruptionBudget disruptionBudget) {
this.disruptionBudget = disruptionBudget;
return this;
}

/**
* A hash identifying the version of this policy, so that updates to fields of the policy won't
* accidentally undo intermediate changes (and so that users of the API unaware of some fields
Expand Down
Loading