Skip to content

Commit 3abd0f4

Browse files
feat(datastream): update the api
#### datastream:v1 The following keys were added: - schemas.SqlServerChangeTables (Total Keys: 2) - schemas.SqlServerSourceConfig.properties.changeTables.$ref (Total Keys: 1) - schemas.SqlServerSourceConfig.properties.transactionLogs.$ref (Total Keys: 1) - schemas.SqlServerTransactionLogs (Total Keys: 2)
1 parent d959b3d commit 3abd0f4

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

docs/dyn/datastream_v1.projects.locations.streams.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ <h3>Method Details</h3>
439439
},
440440
&quot;sourceConnectionProfile&quot;: &quot;A String&quot;, # Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
441441
&quot;sqlServerSourceConfig&quot;: { # SQLServer data source configuration # SQLServer data source configuration.
442+
&quot;changeTables&quot;: { # Configuration to use Change Tables CDC read method. # CDC reader reads from change tables.
443+
},
442444
&quot;excludeObjects&quot;: { # SQLServer database structure. # SQLServer objects to exclude from the stream.
443445
&quot;schemas&quot;: [ # SQLServer schemas in the database server.
444446
{ # SQLServer schema.
@@ -489,6 +491,8 @@ <h3>Method Details</h3>
489491
},
490492
&quot;maxConcurrentBackfillTasks&quot;: 42, # Max concurrent backfill tasks.
491493
&quot;maxConcurrentCdcTasks&quot;: 42, # Max concurrent CDC tasks.
494+
&quot;transactionLogs&quot;: { # Configuration to use Transaction Logs CDC read method. # CDC reader reads from transaction logs.
495+
},
492496
},
493497
},
494498
&quot;state&quot;: &quot;A String&quot;, # The state of the stream.
@@ -899,6 +903,8 @@ <h3>Method Details</h3>
899903
},
900904
&quot;sourceConnectionProfile&quot;: &quot;A String&quot;, # Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
901905
&quot;sqlServerSourceConfig&quot;: { # SQLServer data source configuration # SQLServer data source configuration.
906+
&quot;changeTables&quot;: { # Configuration to use Change Tables CDC read method. # CDC reader reads from change tables.
907+
},
902908
&quot;excludeObjects&quot;: { # SQLServer database structure. # SQLServer objects to exclude from the stream.
903909
&quot;schemas&quot;: [ # SQLServer schemas in the database server.
904910
{ # SQLServer schema.
@@ -949,6 +955,8 @@ <h3>Method Details</h3>
949955
},
950956
&quot;maxConcurrentBackfillTasks&quot;: 42, # Max concurrent backfill tasks.
951957
&quot;maxConcurrentCdcTasks&quot;: 42, # Max concurrent CDC tasks.
958+
&quot;transactionLogs&quot;: { # Configuration to use Transaction Logs CDC read method. # CDC reader reads from transaction logs.
959+
},
952960
},
953961
},
954962
&quot;state&quot;: &quot;A String&quot;, # The state of the stream.
@@ -1298,6 +1306,8 @@ <h3>Method Details</h3>
12981306
},
12991307
&quot;sourceConnectionProfile&quot;: &quot;A String&quot;, # Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
13001308
&quot;sqlServerSourceConfig&quot;: { # SQLServer data source configuration # SQLServer data source configuration.
1309+
&quot;changeTables&quot;: { # Configuration to use Change Tables CDC read method. # CDC reader reads from change tables.
1310+
},
13011311
&quot;excludeObjects&quot;: { # SQLServer database structure. # SQLServer objects to exclude from the stream.
13021312
&quot;schemas&quot;: [ # SQLServer schemas in the database server.
13031313
{ # SQLServer schema.
@@ -1348,6 +1358,8 @@ <h3>Method Details</h3>
13481358
},
13491359
&quot;maxConcurrentBackfillTasks&quot;: 42, # Max concurrent backfill tasks.
13501360
&quot;maxConcurrentCdcTasks&quot;: 42, # Max concurrent CDC tasks.
1361+
&quot;transactionLogs&quot;: { # Configuration to use Transaction Logs CDC read method. # CDC reader reads from transaction logs.
1362+
},
13511363
},
13521364
},
13531365
&quot;state&quot;: &quot;A String&quot;, # The state of the stream.
@@ -1704,6 +1716,8 @@ <h3>Method Details</h3>
17041716
},
17051717
&quot;sourceConnectionProfile&quot;: &quot;A String&quot;, # Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
17061718
&quot;sqlServerSourceConfig&quot;: { # SQLServer data source configuration # SQLServer data source configuration.
1719+
&quot;changeTables&quot;: { # Configuration to use Change Tables CDC read method. # CDC reader reads from change tables.
1720+
},
17071721
&quot;excludeObjects&quot;: { # SQLServer database structure. # SQLServer objects to exclude from the stream.
17081722
&quot;schemas&quot;: [ # SQLServer schemas in the database server.
17091723
{ # SQLServer schema.
@@ -1754,6 +1768,8 @@ <h3>Method Details</h3>
17541768
},
17551769
&quot;maxConcurrentBackfillTasks&quot;: 42, # Max concurrent backfill tasks.
17561770
&quot;maxConcurrentCdcTasks&quot;: 42, # Max concurrent CDC tasks.
1771+
&quot;transactionLogs&quot;: { # Configuration to use Transaction Logs CDC read method. # CDC reader reads from transaction logs.
1772+
},
17571773
},
17581774
},
17591775
&quot;state&quot;: &quot;A String&quot;, # The state of the stream.

googleapiclient/discovery_cache/documents/datastream.v1.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@
12501250
}
12511251
}
12521252
},
1253-
"revision": "20240501",
1253+
"revision": "20240515",
12541254
"rootUrl": "https://datastream.googleapis.com/",
12551255
"schemas": {
12561256
"AppendOnly": {
@@ -2861,6 +2861,12 @@
28612861
},
28622862
"type": "object"
28632863
},
2864+
"SqlServerChangeTables": {
2865+
"description": "Configuration to use Change Tables CDC read method.",
2866+
"id": "SqlServerChangeTables",
2867+
"properties": {},
2868+
"type": "object"
2869+
},
28642870
"SqlServerColumn": {
28652871
"description": "SQLServer Column.",
28662872
"id": "SqlServerColumn",
@@ -2983,6 +2989,10 @@
29832989
"description": "SQLServer data source configuration",
29842990
"id": "SqlServerSourceConfig",
29852991
"properties": {
2992+
"changeTables": {
2993+
"$ref": "SqlServerChangeTables",
2994+
"description": "CDC reader reads from change tables."
2995+
},
29862996
"excludeObjects": {
29872997
"$ref": "SqlServerRdbms",
29882998
"description": "SQLServer objects to exclude from the stream."
@@ -3000,6 +3010,10 @@
30003010
"description": "Max concurrent CDC tasks.",
30013011
"format": "int32",
30023012
"type": "integer"
3013+
},
3014+
"transactionLogs": {
3015+
"$ref": "SqlServerTransactionLogs",
3016+
"description": "CDC reader reads from transaction logs."
30033017
}
30043018
},
30053019
"type": "object"
@@ -3022,6 +3036,12 @@
30223036
},
30233037
"type": "object"
30243038
},
3039+
"SqlServerTransactionLogs": {
3040+
"description": "Configuration to use Transaction Logs CDC read method.",
3041+
"id": "SqlServerTransactionLogs",
3042+
"properties": {},
3043+
"type": "object"
3044+
},
30253045
"StartBackfillJobRequest": {
30263046
"description": "Request for manually initiating a backfill job for a specific stream object.",
30273047
"id": "StartBackfillJobRequest",

0 commit comments

Comments
 (0)