Skip to content

Commit ccc7922

Browse files
1 parent 834472f commit ccc7922

File tree

5 files changed

+111
-6
lines changed

5 files changed

+111
-6
lines changed

clients/google-api-services-managedkafka/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-managedkafka</artifactId>
25-
<version>v1-rev20250814-2.0.0</version>
25+
<version>v1-rev20250901-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-managedkafka:v1-rev20250814-2.0.0'
38+
implementation 'com.google.apis:google-api-services-managedkafka:v1-rev20250901-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/model/Cluster.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
101101
@com.google.api.client.util.Key
102102
private TlsConfig tlsConfig;
103103

104+
/**
105+
* Optional. UpdateOptions represents options that control how updates to the cluster are applied.
106+
* The value may be {@code null}.
107+
*/
108+
@com.google.api.client.util.Key
109+
private UpdateOptions updateOptions;
110+
104111
/**
105112
* Output only. The time when the cluster was last updated.
106113
* The value may be {@code null}.
@@ -280,6 +287,23 @@ public Cluster setTlsConfig(TlsConfig tlsConfig) {
280287
return this;
281288
}
282289

290+
/**
291+
* Optional. UpdateOptions represents options that control how updates to the cluster are applied.
292+
* @return value or {@code null} for none
293+
*/
294+
public UpdateOptions getUpdateOptions() {
295+
return updateOptions;
296+
}
297+
298+
/**
299+
* Optional. UpdateOptions represents options that control how updates to the cluster are applied.
300+
* @param updateOptions updateOptions or {@code null} for none
301+
*/
302+
public Cluster setUpdateOptions(UpdateOptions updateOptions) {
303+
this.updateOptions = updateOptions;
304+
return this;
305+
}
306+
283307
/**
284308
* Output only. The time when the cluster was last updated.
285309
* @return value or {@code null} for none
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.managedkafka.v1.model;
18+
19+
/**
20+
* UpdateOptions specifies options that influence how a cluster update is applied. These options
21+
* control the behavior of the update process, rather than defining the desired end-state of a
22+
* cluster.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Managed Service for Apache Kafka API. For a detailed
26+
* explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class UpdateOptions extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Optional. If true, allows an update operation that increases the total vCPU and/or memory
37+
* allocation of the cluster to significantly decrease the per-broker vCPU and/or memory
38+
* allocation. This can result in reduced performance and availability. By default, the update
39+
* operation will fail if an upscale request results in a vCPU or memory allocation for the
40+
* brokers that is smaller than 90% of the current broker size.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Boolean allowBrokerDownscaleOnClusterUpscale;
45+
46+
/**
47+
* Optional. If true, allows an update operation that increases the total vCPU and/or memory
48+
* allocation of the cluster to significantly decrease the per-broker vCPU and/or memory
49+
* allocation. This can result in reduced performance and availability. By default, the update
50+
* operation will fail if an upscale request results in a vCPU or memory allocation for the
51+
* brokers that is smaller than 90% of the current broker size.
52+
* @return value or {@code null} for none
53+
*/
54+
public java.lang.Boolean getAllowBrokerDownscaleOnClusterUpscale() {
55+
return allowBrokerDownscaleOnClusterUpscale;
56+
}
57+
58+
/**
59+
* Optional. If true, allows an update operation that increases the total vCPU and/or memory
60+
* allocation of the cluster to significantly decrease the per-broker vCPU and/or memory
61+
* allocation. This can result in reduced performance and availability. By default, the update
62+
* operation will fail if an upscale request results in a vCPU or memory allocation for the
63+
* brokers that is smaller than 90% of the current broker size.
64+
* @param allowBrokerDownscaleOnClusterUpscale allowBrokerDownscaleOnClusterUpscale or {@code null} for none
65+
*/
66+
public UpdateOptions setAllowBrokerDownscaleOnClusterUpscale(java.lang.Boolean allowBrokerDownscaleOnClusterUpscale) {
67+
this.allowBrokerDownscaleOnClusterUpscale = allowBrokerDownscaleOnClusterUpscale;
68+
return this;
69+
}
70+
71+
@Override
72+
public UpdateOptions set(String fieldName, Object value) {
73+
return (UpdateOptions) super.set(fieldName, value);
74+
}
75+
76+
@Override
77+
public UpdateOptions clone() {
78+
return (UpdateOptions) super.clone();
79+
}
80+
81+
}

clients/google-api-services-managedkafka/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-managedkafka</artifactId>
11-
<version>v1-rev20250814-2.0.0</version>
12-
<name>Managed Service for Apache Kafka API v1-rev20250814-2.0.0</name>
11+
<version>v1-rev20250901-2.0.0</version>
12+
<name>Managed Service for Apache Kafka API v1-rev20250901-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-managedkafka/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-managedkafka</artifactId>
25-
<version>v1-rev20250814-2.0.0</version>
25+
<version>v1-rev20250901-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-managedkafka:v1-rev20250814-2.0.0'
38+
implementation 'com.google.apis:google-api-services-managedkafka:v1-rev20250901-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)