Skip to content

Commit cdbab38

Browse files
1 parent 82aaa7d commit cdbab38

File tree

6 files changed

+264
-9
lines changed

6 files changed

+264
-9
lines changed

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

clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/MongodbProfile.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ public final class MongodbProfile extends com.google.api.client.json.GenericJson
7676
@com.google.api.client.util.Key
7777
private SrvConnectionFormat srvConnectionFormat;
7878

79+
/**
80+
* Optional. SSL configuration for the MongoDB connection.
81+
* The value may be {@code null}.
82+
*/
83+
@com.google.api.client.util.Key
84+
private MongodbSslConfig sslConfig;
85+
7986
/**
8087
* Standard connection format.
8188
* The value may be {@code null}.
@@ -187,6 +194,23 @@ public MongodbProfile setSrvConnectionFormat(SrvConnectionFormat srvConnectionFo
187194
return this;
188195
}
189196

197+
/**
198+
* Optional. SSL configuration for the MongoDB connection.
199+
* @return value or {@code null} for none
200+
*/
201+
public MongodbSslConfig getSslConfig() {
202+
return sslConfig;
203+
}
204+
205+
/**
206+
* Optional. SSL configuration for the MongoDB connection.
207+
* @param sslConfig sslConfig or {@code null} for none
208+
*/
209+
public MongodbProfile setSslConfig(MongodbSslConfig sslConfig) {
210+
this.sslConfig = sslConfig;
211+
return this;
212+
}
213+
190214
/**
191215
* Standard connection format.
192216
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
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.datastream.v1.model;
18+
19+
/**
20+
* MongoDB SSL configuration information.
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 Datastream API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class MongodbSslConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Input only. PEM-encoded certificate of the CA that signed the source database
34+
* server's certificate.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String caCertificate;
39+
40+
/**
41+
* Output only. Indicates whether the ca_certificate field is set.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Boolean caCertificateSet;
46+
47+
/**
48+
* Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate
49+
* against the source database server. If this field is used then the 'client_key' and the
50+
* 'ca_certificate' fields are mandatory.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String clientCertificate;
55+
56+
/**
57+
* Output only. Indicates whether the client_certificate field is set.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.lang.Boolean clientCertificateSet;
62+
63+
/**
64+
* Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this
65+
* field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String clientKey;
70+
71+
/**
72+
* Output only. Indicates whether the client_key field is set.
73+
* The value may be {@code null}.
74+
*/
75+
@com.google.api.client.util.Key
76+
private java.lang.Boolean clientKeySet;
77+
78+
/**
79+
* Optional. Input only. A reference to a Secret Manager resource name storing the PEM-encoded
80+
* private key associated with the Client Certificate. If this field is used then the
81+
* 'client_certificate' and the 'ca_certificate' fields are mandatory. Mutually exclusive with the
82+
* `client_key` field.
83+
* The value may be {@code null}.
84+
*/
85+
@com.google.api.client.util.Key
86+
private java.lang.String secretManagerStoredClientKey;
87+
88+
/**
89+
* Optional. Input only. PEM-encoded certificate of the CA that signed the source database
90+
* server's certificate.
91+
* @return value or {@code null} for none
92+
*/
93+
public java.lang.String getCaCertificate() {
94+
return caCertificate;
95+
}
96+
97+
/**
98+
* Optional. Input only. PEM-encoded certificate of the CA that signed the source database
99+
* server's certificate.
100+
* @param caCertificate caCertificate or {@code null} for none
101+
*/
102+
public MongodbSslConfig setCaCertificate(java.lang.String caCertificate) {
103+
this.caCertificate = caCertificate;
104+
return this;
105+
}
106+
107+
/**
108+
* Output only. Indicates whether the ca_certificate field is set.
109+
* @return value or {@code null} for none
110+
*/
111+
public java.lang.Boolean getCaCertificateSet() {
112+
return caCertificateSet;
113+
}
114+
115+
/**
116+
* Output only. Indicates whether the ca_certificate field is set.
117+
* @param caCertificateSet caCertificateSet or {@code null} for none
118+
*/
119+
public MongodbSslConfig setCaCertificateSet(java.lang.Boolean caCertificateSet) {
120+
this.caCertificateSet = caCertificateSet;
121+
return this;
122+
}
123+
124+
/**
125+
* Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate
126+
* against the source database server. If this field is used then the 'client_key' and the
127+
* 'ca_certificate' fields are mandatory.
128+
* @return value or {@code null} for none
129+
*/
130+
public java.lang.String getClientCertificate() {
131+
return clientCertificate;
132+
}
133+
134+
/**
135+
* Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate
136+
* against the source database server. If this field is used then the 'client_key' and the
137+
* 'ca_certificate' fields are mandatory.
138+
* @param clientCertificate clientCertificate or {@code null} for none
139+
*/
140+
public MongodbSslConfig setClientCertificate(java.lang.String clientCertificate) {
141+
this.clientCertificate = clientCertificate;
142+
return this;
143+
}
144+
145+
/**
146+
* Output only. Indicates whether the client_certificate field is set.
147+
* @return value or {@code null} for none
148+
*/
149+
public java.lang.Boolean getClientCertificateSet() {
150+
return clientCertificateSet;
151+
}
152+
153+
/**
154+
* Output only. Indicates whether the client_certificate field is set.
155+
* @param clientCertificateSet clientCertificateSet or {@code null} for none
156+
*/
157+
public MongodbSslConfig setClientCertificateSet(java.lang.Boolean clientCertificateSet) {
158+
this.clientCertificateSet = clientCertificateSet;
159+
return this;
160+
}
161+
162+
/**
163+
* Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this
164+
* field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
165+
* @return value or {@code null} for none
166+
*/
167+
public java.lang.String getClientKey() {
168+
return clientKey;
169+
}
170+
171+
/**
172+
* Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this
173+
* field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
174+
* @param clientKey clientKey or {@code null} for none
175+
*/
176+
public MongodbSslConfig setClientKey(java.lang.String clientKey) {
177+
this.clientKey = clientKey;
178+
return this;
179+
}
180+
181+
/**
182+
* Output only. Indicates whether the client_key field is set.
183+
* @return value or {@code null} for none
184+
*/
185+
public java.lang.Boolean getClientKeySet() {
186+
return clientKeySet;
187+
}
188+
189+
/**
190+
* Output only. Indicates whether the client_key field is set.
191+
* @param clientKeySet clientKeySet or {@code null} for none
192+
*/
193+
public MongodbSslConfig setClientKeySet(java.lang.Boolean clientKeySet) {
194+
this.clientKeySet = clientKeySet;
195+
return this;
196+
}
197+
198+
/**
199+
* Optional. Input only. A reference to a Secret Manager resource name storing the PEM-encoded
200+
* private key associated with the Client Certificate. If this field is used then the
201+
* 'client_certificate' and the 'ca_certificate' fields are mandatory. Mutually exclusive with the
202+
* `client_key` field.
203+
* @return value or {@code null} for none
204+
*/
205+
public java.lang.String getSecretManagerStoredClientKey() {
206+
return secretManagerStoredClientKey;
207+
}
208+
209+
/**
210+
* Optional. Input only. A reference to a Secret Manager resource name storing the PEM-encoded
211+
* private key associated with the Client Certificate. If this field is used then the
212+
* 'client_certificate' and the 'ca_certificate' fields are mandatory. Mutually exclusive with the
213+
* `client_key` field.
214+
* @param secretManagerStoredClientKey secretManagerStoredClientKey or {@code null} for none
215+
*/
216+
public MongodbSslConfig setSecretManagerStoredClientKey(java.lang.String secretManagerStoredClientKey) {
217+
this.secretManagerStoredClientKey = secretManagerStoredClientKey;
218+
return this;
219+
}
220+
221+
@Override
222+
public MongodbSslConfig set(String fieldName, Object value) {
223+
return (MongodbSslConfig) super.set(fieldName, value);
224+
}
225+
226+
@Override
227+
public MongodbSslConfig clone() {
228+
return (MongodbSslConfig) super.clone();
229+
}
230+
231+
}

clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/PscInterfaceConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ public final class PscInterfaceConfig extends com.google.api.client.json.Generic
3232

3333
/**
3434
* Required. Fully qualified name of the Network Attachment that Datastream will connect to.
35-
* Format: `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}`
35+
* Format: `projects/{project}/regions/{region}/networkAttachments/{name}`
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
3939
private java.lang.String networkAttachment;
4040

4141
/**
4242
* Required. Fully qualified name of the Network Attachment that Datastream will connect to.
43-
* Format: `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}`
43+
* Format: `projects/{project}/regions/{region}/networkAttachments/{name}`
4444
* @return value or {@code null} for none
4545
*/
4646
public java.lang.String getNetworkAttachment() {
@@ -49,7 +49,7 @@ public java.lang.String getNetworkAttachment() {
4949

5050
/**
5151
* Required. Fully qualified name of the Network Attachment that Datastream will connect to.
52-
* Format: `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}`
52+
* Format: `projects/{project}/regions/{region}/networkAttachments/{name}`
5353
* @param networkAttachment networkAttachment or {@code null} for none
5454
*/
5555
public PscInterfaceConfig setNetworkAttachment(java.lang.String networkAttachment) {

clients/google-api-services-datastream/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-datastream</artifactId>
11-
<version>v1-rev20250511-2.0.0</version>
12-
<name>Datastream API v1-rev20250511-2.0.0</name>
11+
<version>v1-rev20250518-2.0.0</version>
12+
<name>Datastream API v1-rev20250518-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)