Skip to content

Commit 6589288

Browse files
1 parent db2f3f1 commit 6589288

File tree

8 files changed

+345
-6
lines changed

8 files changed

+345
-6
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-rev20250714-2.0.0</version>
25+
<version>v1-rev20250722-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-rev20250714-2.0.0'
38+
implementation 'com.google.apis:google-api-services-datastream:v1-rev20250722-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
* Message to represent the option where Datastream will enforce encryption without authenticating
21+
* server identity. Server certificates will be trusted by default.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Datastream API. For a detailed 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 BasicEncryption extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public BasicEncryption set(String fieldName, Object value) {
35+
return (BasicEncryption) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public BasicEncryption clone() {
40+
return (BasicEncryption) super.clone();
41+
}
42+
43+
}
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.datastream.v1.model;
18+
19+
/**
20+
* Message to represent the option where Datastream will enforce encryption and authenticate server
21+
* identity. ca_certificate must be set if user selects this option.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Datastream API. For a detailed 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 EncryptionAndServerValidation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Input only. PEM-encoded certificate of the CA that signed the source database
35+
* server's certificate.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String caCertificate;
40+
41+
/**
42+
* Optional. The hostname mentioned in the Subject or SAN extension of the server certificate.
43+
* This field is used for bypassing the hostname validation while verifying server certificate.
44+
* This is required for scenarios where the host name that datastream connects to is different
45+
* from the certificate's subject. This specifically happens for private connectivity. It could
46+
* also happen when the customer provides a public IP in connection profile but the same is not
47+
* present in the server certificate.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String serverCertificateHostname;
52+
53+
/**
54+
* Optional. Input only. PEM-encoded certificate of the CA that signed the source database
55+
* server's certificate.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.String getCaCertificate() {
59+
return caCertificate;
60+
}
61+
62+
/**
63+
* Optional. Input only. PEM-encoded certificate of the CA that signed the source database
64+
* server's certificate.
65+
* @param caCertificate caCertificate or {@code null} for none
66+
*/
67+
public EncryptionAndServerValidation setCaCertificate(java.lang.String caCertificate) {
68+
this.caCertificate = caCertificate;
69+
return this;
70+
}
71+
72+
/**
73+
* Optional. The hostname mentioned in the Subject or SAN extension of the server certificate.
74+
* This field is used for bypassing the hostname validation while verifying server certificate.
75+
* This is required for scenarios where the host name that datastream connects to is different
76+
* from the certificate's subject. This specifically happens for private connectivity. It could
77+
* also happen when the customer provides a public IP in connection profile but the same is not
78+
* present in the server certificate.
79+
* @return value or {@code null} for none
80+
*/
81+
public java.lang.String getServerCertificateHostname() {
82+
return serverCertificateHostname;
83+
}
84+
85+
/**
86+
* Optional. The hostname mentioned in the Subject or SAN extension of the server certificate.
87+
* This field is used for bypassing the hostname validation while verifying server certificate.
88+
* This is required for scenarios where the host name that datastream connects to is different
89+
* from the certificate's subject. This specifically happens for private connectivity. It could
90+
* also happen when the customer provides a public IP in connection profile but the same is not
91+
* present in the server certificate.
92+
* @param serverCertificateHostname serverCertificateHostname or {@code null} for none
93+
*/
94+
public EncryptionAndServerValidation setServerCertificateHostname(java.lang.String serverCertificateHostname) {
95+
this.serverCertificateHostname = serverCertificateHostname;
96+
return this;
97+
}
98+
99+
@Override
100+
public EncryptionAndServerValidation set(String fieldName, Object value) {
101+
return (EncryptionAndServerValidation) super.set(fieldName, value);
102+
}
103+
104+
@Override
105+
public EncryptionAndServerValidation clone() {
106+
return (EncryptionAndServerValidation) super.clone();
107+
}
108+
109+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
* Message to represent the option where encryption is not enforced. An empty message right now to
21+
* allow future extensibility.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Datastream API. For a detailed 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 EncryptionNotEnforced extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public EncryptionNotEnforced set(String fieldName, Object value) {
35+
return (EncryptionNotEnforced) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public EncryptionNotEnforced clone() {
40+
return (EncryptionNotEnforced) super.clone();
41+
}
42+
43+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ public final class SqlServerProfile extends com.google.api.client.json.GenericJs
6666
@com.google.api.client.util.Key
6767
private java.lang.String secretManagerStoredPassword;
6868

69+
/**
70+
* Optional. SSL configuration for the SQLServer connection.
71+
* The value may be {@code null}.
72+
*/
73+
@com.google.api.client.util.Key
74+
private SqlServerSslConfig sslConfig;
75+
6976
/**
7077
* Required. Username for the SQLServer connection.
7178
* The value may be {@code null}.
@@ -162,6 +169,23 @@ public SqlServerProfile setSecretManagerStoredPassword(java.lang.String secretMa
162169
return this;
163170
}
164171

172+
/**
173+
* Optional. SSL configuration for the SQLServer connection.
174+
* @return value or {@code null} for none
175+
*/
176+
public SqlServerSslConfig getSslConfig() {
177+
return sslConfig;
178+
}
179+
180+
/**
181+
* Optional. SSL configuration for the SQLServer connection.
182+
* @param sslConfig sslConfig or {@code null} for none
183+
*/
184+
public SqlServerProfile setSslConfig(SqlServerSslConfig sslConfig) {
185+
this.sslConfig = sslConfig;
186+
return this;
187+
}
188+
165189
/**
166190
* Required. Username for the SQLServer connection.
167191
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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+
* SQL Server 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 SqlServerSslConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* If set, Datastream will enforce encryption without authenticating server identity. Server
34+
* certificates will be trusted by default.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private BasicEncryption basicEncryption;
39+
40+
/**
41+
* If set, Datastream will enforce encryption and authenticate server identity.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private EncryptionAndServerValidation encryptionAndServerValidation;
46+
47+
/**
48+
* If set, Datastream will not enforce encryption. If the DB server mandates encryption, then
49+
* connection will be encrypted but server identity will not be authenticated.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private EncryptionNotEnforced encryptionNotEnforced;
54+
55+
/**
56+
* If set, Datastream will enforce encryption without authenticating server identity. Server
57+
* certificates will be trusted by default.
58+
* @return value or {@code null} for none
59+
*/
60+
public BasicEncryption getBasicEncryption() {
61+
return basicEncryption;
62+
}
63+
64+
/**
65+
* If set, Datastream will enforce encryption without authenticating server identity. Server
66+
* certificates will be trusted by default.
67+
* @param basicEncryption basicEncryption or {@code null} for none
68+
*/
69+
public SqlServerSslConfig setBasicEncryption(BasicEncryption basicEncryption) {
70+
this.basicEncryption = basicEncryption;
71+
return this;
72+
}
73+
74+
/**
75+
* If set, Datastream will enforce encryption and authenticate server identity.
76+
* @return value or {@code null} for none
77+
*/
78+
public EncryptionAndServerValidation getEncryptionAndServerValidation() {
79+
return encryptionAndServerValidation;
80+
}
81+
82+
/**
83+
* If set, Datastream will enforce encryption and authenticate server identity.
84+
* @param encryptionAndServerValidation encryptionAndServerValidation or {@code null} for none
85+
*/
86+
public SqlServerSslConfig setEncryptionAndServerValidation(EncryptionAndServerValidation encryptionAndServerValidation) {
87+
this.encryptionAndServerValidation = encryptionAndServerValidation;
88+
return this;
89+
}
90+
91+
/**
92+
* If set, Datastream will not enforce encryption. If the DB server mandates encryption, then
93+
* connection will be encrypted but server identity will not be authenticated.
94+
* @return value or {@code null} for none
95+
*/
96+
public EncryptionNotEnforced getEncryptionNotEnforced() {
97+
return encryptionNotEnforced;
98+
}
99+
100+
/**
101+
* If set, Datastream will not enforce encryption. If the DB server mandates encryption, then
102+
* connection will be encrypted but server identity will not be authenticated.
103+
* @param encryptionNotEnforced encryptionNotEnforced or {@code null} for none
104+
*/
105+
public SqlServerSslConfig setEncryptionNotEnforced(EncryptionNotEnforced encryptionNotEnforced) {
106+
this.encryptionNotEnforced = encryptionNotEnforced;
107+
return this;
108+
}
109+
110+
@Override
111+
public SqlServerSslConfig set(String fieldName, Object value) {
112+
return (SqlServerSslConfig) super.set(fieldName, value);
113+
}
114+
115+
@Override
116+
public SqlServerSslConfig clone() {
117+
return (SqlServerSslConfig) super.clone();
118+
}
119+
120+
}

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-rev20250714-2.0.0</version>
12-
<name>Datastream API v1-rev20250714-2.0.0</name>
11+
<version>v1-rev20250722-2.0.0</version>
12+
<name>Datastream API v1-rev20250722-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)