Skip to content

Commit aee2561

Browse files
1 parent 203f7cd commit aee2561

File tree

5 files changed

+96
-6
lines changed

5 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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 change stream position
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 MongodbChangeStreamPosition extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The timestamp (in epoch seconds) to start change stream from.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private String startTime;
38+
39+
/**
40+
* Required. The timestamp (in epoch seconds) to start change stream from.
41+
* @return value or {@code null} for none
42+
*/
43+
public String getStartTime() {
44+
return startTime;
45+
}
46+
47+
/**
48+
* Required. The timestamp (in epoch seconds) to start change stream from.
49+
* @param startTime startTime or {@code null} for none
50+
*/
51+
public MongodbChangeStreamPosition setStartTime(String startTime) {
52+
this.startTime = startTime;
53+
return this;
54+
}
55+
56+
@Override
57+
public MongodbChangeStreamPosition set(String fieldName, Object value) {
58+
return (MongodbChangeStreamPosition) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public MongodbChangeStreamPosition clone() {
63+
return (MongodbChangeStreamPosition) super.clone();
64+
}
65+
66+
}

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

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

32+
/**
33+
* MongoDB change stream position to start replicating from.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private MongodbChangeStreamPosition mongodbChangeStreamPosition;
38+
3239
/**
3340
* MySQL GTID set to start replicating from.
3441
* The value may be {@code null}.
@@ -57,6 +64,23 @@ public final class SpecificStartPosition extends com.google.api.client.json.Gene
5764
@com.google.api.client.util.Key
5865
private SqlServerLsnPosition sqlServerLsnPosition;
5966

67+
/**
68+
* MongoDB change stream position to start replicating from.
69+
* @return value or {@code null} for none
70+
*/
71+
public MongodbChangeStreamPosition getMongodbChangeStreamPosition() {
72+
return mongodbChangeStreamPosition;
73+
}
74+
75+
/**
76+
* MongoDB change stream position to start replicating from.
77+
* @param mongodbChangeStreamPosition mongodbChangeStreamPosition or {@code null} for none
78+
*/
79+
public SpecificStartPosition setMongodbChangeStreamPosition(MongodbChangeStreamPosition mongodbChangeStreamPosition) {
80+
this.mongodbChangeStreamPosition = mongodbChangeStreamPosition;
81+
return this;
82+
}
83+
6084
/**
6185
* MySQL GTID set to start replicating from.
6286
* @return value or {@code null} for none

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-rev20250817-2.0.0</version>
12-
<name>Datastream API v1-rev20250817-2.0.0</name>
11+
<version>v1-rev20250827-2.0.0</version>
12+
<name>Datastream API v1-rev20250827-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-rev20250817-2.0.0</version>
25+
<version>v1-rev20250827-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-rev20250817-2.0.0'
38+
implementation 'com.google.apis:google-api-services-datastream:v1-rev20250827-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)