tencentcloud-sdk-dts 3.0.1032 → 3.0.1034

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 +31 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44187d9875fad507df2188aafa199164b02b037f
4
- data.tar.gz: 51efd4d9b02c952d8d1e45e289ab112d695fa18f
3
+ metadata.gz: be97b7aecfa91d24743dd3725143441201d70d6e
4
+ data.tar.gz: e4ea2a47f85fdbe9f157daca494505cd07b10ba5
5
5
  SHA512:
6
- metadata.gz: b584f21859a059c47d9b10104f7e43a90d3ec7131ebe1581f9a209e7f8cc01019869a437c8ac2b1ecc0f265b89ee60939df98ee2f5d215e988d214a4212201d7
7
- data.tar.gz: d739a28038fd0c1c9e2978e5845092d2539a96565c443d06c8290f08a5d139b425eaa1ca57b219ba8ab0821564a83ec2fc02e21d229f50ef965d26f0d7330729
6
+ metadata.gz: ad713998992882d6fa556b989e2b4437284dc00306cb80327bcdb52ac3e5db82dd8e7a915c665d42db80a124811b6fad92919a93cec7a8320635b1bb9409ca13
7
+ data.tar.gz: 722d806747f063bf3ac309d6d5d6e150c1dc4c0b13ce0d43cae066aa150c1a6a157ec416f8169049f6de9eb7c317059875c94ab4f93c4c764bff41d1ba77b3d5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1032
1
+ 3.0.1034
@@ -1459,12 +1459,14 @@ module TencentCloud
1459
1459
  # @type TmpSecretKey: String
1460
1460
  # @param TmpToken: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
1461
1461
  # @type TmpToken: String
1462
+ # @param EncryptConn: 是否走加密传输、UnEncrypted表示不走加密传输,Encrypted表示走加密传输,默认UnEncrypted
1463
+ # @type EncryptConn: String
1462
1464
  # @param SetId: tdsql的分片id。如节点类型为set必填。
1463
1465
  # @type SetId: String
1464
1466
 
1465
- attr_accessor :Role, :DbKernel, :Host, :Port, :User, :Password, :CvmInstanceId, :UniqVpnGwId, :UniqDcgId, :InstanceId, :CcnGwId, :VpcId, :SubnetId, :EngineVersion, :Account, :AccountRole, :AccountMode, :TmpSecretId, :TmpSecretKey, :TmpToken, :SetId
1467
+ attr_accessor :Role, :DbKernel, :Host, :Port, :User, :Password, :CvmInstanceId, :UniqVpnGwId, :UniqDcgId, :InstanceId, :CcnGwId, :VpcId, :SubnetId, :EngineVersion, :Account, :AccountRole, :AccountMode, :TmpSecretId, :TmpSecretKey, :TmpToken, :EncryptConn, :SetId
1466
1468
 
1467
- def initialize(role=nil, dbkernel=nil, host=nil, port=nil, user=nil, password=nil, cvminstanceid=nil, uniqvpngwid=nil, uniqdcgid=nil, instanceid=nil, ccngwid=nil, vpcid=nil, subnetid=nil, engineversion=nil, account=nil, accountrole=nil, accountmode=nil, tmpsecretid=nil, tmpsecretkey=nil, tmptoken=nil, setid=nil)
1469
+ def initialize(role=nil, dbkernel=nil, host=nil, port=nil, user=nil, password=nil, cvminstanceid=nil, uniqvpngwid=nil, uniqdcgid=nil, instanceid=nil, ccngwid=nil, vpcid=nil, subnetid=nil, engineversion=nil, account=nil, accountrole=nil, accountmode=nil, tmpsecretid=nil, tmpsecretkey=nil, tmptoken=nil, encryptconn=nil, setid=nil)
1468
1470
  @Role = role
1469
1471
  @DbKernel = dbkernel
1470
1472
  @Host = host
@@ -1485,6 +1487,7 @@ module TencentCloud
1485
1487
  @TmpSecretId = tmpsecretid
1486
1488
  @TmpSecretKey = tmpsecretkey
1487
1489
  @TmpToken = tmptoken
1490
+ @EncryptConn = encryptconn
1488
1491
  @SetId = setid
1489
1492
  end
1490
1493
 
@@ -1509,6 +1512,7 @@ module TencentCloud
1509
1512
  @TmpSecretId = params['TmpSecretId']
1510
1513
  @TmpSecretKey = params['TmpSecretKey']
1511
1514
  @TmpToken = params['TmpToken']
1515
+ @EncryptConn = params['EncryptConn']
1512
1516
  @SetId = params['SetId']
1513
1517
  end
1514
1518
  end
@@ -3522,14 +3526,29 @@ module TencentCloud
3522
3526
  # @type ConflictHandleType: String
3523
3527
  # @param ConflictHandleOption: 冲突处理的详细选项,如条件覆盖中的条件行和条件操作;不能部分更新该选项的内部字段;有更新时、需要全量更新该字段
3524
3528
  # @type ConflictHandleOption: :class:`Tencentcloud::Dts.v20211206.models.ConflictHandleOption`
3529
+ # @param KafkaOption: 同步到kafka链路的kafka配置
3530
+ # @type KafkaOption: :class:`Tencentcloud::Dts.v20211206.models.KafkaOption`
3531
+ # @param FilterBeginCommit: 同步到kafka链路是否过滤掉begin和commit消息。目前仅mysql2kafka链路支持
3532
+ # @type FilterBeginCommit: Boolean
3533
+ # @param FilterCheckpoint: 同步到kafka链路是否过滤掉checkpoint消息。目前仅mysql2kafka链路支持
3534
+ # @type FilterCheckpoint: Boolean
3535
+ # @param DealOfExistSameTable: 同名表的处理,ReportErrorAfterCheck(前置校验并报错,默认)、ExecuteAfterIgnore(忽略并继续执行)
3536
+ # @type DealOfExistSameTable: String
3537
+ # @param StartPosition: 仅增量任务重新设置指定位点
3538
+ # @type StartPosition: String
3525
3539
 
3526
- attr_accessor :OpTypes, :DdlOptions, :ConflictHandleType, :ConflictHandleOption
3540
+ attr_accessor :OpTypes, :DdlOptions, :ConflictHandleType, :ConflictHandleOption, :KafkaOption, :FilterBeginCommit, :FilterCheckpoint, :DealOfExistSameTable, :StartPosition
3527
3541
 
3528
- def initialize(optypes=nil, ddloptions=nil, conflicthandletype=nil, conflicthandleoption=nil)
3542
+ def initialize(optypes=nil, ddloptions=nil, conflicthandletype=nil, conflicthandleoption=nil, kafkaoption=nil, filterbegincommit=nil, filtercheckpoint=nil, dealofexistsametable=nil, startposition=nil)
3529
3543
  @OpTypes = optypes
3530
3544
  @DdlOptions = ddloptions
3531
3545
  @ConflictHandleType = conflicthandletype
3532
3546
  @ConflictHandleOption = conflicthandleoption
3547
+ @KafkaOption = kafkaoption
3548
+ @FilterBeginCommit = filterbegincommit
3549
+ @FilterCheckpoint = filtercheckpoint
3550
+ @DealOfExistSameTable = dealofexistsametable
3551
+ @StartPosition = startposition
3533
3552
  end
3534
3553
 
3535
3554
  def deserialize(params)
@@ -3547,6 +3566,14 @@ module TencentCloud
3547
3566
  @ConflictHandleOption = ConflictHandleOption.new
3548
3567
  @ConflictHandleOption.deserialize(params['ConflictHandleOption'])
3549
3568
  end
3569
+ unless params['KafkaOption'].nil?
3570
+ @KafkaOption = KafkaOption.new
3571
+ @KafkaOption.deserialize(params['KafkaOption'])
3572
+ end
3573
+ @FilterBeginCommit = params['FilterBeginCommit']
3574
+ @FilterCheckpoint = params['FilterCheckpoint']
3575
+ @DealOfExistSameTable = params['DealOfExistSameTable']
3576
+ @StartPosition = params['StartPosition']
3550
3577
  end
3551
3578
  end
3552
3579
 
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.1032
4
+ version: 3.0.1034
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-01 00:00:00.000000000 Z
11
+ date: 2025-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common