Skip to content

Commit 99a0308

Browse files
1 parent b304e6a commit 99a0308

File tree

8 files changed

+293
-14
lines changed

8 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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+
* A configuration for the Google Certificate Authority Service.
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 CertificateAuthorityServiceConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The name of the CA pool to pull CA certificates from. Structured like:
35+
* projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in
36+
* the same project or location as the Kafka cluster.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String caPool;
41+
42+
/**
43+
* Required. The name of the CA pool to pull CA certificates from. Structured like:
44+
* projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in
45+
* the same project or location as the Kafka cluster.
46+
* @return value or {@code null} for none
47+
*/
48+
public java.lang.String getCaPool() {
49+
return caPool;
50+
}
51+
52+
/**
53+
* Required. The name of the CA pool to pull CA certificates from. Structured like:
54+
* projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in
55+
* the same project or location as the Kafka cluster.
56+
* @param caPool caPool or {@code null} for none
57+
*/
58+
public CertificateAuthorityServiceConfig setCaPool(java.lang.String caPool) {
59+
this.caPool = caPool;
60+
return this;
61+
}
62+
63+
@Override
64+
public CertificateAuthorityServiceConfig set(String fieldName, Object value) {
65+
return (CertificateAuthorityServiceConfig) super.set(fieldName, value);
66+
}
67+
68+
@Override
69+
public CertificateAuthorityServiceConfig clone() {
70+
return (CertificateAuthorityServiceConfig) super.clone();
71+
}
72+
73+
}

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
@@ -94,6 +94,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
9494
@com.google.api.client.util.Key
9595
private java.lang.String state;
9696

97+
/**
98+
* Optional. TLS configuration for the Kafka cluster.
99+
* The value may be {@code null}.
100+
*/
101+
@com.google.api.client.util.Key
102+
private TlsConfig tlsConfig;
103+
97104
/**
98105
* Output only. The time when the cluster was last updated.
99106
* The value may be {@code null}.
@@ -256,6 +263,23 @@ public Cluster setState(java.lang.String state) {
256263
return this;
257264
}
258265

266+
/**
267+
* Optional. TLS configuration for the Kafka cluster.
268+
* @return value or {@code null} for none
269+
*/
270+
public TlsConfig getTlsConfig() {
271+
return tlsConfig;
272+
}
273+
274+
/**
275+
* Optional. TLS configuration for the Kafka cluster.
276+
* @param tlsConfig tlsConfig or {@code null} for none
277+
*/
278+
public Cluster setTlsConfig(TlsConfig tlsConfig) {
279+
this.tlsConfig = tlsConfig;
280+
return this;
281+
}
282+
259283
/**
260284
* Output only. The time when the cluster was last updated.
261285
* @return value or {@code null} for none

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
/**
2020
* SchemaMode represents the mode of a schema registry or a specific subject. Four modes are
21-
* supported: * NONE: This is the default mode for a subject and essentially means that the subject
22-
* does not have any mode set. This means the subject will follow the schema registry's mode. *
23-
* READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-
24-
* write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is
25-
* in import mode, which allows more editing operations on the schema for data importing purposes.
21+
* supported: * NONE: deprecated. This was the default mode for a subject, but now the default is
22+
* unset (which means use the global schema registry setting) * READONLY: The schema registry is in
23+
* read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited
24+
* write operations on the schema. * IMPORT: The schema registry is in import mode, which allows
25+
* more editing operations on the schema for data importing purposes.
2626
*
2727
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2828
* transmitted over HTTP when working with the Managed Service for Apache Kafka API. For a detailed
@@ -36,15 +36,15 @@
3636
public final class SchemaMode extends com.google.api.client.json.GenericJson {
3737

3838
/**
39-
* Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by
39+
* Required. The mode type of a schema registry (READWRITE by default) or of a subject (unset by
4040
* default, which means use the global schema registry setting).
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
4444
private java.lang.String mode;
4545

4646
/**
47-
* Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by
47+
* Required. The mode type of a schema registry (READWRITE by default) or of a subject (unset by
4848
* default, which means use the global schema registry setting).
4949
* @return value or {@code null} for none
5050
*/
@@ -53,7 +53,7 @@ public java.lang.String getMode() {
5353
}
5454

5555
/**
56-
* Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by
56+
* Required. The mode type of a schema registry (READWRITE by default) or of a subject (unset by
5757
* default, which means use the global schema registry setting).
5858
* @param mode mode or {@code null} for none
5959
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
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+
* The TLS configuration for 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 TlsConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. A list of rules for mapping from SSL principal names to short names. These are
35+
* applied in order by Kafka. Refer to the Apache Kafka documentation for
36+
* `ssl.principal.mapping.rules` for the precise formatting details and syntax. Example:
37+
* "RULE:^CN=(.*?),OU=ServiceUsers.*$/[email protected]/,DEFAULT" This is a static Kafka broker
38+
* configuration. Setting or modifying this field will trigger a rolling restart of the Kafka
39+
* brokers to apply the change. An empty string means no rules are applied (Kafka default).
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private java.lang.String sslPrincipalMappingRules;
44+
45+
/**
46+
* Optional. The configuration of the broker truststore. If specified, clients can use mTLS for
47+
* authentication.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private TrustConfig trustConfig;
52+
53+
/**
54+
* Optional. A list of rules for mapping from SSL principal names to short names. These are
55+
* applied in order by Kafka. Refer to the Apache Kafka documentation for
56+
* `ssl.principal.mapping.rules` for the precise formatting details and syntax. Example:
57+
* "RULE:^CN=(.*?),OU=ServiceUsers.*$/[email protected]/,DEFAULT" This is a static Kafka broker
58+
* configuration. Setting or modifying this field will trigger a rolling restart of the Kafka
59+
* brokers to apply the change. An empty string means no rules are applied (Kafka default).
60+
* @return value or {@code null} for none
61+
*/
62+
public java.lang.String getSslPrincipalMappingRules() {
63+
return sslPrincipalMappingRules;
64+
}
65+
66+
/**
67+
* Optional. A list of rules for mapping from SSL principal names to short names. These are
68+
* applied in order by Kafka. Refer to the Apache Kafka documentation for
69+
* `ssl.principal.mapping.rules` for the precise formatting details and syntax. Example:
70+
* "RULE:^CN=(.*?),OU=ServiceUsers.*$/[email protected]/,DEFAULT" This is a static Kafka broker
71+
* configuration. Setting or modifying this field will trigger a rolling restart of the Kafka
72+
* brokers to apply the change. An empty string means no rules are applied (Kafka default).
73+
* @param sslPrincipalMappingRules sslPrincipalMappingRules or {@code null} for none
74+
*/
75+
public TlsConfig setSslPrincipalMappingRules(java.lang.String sslPrincipalMappingRules) {
76+
this.sslPrincipalMappingRules = sslPrincipalMappingRules;
77+
return this;
78+
}
79+
80+
/**
81+
* Optional. The configuration of the broker truststore. If specified, clients can use mTLS for
82+
* authentication.
83+
* @return value or {@code null} for none
84+
*/
85+
public TrustConfig getTrustConfig() {
86+
return trustConfig;
87+
}
88+
89+
/**
90+
* Optional. The configuration of the broker truststore. If specified, clients can use mTLS for
91+
* authentication.
92+
* @param trustConfig trustConfig or {@code null} for none
93+
*/
94+
public TlsConfig setTrustConfig(TrustConfig trustConfig) {
95+
this.trustConfig = trustConfig;
96+
return this;
97+
}
98+
99+
@Override
100+
public TlsConfig set(String fieldName, Object value) {
101+
return (TlsConfig) super.set(fieldName, value);
102+
}
103+
104+
@Override
105+
public TlsConfig clone() {
106+
return (TlsConfig) super.clone();
107+
}
108+
109+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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+
* Sources of CA certificates to install in the broker's truststore.
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 TrustConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Configuration for the Google Certificate Authority Service. Maximum 10.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<CertificateAuthorityServiceConfig> casConfigs;
39+
40+
static {
41+
// hack to force ProGuard to consider CertificateAuthorityServiceConfig 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(CertificateAuthorityServiceConfig.class);
44+
}
45+
46+
/**
47+
* Optional. Configuration for the Google Certificate Authority Service. Maximum 10.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.util.List<CertificateAuthorityServiceConfig> getCasConfigs() {
51+
return casConfigs;
52+
}
53+
54+
/**
55+
* Optional. Configuration for the Google Certificate Authority Service. Maximum 10.
56+
* @param casConfigs casConfigs or {@code null} for none
57+
*/
58+
public TrustConfig setCasConfigs(java.util.List<CertificateAuthorityServiceConfig> casConfigs) {
59+
this.casConfigs = casConfigs;
60+
return this;
61+
}
62+
63+
@Override
64+
public TrustConfig set(String fieldName, Object value) {
65+
return (TrustConfig) super.set(fieldName, value);
66+
}
67+
68+
@Override
69+
public TrustConfig clone() {
70+
return (TrustConfig) super.clone();
71+
}
72+
73+
}

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

0 commit comments

Comments
 (0)