Skip to content

Commit 735aedf

Browse files
1 parent fca9667 commit 735aedf

File tree

16 files changed

+122
-26
lines changed

16 files changed

+122
-26
lines changed

clients/google-api-services-container/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-container</artifactId>
25-
<version>v1-rev20241105-2.0.0</version>
25+
<version>v1-rev20241203-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-container:v1-rev20241105-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1-rev20241203-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/Autopilot.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public final class Autopilot extends com.google.api.client.json.GenericJson {
3838
private java.lang.Boolean enabled;
3939

4040
/**
41-
* Workload policy configuration for Autopilot.
41+
* WorkloadPolicyConfig is the configuration related to GCW workload policy
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
@@ -62,15 +62,15 @@ public Autopilot setEnabled(java.lang.Boolean enabled) {
6262
}
6363

6464
/**
65-
* Workload policy configuration for Autopilot.
65+
* WorkloadPolicyConfig is the configuration related to GCW workload policy
6666
* @return value or {@code null} for none
6767
*/
6868
public WorkloadPolicyConfig getWorkloadPolicyConfig() {
6969
return workloadPolicyConfig;
7070
}
7171

7272
/**
73-
* Workload policy configuration for Autopilot.
73+
* WorkloadPolicyConfig is the configuration related to GCW workload policy
7474
* @param workloadPolicyConfig workloadPolicyConfig or {@code null} for none
7575
*/
7676
public Autopilot setWorkloadPolicyConfig(WorkloadPolicyConfig workloadPolicyConfig) {

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/ClusterUpdate.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
5454
private AuthenticatorGroupsConfig desiredAuthenticatorGroupsConfig;
5555

5656
/**
57-
* The desired workload policy configuration for the autopilot cluster.
57+
* WorkloadPolicyConfig is the configuration related to GCW workload policy
5858
* The value may be {@code null}.
5959
*/
6060
@com.google.api.client.util.Key
@@ -585,15 +585,15 @@ public ClusterUpdate setDesiredAuthenticatorGroupsConfig(AuthenticatorGroupsConf
585585
}
586586

587587
/**
588-
* The desired workload policy configuration for the autopilot cluster.
588+
* WorkloadPolicyConfig is the configuration related to GCW workload policy
589589
* @return value or {@code null} for none
590590
*/
591591
public WorkloadPolicyConfig getDesiredAutopilotWorkloadPolicyConfig() {
592592
return desiredAutopilotWorkloadPolicyConfig;
593593
}
594594

595595
/**
596-
* The desired workload policy configuration for the autopilot cluster.
596+
* WorkloadPolicyConfig is the configuration related to GCW workload policy
597597
* @param desiredAutopilotWorkloadPolicyConfig desiredAutopilotWorkloadPolicyConfig or {@code null} for none
598598
*/
599599
public ClusterUpdate setDesiredAutopilotWorkloadPolicyConfig(WorkloadPolicyConfig desiredAutopilotWorkloadPolicyConfig) {

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/NodeConfig.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,13 @@ public final class NodeConfig extends com.google.api.client.json.GenericJson {
212212
@com.google.api.client.util.Key
213213
private java.lang.String machineType;
214214

215+
/**
216+
* The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
217+
* The value may be {@code null}.
218+
*/
219+
@com.google.api.client.util.Key
220+
private String maxRunDuration;
221+
215222
/**
216223
* The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the
217224
* regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a
@@ -801,6 +808,23 @@ public NodeConfig setMachineType(java.lang.String machineType) {
801808
return this;
802809
}
803810

811+
/**
812+
* The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
813+
* @return value or {@code null} for none
814+
*/
815+
public String getMaxRunDuration() {
816+
return maxRunDuration;
817+
}
818+
819+
/**
820+
* The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
821+
* @param maxRunDuration maxRunDuration or {@code null} for none
822+
*/
823+
public NodeConfig setMaxRunDuration(String maxRunDuration) {
824+
this.maxRunDuration = maxRunDuration;
825+
return this;
826+
}
827+
804828
/**
805829
* The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the
806830
* regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/UpdateNodePoolRequest.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,13 @@ public final class UpdateNodePoolRequest extends com.google.api.client.json.Gene
173173
@com.google.api.client.util.Key
174174
private java.lang.String machineType;
175175

176+
/**
177+
* The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
178+
* The value may be {@code null}.
179+
*/
180+
@com.google.api.client.util.Key
181+
private String maxRunDuration;
182+
176183
/**
177184
* The name (project, location, cluster, node pool) of the node pool to update. Specified in the
178185
* format `projects/locations/clusters/nodePools`.
@@ -622,6 +629,23 @@ public UpdateNodePoolRequest setMachineType(java.lang.String machineType) {
622629
return this;
623630
}
624631

632+
/**
633+
* The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
634+
* @return value or {@code null} for none
635+
*/
636+
public String getMaxRunDuration() {
637+
return maxRunDuration;
638+
}
639+
640+
/**
641+
* The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
642+
* @param maxRunDuration maxRunDuration or {@code null} for none
643+
*/
644+
public UpdateNodePoolRequest setMaxRunDuration(String maxRunDuration) {
645+
this.maxRunDuration = maxRunDuration;
646+
return this;
647+
}
648+
625649
/**
626650
* The name (project, location, cluster, node pool) of the node pool to update. Specified in the
627651
* format `projects/locations/clusters/nodePools`.

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/WorkloadPolicyConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.container.model;
1818

1919
/**
20-
* WorkloadPolicyConfig is the configuration of workload policy for autopilot clusters.
20+
* WorkloadPolicyConfig is the configuration related to GCW workload policy
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation

clients/google-api-services-container/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-container</artifactId>
11-
<version>v1-rev20241105-2.0.0</version>
12-
<name>Kubernetes Engine API v1-rev20241105-2.0.0</name>
11+
<version>v1-rev20241203-2.0.0</version>
12+
<name>Kubernetes Engine API v1-rev20241203-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-container/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-container</artifactId>
25-
<version>v1-rev20241105-2.0.0</version>
25+
<version>v1-rev20241203-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-container:v1-rev20241105-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1-rev20241203-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-container/v1beta1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-container</artifactId>
25-
<version>v1beta1-rev20241112-2.0.0</version>
25+
<version>v1beta1-rev20241203-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20241112-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20241203-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-container/v1beta1/2.0.0/com/google/api/services/container/v1beta1/model/Autopilot.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public final class Autopilot extends com.google.api.client.json.GenericJson {
4545
private java.lang.Boolean enabled;
4646

4747
/**
48-
* Workload policy configuration for Autopilot.
48+
* WorkloadPolicyConfig is the configuration related to GCW workload policy
4949
* The value may be {@code null}.
5050
*/
5151
@com.google.api.client.util.Key
@@ -86,15 +86,15 @@ public Autopilot setEnabled(java.lang.Boolean enabled) {
8686
}
8787

8888
/**
89-
* Workload policy configuration for Autopilot.
89+
* WorkloadPolicyConfig is the configuration related to GCW workload policy
9090
* @return value or {@code null} for none
9191
*/
9292
public WorkloadPolicyConfig getWorkloadPolicyConfig() {
9393
return workloadPolicyConfig;
9494
}
9595

9696
/**
97-
* Workload policy configuration for Autopilot.
97+
* WorkloadPolicyConfig is the configuration related to GCW workload policy
9898
* @param workloadPolicyConfig workloadPolicyConfig or {@code null} for none
9999
*/
100100
public Autopilot setWorkloadPolicyConfig(WorkloadPolicyConfig workloadPolicyConfig) {

0 commit comments

Comments
 (0)