tencentcloud-sdk-dts 3.0.776 → 3.0.777

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20211206/models.rb +29 -14
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6b36c1fbaa5215d02b87785e7d340364c204459
4
- data.tar.gz: e8c35bb6235707e35e607997b66d054353a5f229
3
+ metadata.gz: 0975d7af2fd06ff2819bdc6ce9eb2d93fca6b473
4
+ data.tar.gz: 68c595ca7b057c0d901634a24d2099a7d843b212
5
5
  SHA512:
6
- metadata.gz: 47ec3bc060b1e43df4fa3839c8c38f33aafc39c591e891676d81c45b128537076ba2ce8267120521705e02393c183e33674bf0a5e1747e4978775dd295a03848
7
- data.tar.gz: 54ce0bdf814e7dd9bd052a2f0fd7840017a1c66f1c699b53378a0e20a99320c57b2ed03282a89756270994a710e238625fd9846381ee1fdcf7bc33de8157c571
6
+ metadata.gz: 0908cf14ec55d06bf14aa7f425a22a6e22703c92ee684af214d2da9fac2d18bbfc2b8502343478f39120e2b86bb20215ef207b3f98277726778a8413fe998144
7
+ data.tar.gz: 7dd6b1528a0d3172343ceead76cf9a0f6d104a5b8c41152045abb27c90e0e06c3eb233063d344eca9cb6ea0538e590c1cd54bba268a0143dd56166042e205b96
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.776
1
+ 3.0.777
@@ -648,7 +648,7 @@ module TencentCloud
648
648
  # @type SubscribeId: String
649
649
  # @param SubscribeMode: 数据订阅的类型,当 DatabaseType 不为 mongodb 时,枚举值为:all-全实例更新;dml-数据更新;ddl-结构更新;dmlAndDdl-数据更新+结构更新。当 DatabaseType 为 mongodb 时,枚举值为 all-全实例更新;database-订阅单库;collection-订阅单集合
650
650
  # @type SubscribeMode: String
651
- # @param AccessType: 源数据库接入类型,如:extranet(公网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、cdb(云数据库)、cvm(云主机自建)、intranet(自研上云)、vpc(私有网络vpc)。注意具体可选值依赖当前链路支持能力
651
+ # @param AccessType: 源数据库接入类型,如:extranet(公网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、cdb(云数据库)、cvm(云服务器自建)、intranet(自研上云)、vpc(私有网络vpc)。注意具体可选值依赖当前链路支持能力
652
652
  # @type AccessType: String
653
653
  # @param Endpoints: 数据库节点信息
654
654
  # @type Endpoints: Array
@@ -2940,7 +2940,7 @@ module TencentCloud
2940
2940
  # @param KafkaConfig: kafka配置信息
2941
2941
  # 注意:此字段可能返回 null,表示取不到有效值。
2942
2942
  # @type KafkaConfig: :class:`Tencentcloud::Dts.v20211206.models.SubscribeKafkaConfig`
2943
- # @param AccessType: 源数据库接入类型,如:extranet(公网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、cdb(云数据库)、cvm(云主机自建)、intranet(自研上云)、vpc(私有网络vpc)。注意具体可选值依赖当前链路支持能力
2943
+ # @param AccessType: 源数据库接入类型,如:extranet(公网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、cdb(云数据库)、cvm(云服务器自建)、intranet(自研上云)、vpc(私有网络vpc)。注意具体可选值依赖当前链路支持能力
2944
2944
  # 注意:此字段可能返回 null,表示取不到有效值。
2945
2945
  # @type AccessType: String
2946
2946
  # @param Endpoints: 接入类型信息
@@ -5435,10 +5435,16 @@ module TencentCloud
5435
5435
  # @param AutoRetryTimeRangeMinutes: 自动重试的时间窗口设置
5436
5436
  # 注意:此字段可能返回 null,表示取不到有效值。
5437
5437
  # @type AutoRetryTimeRangeMinutes: Integer
5438
+ # @param FilterBeginCommit: 同步到kafka链路是否过滤掉begin和commit消息。目前仅mysql2kafka链路支持
5439
+ # 注意:此字段可能返回 null,表示取不到有效值。
5440
+ # @type FilterBeginCommit: Boolean
5441
+ # @param FilterCheckpoint: 同步到kafka链路是否过滤掉checkpoint消息。目前仅mysql2kafka链路支持
5442
+ # 注意:此字段可能返回 null,表示取不到有效值。
5443
+ # @type FilterCheckpoint: Boolean
5438
5444
 
5439
- attr_accessor :InitType, :DealOfExistSameTable, :ConflictHandleType, :AddAdditionalColumn, :OpTypes, :ConflictHandleOption, :DdlOptions, :KafkaOption, :RateLimitOption, :AutoRetryTimeRangeMinutes
5445
+ attr_accessor :InitType, :DealOfExistSameTable, :ConflictHandleType, :AddAdditionalColumn, :OpTypes, :ConflictHandleOption, :DdlOptions, :KafkaOption, :RateLimitOption, :AutoRetryTimeRangeMinutes, :FilterBeginCommit, :FilterCheckpoint
5440
5446
 
5441
- def initialize(inittype=nil, dealofexistsametable=nil, conflicthandletype=nil, addadditionalcolumn=nil, optypes=nil, conflicthandleoption=nil, ddloptions=nil, kafkaoption=nil, ratelimitoption=nil, autoretrytimerangeminutes=nil)
5447
+ def initialize(inittype=nil, dealofexistsametable=nil, conflicthandletype=nil, addadditionalcolumn=nil, optypes=nil, conflicthandleoption=nil, ddloptions=nil, kafkaoption=nil, ratelimitoption=nil, autoretrytimerangeminutes=nil, filterbegincommit=nil, filtercheckpoint=nil)
5442
5448
  @InitType = inittype
5443
5449
  @DealOfExistSameTable = dealofexistsametable
5444
5450
  @ConflictHandleType = conflicthandletype
@@ -5449,6 +5455,8 @@ module TencentCloud
5449
5455
  @KafkaOption = kafkaoption
5450
5456
  @RateLimitOption = ratelimitoption
5451
5457
  @AutoRetryTimeRangeMinutes = autoretrytimerangeminutes
5458
+ @FilterBeginCommit = filterbegincommit
5459
+ @FilterCheckpoint = filtercheckpoint
5452
5460
  end
5453
5461
 
5454
5462
  def deserialize(params)
@@ -5478,6 +5486,8 @@ module TencentCloud
5478
5486
  @RateLimitOption.deserialize(params['RateLimitOption'])
5479
5487
  end
5480
5488
  @AutoRetryTimeRangeMinutes = params['AutoRetryTimeRangeMinutes']
5489
+ @FilterBeginCommit = params['FilterBeginCommit']
5490
+ @FilterCheckpoint = params['FilterCheckpoint']
5481
5491
  end
5482
5492
  end
5483
5493
 
@@ -6909,7 +6919,7 @@ module TencentCloud
6909
6919
  end
6910
6920
  end
6911
6921
 
6912
- # 订阅的的数据库表信息,用于配置和查询订阅任务接口。
6922
+ # 订阅的数据库表信息,用于配置和查询订阅任务接口。
6913
6923
  class SubscribeObject < TencentCloud::Common::AbstractModel
6914
6924
  # @param ObjectType: 订阅数据的类型,枚举值:database-数据库,table-数据库的表(如果 DatabaseType 为 mongodb,则表示集合)
6915
6925
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -7390,30 +7400,34 @@ module TencentCloud
7390
7400
  end
7391
7401
  end
7392
7402
 
7393
- # 单topic和自定义topic的描述
7403
+ # 单topic和自定义topic的描述。投递到单topic时,该数组的最后一项会被视为默认分区策略,所有未匹配到的数据都会按该策略投递,默认策略只支持 投递至partition0、按表名、表名+主键三种。
7394
7404
  class TopicRule < TencentCloud::Common::AbstractModel
7395
- # @param TopicName: topic
7405
+ # @param TopicName: topic名。单topic时,所有的TopicName必须相同
7396
7406
  # @type TopicName: String
7397
- # @param PartitionType: topic分区策略,如 自定义topicRandom(随机投递),集中投递到单TopicAllInPartitionZero(全部投递至partition0)、PartitionByTable(按表名分区)、PartitionByTableAndKey(按表名加主键分区)
7407
+ # @param PartitionType: topic分区策略,自定义topic时支持:Random(随机投递),集中投递到单Topic时支持:AllInPartitionZero(全部投递至partition0)、PartitionByTable(按表名分区)、PartitionByTableAndKey(按表名加主键分区)、PartitionByCols(按列分区)
7398
7408
  # @type PartitionType: String
7399
- # @param DbMatchMode: 库名匹配规则,仅“自定义topic”生效,如Regular(正则匹配), Default(不符合匹配规则的剩余库),数组中必须有一项为‘Default’
7409
+ # @param DbMatchMode: 库名匹配规则,如Regular(正则匹配), Default(不符合匹配规则的剩余库),数组中最后一项必须为‘Default’
7400
7410
  # @type DbMatchMode: String
7401
- # @param DbName: 库名,仅“自定义topic”时,DbMatchMode=Regular生效
7411
+ # @param DbName: 库名,DbMatchMode=Regular时生效
7402
7412
  # @type DbName: String
7403
- # @param TableMatchMode: 表名匹配规则,仅“自定义topic”生效,如Regular(正则匹配), Default(不符合匹配规则的剩余表),数组中必须有一项为‘Default’
7413
+ # @param TableMatchMode: 表名匹配规则,如Regular(正则匹配), Default(不符合匹配规则的剩余表),数组中最后一项必须为‘Default’
7404
7414
  # @type TableMatchMode: String
7405
- # @param TableName: 表名,仅“自定义topic”时,TableMatchMode=Regular生效
7415
+ # @param TableName: 表名,仅TableMatchMode=Regular时生效
7406
7416
  # @type TableName: String
7417
+ # @param Columns: 按列分区时需要选择配置列名,可以选择多列
7418
+ # 注意:此字段可能返回 null,表示取不到有效值。
7419
+ # @type Columns: Array
7407
7420
 
7408
- attr_accessor :TopicName, :PartitionType, :DbMatchMode, :DbName, :TableMatchMode, :TableName
7421
+ attr_accessor :TopicName, :PartitionType, :DbMatchMode, :DbName, :TableMatchMode, :TableName, :Columns
7409
7422
 
7410
- def initialize(topicname=nil, partitiontype=nil, dbmatchmode=nil, dbname=nil, tablematchmode=nil, tablename=nil)
7423
+ def initialize(topicname=nil, partitiontype=nil, dbmatchmode=nil, dbname=nil, tablematchmode=nil, tablename=nil, columns=nil)
7411
7424
  @TopicName = topicname
7412
7425
  @PartitionType = partitiontype
7413
7426
  @DbMatchMode = dbmatchmode
7414
7427
  @DbName = dbname
7415
7428
  @TableMatchMode = tablematchmode
7416
7429
  @TableName = tablename
7430
+ @Columns = columns
7417
7431
  end
7418
7432
 
7419
7433
  def deserialize(params)
@@ -7423,6 +7437,7 @@ module TencentCloud
7423
7437
  @DbName = params['DbName']
7424
7438
  @TableMatchMode = params['TableMatchMode']
7425
7439
  @TableName = params['TableName']
7440
+ @Columns = params['Columns']
7426
7441
  end
7427
7442
  end
7428
7443
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dts
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.776
4
+ version: 3.0.777
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-06 00:00:00.000000000 Z
11
+ date: 2024-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common