Skip to content

Commit 0e284af

Browse files
feat: Automated regeneration of datastream v1 client (googleapis#24221)
Auto-created at 2025-09-07 10:28:13 +0000 using the toys pull request generator.
1 parent 0fc77c6 commit 0e284af

File tree

5 files changed

+49
-2
lines changed

5 files changed

+49
-2
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158087,6 +158087,8 @@
158087158087
"/datastream:v1/LookupStreamObjectRequest": lookup_stream_object_request
158088158088
"/datastream:v1/LookupStreamObjectRequest/sourceObjectIdentifier": source_object_identifier
158089158089
"/datastream:v1/Merge": merge
158090+
"/datastream:v1/MongodbChangeStreamPosition": mongodb_change_stream_position
158091+
"/datastream:v1/MongodbChangeStreamPosition/startTime": start_time
158090158092
"/datastream:v1/MongodbCluster": mongodb_cluster
158091158093
"/datastream:v1/MongodbCluster/databases": databases
158092158094
"/datastream:v1/MongodbCluster/databases/database": database
@@ -158379,6 +158381,7 @@
158379158381
"/datastream:v1/SourceObjectIdentifier/salesforceIdentifier": salesforce_identifier
158380158382
"/datastream:v1/SourceObjectIdentifier/sqlServerIdentifier": sql_server_identifier
158381158383
"/datastream:v1/SpecificStartPosition": specific_start_position
158384+
"/datastream:v1/SpecificStartPosition/mongodbChangeStreamPosition": mongodb_change_stream_position
158382158385
"/datastream:v1/SpecificStartPosition/mysqlGtidPosition": mysql_gtid_position
158383158386
"/datastream:v1/SpecificStartPosition/mysqlLogPosition": mysql_log_position
158384158387
"/datastream:v1/SpecificStartPosition/oracleScnPosition": oracle_scn_position

generated/google-apis-datastream_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-datastream_v1
22

3+
### v0.56.0 (2025-09-07)
4+
5+
* Regenerated from discovery document revision 20250827
6+
37
### v0.55.0 (2025-08-24)
48

59
* Regenerated from discovery document revision 20250817

generated/google-apis-datastream_v1/lib/google/apis/datastream_v1/classes.rb

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,6 +1331,25 @@ def update!(**args)
13311331
end
13321332
end
13331333

1334+
# MongoDB change stream position
1335+
class MongodbChangeStreamPosition
1336+
include Google::Apis::Core::Hashable
1337+
1338+
# Required. The timestamp (in epoch seconds) to start change stream from.
1339+
# Corresponds to the JSON property `startTime`
1340+
# @return [String]
1341+
attr_accessor :start_time
1342+
1343+
def initialize(**args)
1344+
update!(**args)
1345+
end
1346+
1347+
# Update properties of this object
1348+
def update!(**args)
1349+
@start_time = args[:start_time] if args.key?(:start_time)
1350+
end
1351+
end
1352+
13341353
# MongoDB Cluster structure.
13351354
class MongodbCluster
13361355
include Google::Apis::Core::Hashable
@@ -3488,6 +3507,11 @@ def update!(**args)
34883507
class SpecificStartPosition
34893508
include Google::Apis::Core::Hashable
34903509

3510+
# MongoDB change stream position
3511+
# Corresponds to the JSON property `mongodbChangeStreamPosition`
3512+
# @return [Google::Apis::DatastreamV1::MongodbChangeStreamPosition]
3513+
attr_accessor :mongodb_change_stream_position
3514+
34913515
# MySQL GTID position
34923516
# Corresponds to the JSON property `mysqlGtidPosition`
34933517
# @return [Google::Apis::DatastreamV1::MysqlGtidPosition]
@@ -3514,6 +3538,7 @@ def initialize(**args)
35143538

35153539
# Update properties of this object
35163540
def update!(**args)
3541+
@mongodb_change_stream_position = args[:mongodb_change_stream_position] if args.key?(:mongodb_change_stream_position)
35173542
@mysql_gtid_position = args[:mysql_gtid_position] if args.key?(:mysql_gtid_position)
35183543
@mysql_log_position = args[:mysql_log_position] if args.key?(:mysql_log_position)
35193544
@oracle_scn_position = args[:oracle_scn_position] if args.key?(:oracle_scn_position)

generated/google-apis-datastream_v1/lib/google/apis/datastream_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DatastreamV1
1818
# Version of the google-apis-datastream_v1 gem
19-
GEM_VERSION = "0.55.0"
19+
GEM_VERSION = "0.56.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250817"
25+
REVISION = "20250827"
2626
end
2727
end
2828
end

generated/google-apis-datastream_v1/lib/google/apis/datastream_v1/representations.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
274274
include Google::Apis::Core::JsonObjectSupport
275275
end
276276

277+
class MongodbChangeStreamPosition
278+
class Representation < Google::Apis::Core::JsonRepresentation; end
279+
280+
include Google::Apis::Core::JsonObjectSupport
281+
end
282+
277283
class MongodbCluster
278284
class Representation < Google::Apis::Core::JsonRepresentation; end
279285

@@ -1219,6 +1225,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
12191225
end
12201226
end
12211227

1228+
class MongodbChangeStreamPosition
1229+
# @private
1230+
class Representation < Google::Apis::Core::JsonRepresentation
1231+
property :start_time, as: 'startTime'
1232+
end
1233+
end
1234+
12221235
class MongodbCluster
12231236
# @private
12241237
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1848,6 +1861,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
18481861
class SpecificStartPosition
18491862
# @private
18501863
class Representation < Google::Apis::Core::JsonRepresentation
1864+
property :mongodb_change_stream_position, as: 'mongodbChangeStreamPosition', class: Google::Apis::DatastreamV1::MongodbChangeStreamPosition, decorator: Google::Apis::DatastreamV1::MongodbChangeStreamPosition::Representation
1865+
18511866
property :mysql_gtid_position, as: 'mysqlGtidPosition', class: Google::Apis::DatastreamV1::MysqlGtidPosition, decorator: Google::Apis::DatastreamV1::MysqlGtidPosition::Representation
18521867

18531868
property :mysql_log_position, as: 'mysqlLogPosition', class: Google::Apis::DatastreamV1::MysqlLogPosition, decorator: Google::Apis::DatastreamV1::MysqlLogPosition::Representation

0 commit comments

Comments
 (0)