Skip to content

Commit e3aaa40

Browse files
1 parent f2e90ed commit e3aaa40

32 files changed

+1384
-24
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-rev20250219-2.0.0</version>
25+
<version>v1-rev20250321-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-rev20250219-2.0.0'
38+
implementation 'com.google.apis:google-api-services-datastream:v1-rev20250321-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,29 @@ public List setName(java.lang.String name) {
630630
return this;
631631
}
632632

633+
/**
634+
* Optional. A list of extra location types that should be used as conditions for
635+
* controlling the visibility of the locations.
636+
*/
637+
@com.google.api.client.util.Key
638+
private java.util.List<java.lang.String> extraLocationTypes;
639+
640+
/** Optional. A list of extra location types that should be used as conditions for controlling the
641+
visibility of the locations.
642+
*/
643+
public java.util.List<java.lang.String> getExtraLocationTypes() {
644+
return extraLocationTypes;
645+
}
646+
647+
/**
648+
* Optional. A list of extra location types that should be used as conditions for
649+
* controlling the visibility of the locations.
650+
*/
651+
public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
652+
this.extraLocationTypes = extraLocationTypes;
653+
return this;
654+
}
655+
633656
/**
634657
* A filter to narrow down results to a preferred subset. The filtering language accepts
635658
* strings like `"displayName=tokyo"`, and is documented in more detail in
@@ -2715,6 +2738,31 @@ public Create setRequestId(java.lang.String requestId) {
27152738
return this;
27162739
}
27172740

2741+
/**
2742+
* Optional. When supplied with PSC Interface config, will get/create the tenant project
2743+
* required for the customer to allow list and won't actually create the private
2744+
* connection.
2745+
*/
2746+
@com.google.api.client.util.Key
2747+
private java.lang.Boolean validateOnly;
2748+
2749+
/** Optional. When supplied with PSC Interface config, will get/create the tenant project required for
2750+
the customer to allow list and won't actually create the private connection.
2751+
*/
2752+
public java.lang.Boolean getValidateOnly() {
2753+
return validateOnly;
2754+
}
2755+
2756+
/**
2757+
* Optional. When supplied with PSC Interface config, will get/create the tenant project
2758+
* required for the customer to allow list and won't actually create the private
2759+
* connection.
2760+
*/
2761+
public Create setValidateOnly(java.lang.Boolean validateOnly) {
2762+
this.validateOnly = validateOnly;
2763+
return this;
2764+
}
2765+
27182766
@Override
27192767
public Create set(String parameterName, Object value) {
27202768
return (Create) super.set(parameterName, value);

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

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

33+
/**
34+
* MongoDB data source objects to avoid backfilling
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private MongodbCluster mongodbExcludedObjects;
39+
3340
/**
3441
* MySQL data source objects to avoid backfilling.
3542
* The value may be {@code null}.
@@ -65,6 +72,23 @@ public final class BackfillAllStrategy extends com.google.api.client.json.Generi
6572
@com.google.api.client.util.Key
6673
private SqlServerRdbms sqlServerExcludedObjects;
6774

75+
/**
76+
* MongoDB data source objects to avoid backfilling
77+
* @return value or {@code null} for none
78+
*/
79+
public MongodbCluster getMongodbExcludedObjects() {
80+
return mongodbExcludedObjects;
81+
}
82+
83+
/**
84+
* MongoDB data source objects to avoid backfilling
85+
* @param mongodbExcludedObjects mongodbExcludedObjects or {@code null} for none
86+
*/
87+
public BackfillAllStrategy setMongodbExcludedObjects(MongodbCluster mongodbExcludedObjects) {
88+
this.mongodbExcludedObjects = mongodbExcludedObjects;
89+
return this;
90+
}
91+
6892
/**
6993
* MySQL data source objects to avoid backfilling.
7094
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ public final class ConnectionProfile extends com.google.api.client.json.GenericJ
7171
@com.google.api.client.util.Key
7272
private java.util.Map<String, java.lang.String> labels;
7373

74+
/**
75+
* MongoDB Connection Profile configuration.
76+
* The value may be {@code null}.
77+
*/
78+
@com.google.api.client.util.Key
79+
private MongodbProfile mongodbProfile;
80+
7481
/**
7582
* MySQL ConnectionProfile configuration.
7683
* The value may be {@code null}.
@@ -250,6 +257,23 @@ public ConnectionProfile setLabels(java.util.Map<String, java.lang.String> label
250257
return this;
251258
}
252259

260+
/**
261+
* MongoDB Connection Profile configuration.
262+
* @return value or {@code null} for none
263+
*/
264+
public MongodbProfile getMongodbProfile() {
265+
return mongodbProfile;
266+
}
267+
268+
/**
269+
* MongoDB Connection Profile configuration.
270+
* @param mongodbProfile mongodbProfile or {@code null} for none
271+
*/
272+
public ConnectionProfile setMongodbProfile(MongodbProfile mongodbProfile) {
273+
this.mongodbProfile = mongodbProfile;
274+
return this;
275+
}
276+
253277
/**
254278
* MySQL ConnectionProfile configuration.
255279
* @return value or {@code null} for none

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ public final class DiscoverConnectionProfileRequest extends com.google.api.clien
5858
@com.google.api.client.util.Key
5959
private java.lang.Integer hierarchyDepth;
6060

61+
/**
62+
* MongoDB cluster to enrich with child data objects and metadata.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private MongodbCluster mongodbCluster;
67+
6168
/**
6269
* MySQL RDBMS to enrich with child data objects and metadata.
6370
* The value may be {@code null}.
@@ -79,6 +86,13 @@ public final class DiscoverConnectionProfileRequest extends com.google.api.clien
7986
@com.google.api.client.util.Key
8087
private PostgresqlRdbms postgresqlRdbms;
8188

89+
/**
90+
* Salesforce organization to enrich with child data objects and metadata.
91+
* The value may be {@code null}.
92+
*/
93+
@com.google.api.client.util.Key
94+
private SalesforceOrg salesforceOrg;
95+
8296
/**
8397
* SQLServer RDBMS to enrich with child data objects and metadata.
8498
* The value may be {@code null}.
@@ -156,6 +170,23 @@ public DiscoverConnectionProfileRequest setHierarchyDepth(java.lang.Integer hier
156170
return this;
157171
}
158172

173+
/**
174+
* MongoDB cluster to enrich with child data objects and metadata.
175+
* @return value or {@code null} for none
176+
*/
177+
public MongodbCluster getMongodbCluster() {
178+
return mongodbCluster;
179+
}
180+
181+
/**
182+
* MongoDB cluster to enrich with child data objects and metadata.
183+
* @param mongodbCluster mongodbCluster or {@code null} for none
184+
*/
185+
public DiscoverConnectionProfileRequest setMongodbCluster(MongodbCluster mongodbCluster) {
186+
this.mongodbCluster = mongodbCluster;
187+
return this;
188+
}
189+
159190
/**
160191
* MySQL RDBMS to enrich with child data objects and metadata.
161192
* @return value or {@code null} for none
@@ -207,6 +238,23 @@ public DiscoverConnectionProfileRequest setPostgresqlRdbms(PostgresqlRdbms postg
207238
return this;
208239
}
209240

241+
/**
242+
* Salesforce organization to enrich with child data objects and metadata.
243+
* @return value or {@code null} for none
244+
*/
245+
public SalesforceOrg getSalesforceOrg() {
246+
return salesforceOrg;
247+
}
248+
249+
/**
250+
* Salesforce organization to enrich with child data objects and metadata.
251+
* @param salesforceOrg salesforceOrg or {@code null} for none
252+
*/
253+
public DiscoverConnectionProfileRequest setSalesforceOrg(SalesforceOrg salesforceOrg) {
254+
this.salesforceOrg = salesforceOrg;
255+
return this;
256+
}
257+
210258
/**
211259
* SQLServer RDBMS to enrich with child data objects and metadata.
212260
* @return value or {@code null} for none

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
@SuppressWarnings("javadoc")
3030
public final class DiscoverConnectionProfileResponse extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Enriched MongoDB cluster.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private MongodbCluster mongodbCluster;
38+
3239
/**
3340
* Enriched MySQL RDBMS object.
3441
* The value may be {@code null}.
@@ -50,13 +57,37 @@ public final class DiscoverConnectionProfileResponse extends com.google.api.clie
5057
@com.google.api.client.util.Key
5158
private PostgresqlRdbms postgresqlRdbms;
5259

60+
/**
61+
* Enriched Salesforce organization.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private SalesforceOrg salesforceOrg;
66+
5367
/**
5468
* Enriched SQLServer RDBMS object.
5569
* The value may be {@code null}.
5670
*/
5771
@com.google.api.client.util.Key
5872
private SqlServerRdbms sqlServerRdbms;
5973

74+
/**
75+
* Enriched MongoDB cluster.
76+
* @return value or {@code null} for none
77+
*/
78+
public MongodbCluster getMongodbCluster() {
79+
return mongodbCluster;
80+
}
81+
82+
/**
83+
* Enriched MongoDB cluster.
84+
* @param mongodbCluster mongodbCluster or {@code null} for none
85+
*/
86+
public DiscoverConnectionProfileResponse setMongodbCluster(MongodbCluster mongodbCluster) {
87+
this.mongodbCluster = mongodbCluster;
88+
return this;
89+
}
90+
6091
/**
6192
* Enriched MySQL RDBMS object.
6293
* @return value or {@code null} for none
@@ -108,6 +139,23 @@ public DiscoverConnectionProfileResponse setPostgresqlRdbms(PostgresqlRdbms post
108139
return this;
109140
}
110141

142+
/**
143+
* Enriched Salesforce organization.
144+
* @return value or {@code null} for none
145+
*/
146+
public SalesforceOrg getSalesforceOrg() {
147+
return salesforceOrg;
148+
}
149+
150+
/**
151+
* Enriched Salesforce organization.
152+
* @param salesforceOrg salesforceOrg or {@code null} for none
153+
*/
154+
public DiscoverConnectionProfileResponse setSalesforceOrg(SalesforceOrg salesforceOrg) {
155+
this.salesforceOrg = salesforceOrg;
156+
return this;
157+
}
158+
111159
/**
112160
* Enriched SQLServer RDBMS object.
113161
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* A HostAddress represents a transport end point, which is the combination of an IP address or
21+
* hostname and a port number.
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 HostAddress extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. Hostname for the connection.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String hostname;
39+
40+
/**
41+
* Optional. Port for the connection.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Integer port;
46+
47+
/**
48+
* Required. Hostname for the connection.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getHostname() {
52+
return hostname;
53+
}
54+
55+
/**
56+
* Required. Hostname for the connection.
57+
* @param hostname hostname or {@code null} for none
58+
*/
59+
public HostAddress setHostname(java.lang.String hostname) {
60+
this.hostname = hostname;
61+
return this;
62+
}
63+
64+
/**
65+
* Optional. Port for the connection.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.Integer getPort() {
69+
return port;
70+
}
71+
72+
/**
73+
* Optional. Port for the connection.
74+
* @param port port or {@code null} for none
75+
*/
76+
public HostAddress setPort(java.lang.Integer port) {
77+
this.port = port;
78+
return this;
79+
}
80+
81+
@Override
82+
public HostAddress set(String fieldName, Object value) {
83+
return (HostAddress) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public HostAddress clone() {
88+
return (HostAddress) super.clone();
89+
}
90+
91+
}

0 commit comments

Comments
 (0)