tencentcloud-sdk-dts 3.0.767 → 3.0.768
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20211206/models.rb +229 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5e238c4fdee69ecf539a4edc0a5426aa2033dbf
|
4
|
+
data.tar.gz: a256c17c169bae5d8e3075ddcf1f9acb17d9cc79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac32c1fefb84c93258bfe4264047f14aac9dfa192a008ba78389ba1caf5941de88d2beb923a660dd99bcf12c39bca3072b0a754ef1fd0cd03b2c15e24e9553ee
|
7
|
+
data.tar.gz: 7875082aa984806c0168aafb81c8ac955ad613e19b008843d4d40a167bcab697c60f5d0967eb65ac3d6e3eed9e5eaed0ae6ae8399beba9e40a21b1b60414a6af
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.768
|
data/lib/v20211206/models.rb
CHANGED
@@ -17,6 +17,43 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Dts
|
19
19
|
module V20211206
|
20
|
+
# 数据库不一致的详情,mongodb业务用到
|
21
|
+
class AdvancedObjectsItem < TencentCloud::Common::AbstractModel
|
22
|
+
# @param ObjectType: 对象类型,可能得值有:account,index,shardkey,schema
|
23
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
|
+
# @type ObjectType: String
|
25
|
+
# @param SrcChunk: 源端分块
|
26
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
|
+
# @type SrcChunk: String
|
28
|
+
# @param DstChunk: 目标端分块
|
29
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
# @type DstChunk: String
|
31
|
+
# @param SrcItem: 源端值
|
32
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
# @type SrcItem: String
|
34
|
+
# @param DstItem: 目标端值
|
35
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
36
|
+
# @type DstItem: String
|
37
|
+
|
38
|
+
attr_accessor :ObjectType, :SrcChunk, :DstChunk, :SrcItem, :DstItem
|
39
|
+
|
40
|
+
def initialize(objecttype=nil, srcchunk=nil, dstchunk=nil, srcitem=nil, dstitem=nil)
|
41
|
+
@ObjectType = objecttype
|
42
|
+
@SrcChunk = srcchunk
|
43
|
+
@DstChunk = dstchunk
|
44
|
+
@SrcItem = srcitem
|
45
|
+
@DstItem = dstitem
|
46
|
+
end
|
47
|
+
|
48
|
+
def deserialize(params)
|
49
|
+
@ObjectType = params['ObjectType']
|
50
|
+
@SrcChunk = params['SrcChunk']
|
51
|
+
@DstChunk = params['DstChunk']
|
52
|
+
@SrcItem = params['SrcItem']
|
53
|
+
@DstItem = params['DstItem']
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
20
57
|
# 检查步骤
|
21
58
|
class CheckStep < TencentCloud::Common::AbstractModel
|
22
59
|
# @param StepNo: 步骤编号
|
@@ -236,12 +273,24 @@ module TencentCloud
|
|
236
273
|
# @param Skipped: 跳过校验的表详情
|
237
274
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
238
275
|
# @type Skipped: :class:`Tencentcloud::Dts.v20211206.models.SkippedDetail`
|
276
|
+
# @param DifferenceAdvancedObjects: 数据库不一致的详情,mongodb业务用到
|
277
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
278
|
+
# @type DifferenceAdvancedObjects: :class:`Tencentcloud::Dts.v20211206.models.DifferenceAdvancedObjectsDetail`
|
279
|
+
# @param DifferenceData: 数据不一致的详情,mongodb业务用到
|
280
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
281
|
+
# @type DifferenceData: :class:`Tencentcloud::Dts.v20211206.models.DifferenceDataDetail`
|
282
|
+
# @param DifferenceRow: 数据行不一致的详情,mongodb业务用到
|
283
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
284
|
+
# @type DifferenceRow: :class:`Tencentcloud::Dts.v20211206.models.DifferenceRowDetail`
|
239
285
|
|
240
|
-
attr_accessor :Difference, :Skipped
|
286
|
+
attr_accessor :Difference, :Skipped, :DifferenceAdvancedObjects, :DifferenceData, :DifferenceRow
|
241
287
|
|
242
|
-
def initialize(difference=nil, skipped=nil)
|
288
|
+
def initialize(difference=nil, skipped=nil, differenceadvancedobjects=nil, differencedata=nil, differencerow=nil)
|
243
289
|
@Difference = difference
|
244
290
|
@Skipped = skipped
|
291
|
+
@DifferenceAdvancedObjects = differenceadvancedobjects
|
292
|
+
@DifferenceData = differencedata
|
293
|
+
@DifferenceRow = differencerow
|
245
294
|
end
|
246
295
|
|
247
296
|
def deserialize(params)
|
@@ -253,6 +302,18 @@ module TencentCloud
|
|
253
302
|
@Skipped = SkippedDetail.new
|
254
303
|
@Skipped.deserialize(params['Skipped'])
|
255
304
|
end
|
305
|
+
unless params['DifferenceAdvancedObjects'].nil?
|
306
|
+
@DifferenceAdvancedObjects = DifferenceAdvancedObjectsDetail.new
|
307
|
+
@DifferenceAdvancedObjects.deserialize(params['DifferenceAdvancedObjects'])
|
308
|
+
end
|
309
|
+
unless params['DifferenceData'].nil?
|
310
|
+
@DifferenceData = DifferenceDataDetail.new
|
311
|
+
@DifferenceData.deserialize(params['DifferenceData'])
|
312
|
+
end
|
313
|
+
unless params['DifferenceRow'].nil?
|
314
|
+
@DifferenceRow = DifferenceRowDetail.new
|
315
|
+
@DifferenceRow.deserialize(params['DifferenceRow'])
|
316
|
+
end
|
256
317
|
end
|
257
318
|
end
|
258
319
|
|
@@ -3391,6 +3452,111 @@ module TencentCloud
|
|
3391
3452
|
end
|
3392
3453
|
end
|
3393
3454
|
|
3455
|
+
# 数据库不一致的详情,mongodb业务用到
|
3456
|
+
class DifferenceAdvancedObjectsDetail < TencentCloud::Common::AbstractModel
|
3457
|
+
# @param TotalCount: 总数
|
3458
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3459
|
+
# @type TotalCount: Integer
|
3460
|
+
# @param Items: 不一致详情
|
3461
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3462
|
+
# @type Items: Array
|
3463
|
+
|
3464
|
+
attr_accessor :TotalCount, :Items
|
3465
|
+
|
3466
|
+
def initialize(totalcount=nil, items=nil)
|
3467
|
+
@TotalCount = totalcount
|
3468
|
+
@Items = items
|
3469
|
+
end
|
3470
|
+
|
3471
|
+
def deserialize(params)
|
3472
|
+
@TotalCount = params['TotalCount']
|
3473
|
+
unless params['Items'].nil?
|
3474
|
+
@Items = []
|
3475
|
+
params['Items'].each do |i|
|
3476
|
+
advancedobjectsitem_tmp = AdvancedObjectsItem.new
|
3477
|
+
advancedobjectsitem_tmp.deserialize(i)
|
3478
|
+
@Items << advancedobjectsitem_tmp
|
3479
|
+
end
|
3480
|
+
end
|
3481
|
+
end
|
3482
|
+
end
|
3483
|
+
|
3484
|
+
# 数据不一致详情
|
3485
|
+
class DifferenceData < TencentCloud::Common::AbstractModel
|
3486
|
+
# @param Db: 数据库名
|
3487
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3488
|
+
# @type Db: String
|
3489
|
+
# @param Table: 集合
|
3490
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3491
|
+
# @type Table: String
|
3492
|
+
# @param SrcChunk: 源端ID
|
3493
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3494
|
+
# @type SrcChunk: String
|
3495
|
+
# @param DstChunk: 目标端ID
|
3496
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3497
|
+
# @type DstChunk: String
|
3498
|
+
# @param SrcItem: 源端值
|
3499
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3500
|
+
# @type SrcItem: String
|
3501
|
+
# @param DstItem: 目标端值
|
3502
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3503
|
+
# @type DstItem: String
|
3504
|
+
# @param UpdatedAt: 更新时间
|
3505
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3506
|
+
# @type UpdatedAt: String
|
3507
|
+
|
3508
|
+
attr_accessor :Db, :Table, :SrcChunk, :DstChunk, :SrcItem, :DstItem, :UpdatedAt
|
3509
|
+
|
3510
|
+
def initialize(db=nil, table=nil, srcchunk=nil, dstchunk=nil, srcitem=nil, dstitem=nil, updatedat=nil)
|
3511
|
+
@Db = db
|
3512
|
+
@Table = table
|
3513
|
+
@SrcChunk = srcchunk
|
3514
|
+
@DstChunk = dstchunk
|
3515
|
+
@SrcItem = srcitem
|
3516
|
+
@DstItem = dstitem
|
3517
|
+
@UpdatedAt = updatedat
|
3518
|
+
end
|
3519
|
+
|
3520
|
+
def deserialize(params)
|
3521
|
+
@Db = params['Db']
|
3522
|
+
@Table = params['Table']
|
3523
|
+
@SrcChunk = params['SrcChunk']
|
3524
|
+
@DstChunk = params['DstChunk']
|
3525
|
+
@SrcItem = params['SrcItem']
|
3526
|
+
@DstItem = params['DstItem']
|
3527
|
+
@UpdatedAt = params['UpdatedAt']
|
3528
|
+
end
|
3529
|
+
end
|
3530
|
+
|
3531
|
+
# mongodb数据不一致性详情
|
3532
|
+
class DifferenceDataDetail < TencentCloud::Common::AbstractModel
|
3533
|
+
# @param TotalCount: 总数
|
3534
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3535
|
+
# @type TotalCount: Integer
|
3536
|
+
# @param Items: mongo数据不一致详细列表
|
3537
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3538
|
+
# @type Items: Array
|
3539
|
+
|
3540
|
+
attr_accessor :TotalCount, :Items
|
3541
|
+
|
3542
|
+
def initialize(totalcount=nil, items=nil)
|
3543
|
+
@TotalCount = totalcount
|
3544
|
+
@Items = items
|
3545
|
+
end
|
3546
|
+
|
3547
|
+
def deserialize(params)
|
3548
|
+
@TotalCount = params['TotalCount']
|
3549
|
+
unless params['Items'].nil?
|
3550
|
+
@Items = []
|
3551
|
+
params['Items'].each do |i|
|
3552
|
+
differencedata_tmp = DifferenceData.new
|
3553
|
+
differencedata_tmp.deserialize(i)
|
3554
|
+
@Items << differencedata_tmp
|
3555
|
+
end
|
3556
|
+
end
|
3557
|
+
end
|
3558
|
+
end
|
3559
|
+
|
3394
3560
|
# 数据不一致的表详情
|
3395
3561
|
class DifferenceDetail < TencentCloud::Common::AbstractModel
|
3396
3562
|
# @param TotalCount: 数据不一致的表数量
|
@@ -3482,6 +3648,35 @@ module TencentCloud
|
|
3482
3648
|
end
|
3483
3649
|
end
|
3484
3650
|
|
3651
|
+
# mongodb行数校验不一致性详情结果
|
3652
|
+
class DifferenceRowDetail < TencentCloud::Common::AbstractModel
|
3653
|
+
# @param TotalCount: 不一致总数
|
3654
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3655
|
+
# @type TotalCount: Integer
|
3656
|
+
# @param Items: 不一致列表
|
3657
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3658
|
+
# @type Items: Array
|
3659
|
+
|
3660
|
+
attr_accessor :TotalCount, :Items
|
3661
|
+
|
3662
|
+
def initialize(totalcount=nil, items=nil)
|
3663
|
+
@TotalCount = totalcount
|
3664
|
+
@Items = items
|
3665
|
+
end
|
3666
|
+
|
3667
|
+
def deserialize(params)
|
3668
|
+
@TotalCount = params['TotalCount']
|
3669
|
+
unless params['Items'].nil?
|
3670
|
+
@Items = []
|
3671
|
+
params['Items'].each do |i|
|
3672
|
+
rowscountdifference_tmp = RowsCountDifference.new
|
3673
|
+
rowscountdifference_tmp.deserialize(i)
|
3674
|
+
@Items << rowscountdifference_tmp
|
3675
|
+
end
|
3676
|
+
end
|
3677
|
+
end
|
3678
|
+
end
|
3679
|
+
|
3485
3680
|
# 订阅任务的kafka分区规则。符合库名和表名正则表达式的数据将按照RuleType计算该条数据将被投递的kafka分区。如果配置了多个规则,将按照配置的顺序,第一条命中的规则生效。
|
3486
3681
|
class DistributeRule < TencentCloud::Common::AbstractModel
|
3487
3682
|
# @param RuleType: 规则类型。非mongo产品的枚举值为: table-按表名分区,pk-按表名+主键分区,cols-按列名分区。mongo的枚举值为:collection-按集合名分区、collectionAndObjectId-按集合+主键分区。
|
@@ -5842,6 +6037,38 @@ module TencentCloud
|
|
5842
6037
|
end
|
5843
6038
|
end
|
5844
6039
|
|
6040
|
+
# mongodb行校验不一致详细信息
|
6041
|
+
class RowsCountDifference < TencentCloud::Common::AbstractModel
|
6042
|
+
# @param Db: 数据库名
|
6043
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6044
|
+
# @type Db: String
|
6045
|
+
# @param Table: 集合
|
6046
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6047
|
+
# @type Table: String
|
6048
|
+
# @param SrcCount: 源端行数
|
6049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6050
|
+
# @type SrcCount: Integer
|
6051
|
+
# @param DstCount: 目标端行数
|
6052
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6053
|
+
# @type DstCount: Integer
|
6054
|
+
|
6055
|
+
attr_accessor :Db, :Table, :SrcCount, :DstCount
|
6056
|
+
|
6057
|
+
def initialize(db=nil, table=nil, srccount=nil, dstcount=nil)
|
6058
|
+
@Db = db
|
6059
|
+
@Table = table
|
6060
|
+
@SrcCount = srccount
|
6061
|
+
@DstCount = dstcount
|
6062
|
+
end
|
6063
|
+
|
6064
|
+
def deserialize(params)
|
6065
|
+
@Db = params['Db']
|
6066
|
+
@Table = params['Table']
|
6067
|
+
@SrcCount = params['SrcCount']
|
6068
|
+
@DstCount = params['DstCount']
|
6069
|
+
end
|
6070
|
+
end
|
6071
|
+
|
5845
6072
|
# SkipCheckItem请求参数结构体
|
5846
6073
|
class SkipCheckItemRequest < TencentCloud::Common::AbstractModel
|
5847
6074
|
# @param JobId: 数据迁移任务ID
|
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.
|
4
|
+
version: 3.0.768
|
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-02-
|
11
|
+
date: 2024-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|