Skip to content

Commit

Permalink
feat(datastream): update the API
Browse files Browse the repository at this point in the history
#### datastream:v1

The following keys were added:
- schemas.SqlServerChangeTables.description
- schemas.SqlServerChangeTables.id
- schemas.SqlServerChangeTables.type
- schemas.SqlServerSourceConfig.properties.changeTables.$ref
- schemas.SqlServerSourceConfig.properties.changeTables.description
- schemas.SqlServerSourceConfig.properties.transactionLogs.$ref
- schemas.SqlServerSourceConfig.properties.transactionLogs.description
- schemas.SqlServerTransactionLogs.description
- schemas.SqlServerTransactionLogs.id
- schemas.SqlServerTransactionLogs.type
  • Loading branch information
yoshi-automation authored and sofisl committed Jun 3, 2024
1 parent f65ce61 commit b8cc0e6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
22 changes: 21 additions & 1 deletion discovery/datastream-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@
}
}
},
"revision": "20240410",
"revision": "20240515",
"rootUrl": "https://datastream.googleapis.com/",
"schemas": {
"AppendOnly": {
Expand Down Expand Up @@ -2861,6 +2861,12 @@
},
"type": "object"
},
"SqlServerChangeTables": {
"description": "Configuration to use Change Tables CDC read method.",
"id": "SqlServerChangeTables",
"properties": {},
"type": "object"
},
"SqlServerColumn": {
"description": "SQLServer Column.",
"id": "SqlServerColumn",
Expand Down Expand Up @@ -2983,6 +2989,10 @@
"description": "SQLServer data source configuration",
"id": "SqlServerSourceConfig",
"properties": {
"changeTables": {
"$ref": "SqlServerChangeTables",
"description": "CDC reader reads from change tables."
},
"excludeObjects": {
"$ref": "SqlServerRdbms",
"description": "SQLServer objects to exclude from the stream."
Expand All @@ -3000,6 +3010,10 @@
"description": "Max concurrent CDC tasks.",
"format": "int32",
"type": "integer"
},
"transactionLogs": {
"$ref": "SqlServerTransactionLogs",
"description": "CDC reader reads from transaction logs."
}
},
"type": "object"
Expand All @@ -3022,6 +3036,12 @@
},
"type": "object"
},
"SqlServerTransactionLogs": {
"description": "Configuration to use Transaction Logs CDC read method.",
"id": "SqlServerTransactionLogs",
"properties": {},
"type": "object"
},
"StartBackfillJobRequest": {
"description": "Request for manually initiating a backfill job for a specific stream object.",
"id": "StartBackfillJobRequest",
Expand Down
16 changes: 16 additions & 0 deletions src/apis/datastream/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1364,6 +1364,10 @@ export namespace datastream_v1 {
*/
oracleScnPosition?: Schema$OracleScnPosition;
}
/**
* Configuration to use Change Tables CDC read method.
*/
export interface Schema$SqlServerChangeTables {}
/**
* SQLServer Column.
*/
Expand Down Expand Up @@ -1465,6 +1469,10 @@ export namespace datastream_v1 {
* SQLServer data source configuration
*/
export interface Schema$SqlServerSourceConfig {
/**
* CDC reader reads from change tables.
*/
changeTables?: Schema$SqlServerChangeTables;
/**
* SQLServer objects to exclude from the stream.
*/
Expand All @@ -1481,6 +1489,10 @@ export namespace datastream_v1 {
* Max concurrent CDC tasks.
*/
maxConcurrentCdcTasks?: number | null;
/**
* CDC reader reads from transaction logs.
*/
transactionLogs?: Schema$SqlServerTransactionLogs;
}
/**
* SQLServer table.
Expand All @@ -1495,6 +1507,10 @@ export namespace datastream_v1 {
*/
table?: string | null;
}
/**
* Configuration to use Transaction Logs CDC read method.
*/
export interface Schema$SqlServerTransactionLogs {}
/**
* Request for manually initiating a backfill job for a specific stream object.
*/
Expand Down

0 comments on commit b8cc0e6

Please sign in to comment.