Skip to content

Commit 2e1d947

Browse files
1 parent 7ccac5a commit 2e1d947

File tree

6 files changed

+198
-6
lines changed

6 files changed

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

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,29 @@ public Get setName(java.lang.String name) {
10741074
return this;
10751075
}
10761076

1077+
/**
1078+
* Optional. Specifies the view of the Cluster resource to be returned. Defaults to
1079+
* CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values.
1080+
*/
1081+
@com.google.api.client.util.Key
1082+
private java.lang.String view;
1083+
1084+
/** Optional. Specifies the view of the Cluster resource to be returned. Defaults to
1085+
CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values.
1086+
*/
1087+
public java.lang.String getView() {
1088+
return view;
1089+
}
1090+
1091+
/**
1092+
* Optional. Specifies the view of the Cluster resource to be returned. Defaults to
1093+
* CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values.
1094+
*/
1095+
public Get setView(java.lang.String view) {
1096+
this.view = view;
1097+
return this;
1098+
}
1099+
10771100
@Override
10781101
public Get set(String parameterName, Object value) {
10791102
return (Get) super.set(parameterName, value);
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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+
* Details of a broker in the Kafka cluster.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Managed Service for Apache Kafka API. For a detailed
24+
* explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class BrokerDetails extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The index of the broker.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
38+
private java.lang.Long brokerIndex;
39+
40+
/**
41+
* Output only. The node id of the broker.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
45+
private java.lang.Long nodeId;
46+
47+
/**
48+
* Output only. The rack of the broker.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String rack;
53+
54+
/**
55+
* Output only. The index of the broker.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.Long getBrokerIndex() {
59+
return brokerIndex;
60+
}
61+
62+
/**
63+
* Output only. The index of the broker.
64+
* @param brokerIndex brokerIndex or {@code null} for none
65+
*/
66+
public BrokerDetails setBrokerIndex(java.lang.Long brokerIndex) {
67+
this.brokerIndex = brokerIndex;
68+
return this;
69+
}
70+
71+
/**
72+
* Output only. The node id of the broker.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.Long getNodeId() {
76+
return nodeId;
77+
}
78+
79+
/**
80+
* Output only. The node id of the broker.
81+
* @param nodeId nodeId or {@code null} for none
82+
*/
83+
public BrokerDetails setNodeId(java.lang.Long nodeId) {
84+
this.nodeId = nodeId;
85+
return this;
86+
}
87+
88+
/**
89+
* Output only. The rack of the broker.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getRack() {
93+
return rack;
94+
}
95+
96+
/**
97+
* Output only. The rack of the broker.
98+
* @param rack rack or {@code null} for none
99+
*/
100+
public BrokerDetails setRack(java.lang.String rack) {
101+
this.rack = rack;
102+
return this;
103+
}
104+
105+
@Override
106+
public BrokerDetails set(String fieldName, Object value) {
107+
return (BrokerDetails) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public BrokerDetails clone() {
112+
return (BrokerDetails) super.clone();
113+
}
114+
115+
}

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@
3030
@SuppressWarnings("javadoc")
3131
public final class Cluster extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Output only. Only populated when FULL view is requested. Details of each broker in the cluster.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<BrokerDetails> brokerDetails;
39+
40+
static {
41+
// hack to force ProGuard to consider BrokerDetails used, since otherwise it would be stripped out
42+
// see https://github.com/google/google-api-java-client/issues/543
43+
com.google.api.client.util.Data.nullOf(BrokerDetails.class);
44+
}
45+
3346
/**
3447
* Required. Capacity configuration for the Kafka cluster.
3548
* The value may be {@code null}.
@@ -51,6 +64,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
5164
@com.google.api.client.util.Key
5265
private GcpConfig gcpConfig;
5366

67+
/**
68+
* Output only. Only populated when FULL view is requested. The Kafka version of the cluster.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private java.lang.String kafkaVersion;
73+
5474
/**
5575
* Optional. Labels as key value pairs.
5676
* The value may be {@code null}.
@@ -115,6 +135,23 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
115135
@com.google.api.client.util.Key
116136
private String updateTime;
117137

138+
/**
139+
* Output only. Only populated when FULL view is requested. Details of each broker in the cluster.
140+
* @return value or {@code null} for none
141+
*/
142+
public java.util.List<BrokerDetails> getBrokerDetails() {
143+
return brokerDetails;
144+
}
145+
146+
/**
147+
* Output only. Only populated when FULL view is requested. Details of each broker in the cluster.
148+
* @param brokerDetails brokerDetails or {@code null} for none
149+
*/
150+
public Cluster setBrokerDetails(java.util.List<BrokerDetails> brokerDetails) {
151+
this.brokerDetails = brokerDetails;
152+
return this;
153+
}
154+
118155
/**
119156
* Required. Capacity configuration for the Kafka cluster.
120157
* @return value or {@code null} for none
@@ -166,6 +203,23 @@ public Cluster setGcpConfig(GcpConfig gcpConfig) {
166203
return this;
167204
}
168205

206+
/**
207+
* Output only. Only populated when FULL view is requested. The Kafka version of the cluster.
208+
* @return value or {@code null} for none
209+
*/
210+
public java.lang.String getKafkaVersion() {
211+
return kafkaVersion;
212+
}
213+
214+
/**
215+
* Output only. Only populated when FULL view is requested. The Kafka version of the cluster.
216+
* @param kafkaVersion kafkaVersion or {@code null} for none
217+
*/
218+
public Cluster setKafkaVersion(java.lang.String kafkaVersion) {
219+
this.kafkaVersion = kafkaVersion;
220+
return this;
221+
}
222+
169223
/**
170224
* Optional. Labels as key value pairs.
171225
* @return value or {@code null} for none

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-rev20251204-2.0.0</version>
12-
<name>Managed Service for Apache Kafka API v1-rev20251204-2.0.0</name>
11+
<version>v1-rev20251212-2.0.0</version>
12+
<name>Managed Service for Apache Kafka API v1-rev20251212-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-rev20251204-2.0.0</version>
25+
<version>v1-rev20251212-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-rev20251204-2.0.0'
38+
implementation 'com.google.apis:google-api-services-managedkafka:v1-rev20251212-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)