Skip to content
Merged
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-rev20260421-2.0.0</version>
<version>v1-rev20260507-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-rev20260421-2.0.0'
implementation 'com.google.apis:google-api-services-container:v1-rev20260507-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private NodeConfig nodeConfig;

/**
* Optional. Configuration for Node Creation Mode.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private NodeCreationConfig nodeCreationConfig;

/**
* Output only. The size of the address space on each node for hosting containers. This is
* provisioned from within the `container_ipv4_cidr` range. This field will only be set when
Expand Down Expand Up @@ -1786,6 +1793,23 @@ public Cluster setNodeConfig(NodeConfig nodeConfig) {
return this;
}

/**
* Optional. Configuration for Node Creation Mode.
* @return value or {@code null} for none
*/
public NodeCreationConfig getNodeCreationConfig() {
return nodeCreationConfig;
}

/**
* Optional. Configuration for Node Creation Mode.
* @param nodeCreationConfig nodeCreationConfig or {@code null} for none
*/
public Cluster setNodeCreationConfig(NodeCreationConfig nodeCreationConfig) {
this.nodeCreationConfig = nodeCreationConfig;
return this;
}

/**
* Output only. The size of the address space on each node for hosting containers. This is
* provisioned from within the `container_ipv4_cidr` range. This field will only be set when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private NetworkTierConfig desiredNetworkTierConfig;

/**
* Optional. The desired NodeCreationConfig for the cluster.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private NodeCreationConfig desiredNodeCreationConfig;

/**
* The desired node kubelet config for the cluster.
* The value may be {@code null}.
Expand Down Expand Up @@ -1486,6 +1493,23 @@ public ClusterUpdate setDesiredNetworkTierConfig(NetworkTierConfig desiredNetwor
return this;
}

/**
* Optional. The desired NodeCreationConfig for the cluster.
* @return value or {@code null} for none
*/
public NodeCreationConfig getDesiredNodeCreationConfig() {
return desiredNodeCreationConfig;
}

/**
* Optional. The desired NodeCreationConfig for the cluster.
* @param desiredNodeCreationConfig desiredNodeCreationConfig or {@code null} for none
*/
public ClusterUpdate setDesiredNodeCreationConfig(NodeCreationConfig desiredNodeCreationConfig) {
this.desiredNodeCreationConfig = desiredNodeCreationConfig;
return this;
}

/**
* The desired node kubelet config for the cluster.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
/*
* 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;

/**
* Defines the maintenance exclusion for the node pool.
*
* <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 ExclusionUntilEndOfSupport extends com.google.api.client.json.GenericJson {

/**
* Optional. Indicates whether the exclusion is enabled.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean enabled;

/**
* Output only. The end time of the maintenance exclusion. It is output only. It is the cluster
* control plane version's end of support time, or end of extended support time when the cluster
* is on extended support channel.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String endTime;

/**
* Output only. The start time of the maintenance exclusion. It is output only. It is the
* exclusion creation time.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String startTime;

/**
* Optional. Indicates whether the exclusion is enabled.
* @return value or {@code null} for none
*/
public java.lang.Boolean getEnabled() {
return enabled;
}

/**
* Optional. Indicates whether the exclusion is enabled.
* @param enabled enabled or {@code null} for none
*/
public ExclusionUntilEndOfSupport setEnabled(java.lang.Boolean enabled) {
this.enabled = enabled;
return this;
}

/**
* Output only. The end time of the maintenance exclusion. It is output only. It is the cluster
* control plane version's end of support time, or end of extended support time when the cluster
* is on extended support channel.
* @return value or {@code null} for none
*/
public String getEndTime() {
return endTime;
}

/**
* Output only. The end time of the maintenance exclusion. It is output only. It is the cluster
* control plane version's end of support time, or end of extended support time when the cluster
* is on extended support channel.
* @param endTime endTime or {@code null} for none
*/
public ExclusionUntilEndOfSupport setEndTime(String endTime) {
this.endTime = endTime;
return this;
}

/**
* Output only. The start time of the maintenance exclusion. It is output only. It is the
* exclusion creation time.
* @return value or {@code null} for none
*/
public String getStartTime() {
return startTime;
}

/**
* Output only. The start time of the maintenance exclusion. It is output only. It is the
* exclusion creation time.
* @param startTime startTime or {@code null} for none
*/
public ExclusionUntilEndOfSupport setStartTime(String startTime) {
this.startTime = startTime;
return this;
}

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

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

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

/**
* NodeCreationConfig defines the settings of node creation mode.
*
* <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 NodeCreationConfig extends com.google.api.client.json.GenericJson {

/**
* The mode of node creation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nodeCreationMode;

/**
* The mode of node creation.
* @return value or {@code null} for none
*/
public java.lang.String getNodeCreationMode() {
return nodeCreationMode;
}

/**
* The mode of node creation.
* @param nodeCreationMode nodeCreationMode or {@code null} for none
*/
public NodeCreationConfig setNodeCreationMode(java.lang.String nodeCreationMode) {
this.nodeCreationMode = nodeCreationMode;
return this;
}

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

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

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

/**
* The duration of the grace termination period for node drain.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String graceTerminationDuration;

/**
* The duration of the PDB timeout period for node drain.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String pdbTimeoutDuration;

/**
* Whether to respect PDB during node pool deletion.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean respectPdbDuringNodePoolDeletion;

/**
* The duration of the grace termination period for node drain.
* @return value or {@code null} for none
*/
public String getGraceTerminationDuration() {
return graceTerminationDuration;
}

/**
* The duration of the grace termination period for node drain.
* @param graceTerminationDuration graceTerminationDuration or {@code null} for none
*/
public NodeDrainConfig setGraceTerminationDuration(String graceTerminationDuration) {
this.graceTerminationDuration = graceTerminationDuration;
return this;
}

/**
* The duration of the PDB timeout period for node drain.
* @return value or {@code null} for none
*/
public String getPdbTimeoutDuration() {
return pdbTimeoutDuration;
}

/**
* The duration of the PDB timeout period for node drain.
* @param pdbTimeoutDuration pdbTimeoutDuration or {@code null} for none
*/
public NodeDrainConfig setPdbTimeoutDuration(String pdbTimeoutDuration) {
this.pdbTimeoutDuration = pdbTimeoutDuration;
return this;
}

/**
* Whether to respect PDB during node pool deletion.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ public final class NodePool extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List<java.lang.String> locations;

/**
* Optional. Specifies the maintenance policy for the node pool.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private NodePoolMaintenancePolicy maintenancePolicy;

/**
* NodeManagement configuration for this NodePool.
* The value may be {@code null}.
Expand Down Expand Up @@ -395,6 +402,23 @@ public NodePool setLocations(java.util.List<java.lang.String> locations) {
return this;
}

/**
* Optional. Specifies the maintenance policy for the node pool.
* @return value or {@code null} for none
*/
public NodePoolMaintenancePolicy getMaintenancePolicy() {
return maintenancePolicy;
}

/**
* Optional. Specifies the maintenance policy for the node pool.
* @param maintenancePolicy maintenancePolicy or {@code null} for none
*/
public NodePool setMaintenancePolicy(NodePoolMaintenancePolicy maintenancePolicy) {
this.maintenancePolicy = maintenancePolicy;
return this;
}

/**
* NodeManagement configuration for this NodePool.
* @return value or {@code null} for none
Expand Down
Loading