tencentcloud-sdk-ckafka 3.0.387 → 3.0.388
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/v20190819/models.rb +79 -8
- 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: 1e3518beec3494bb6724a1a676504c62cea04ee6
|
4
|
+
data.tar.gz: 4da24c2f55b5d6fdabbdff4591d20e11c0657719
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce574eb4551f8f03538c2898bf9b4ebe2dd83bbbf01a7e42a5bc88d4a938f9001097730dd52bf4b3766717ec318c6fba3c83e9e7d51ee4599da7995f1ca83170
|
7
|
+
data.tar.gz: 4cc6e3c02448ba13b489beb34502953fb27beec22e2cd0b572d614718f871ff1588f8d3e5f2bff7844f62a5db9aef080ae4f01e98dc8f50ce7eaef60353ddcc0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.388
|
data/lib/v20190819/models.rb
CHANGED
@@ -6205,10 +6205,16 @@ module TencentCloud
|
|
6205
6205
|
# @param QpsLimit: Qps 限制
|
6206
6206
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6207
6207
|
# @type QpsLimit: Integer
|
6208
|
+
# @param TableMappings: Table到Topic的路由,「分发到多个topic」开关打开时必传
|
6209
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6210
|
+
# @type TableMappings: Array
|
6211
|
+
# @param UseTableMapping: 「分发到多个topic」开关,默认为false
|
6212
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6213
|
+
# @type UseTableMapping: Boolean
|
6208
6214
|
|
6209
|
-
attr_accessor :SelfBuilt, :Resource, :Topic, :OffsetType, :StartTime, :ResourceName, :ZoneId, :TopicId, :PartitionNum, :EnableToleration, :QpsLimit
|
6215
|
+
attr_accessor :SelfBuilt, :Resource, :Topic, :OffsetType, :StartTime, :ResourceName, :ZoneId, :TopicId, :PartitionNum, :EnableToleration, :QpsLimit, :TableMappings, :UseTableMapping
|
6210
6216
|
|
6211
|
-
def initialize(selfbuilt=nil, resource=nil, topic=nil, offsettype=nil, starttime=nil, resourcename=nil, zoneid=nil, topicid=nil, partitionnum=nil, enabletoleration=nil, qpslimit=nil)
|
6217
|
+
def initialize(selfbuilt=nil, resource=nil, topic=nil, offsettype=nil, starttime=nil, resourcename=nil, zoneid=nil, topicid=nil, partitionnum=nil, enabletoleration=nil, qpslimit=nil, tablemappings=nil, usetablemapping=nil)
|
6212
6218
|
@SelfBuilt = selfbuilt
|
6213
6219
|
@Resource = resource
|
6214
6220
|
@Topic = topic
|
@@ -6220,6 +6226,8 @@ module TencentCloud
|
|
6220
6226
|
@PartitionNum = partitionnum
|
6221
6227
|
@EnableToleration = enabletoleration
|
6222
6228
|
@QpsLimit = qpslimit
|
6229
|
+
@TableMappings = tablemappings
|
6230
|
+
@UseTableMapping = usetablemapping
|
6223
6231
|
end
|
6224
6232
|
|
6225
6233
|
def deserialize(params)
|
@@ -6234,6 +6242,15 @@ module TencentCloud
|
|
6234
6242
|
@PartitionNum = params['PartitionNum']
|
6235
6243
|
@EnableToleration = params['EnableToleration']
|
6236
6244
|
@QpsLimit = params['QpsLimit']
|
6245
|
+
unless params['TableMappings'].nil?
|
6246
|
+
@TableMappings = []
|
6247
|
+
params['TableMappings'].each do |i|
|
6248
|
+
tablemapping_tmp = TableMapping.new
|
6249
|
+
tablemapping_tmp.deserialize(i)
|
6250
|
+
@TableMappings << tablemapping_tmp
|
6251
|
+
end
|
6252
|
+
end
|
6253
|
+
@UseTableMapping = params['UseTableMapping']
|
6237
6254
|
end
|
6238
6255
|
end
|
6239
6256
|
|
@@ -7107,10 +7124,13 @@ module TencentCloud
|
|
7107
7124
|
# @param ClusterId: 当type为TDSQL_C_MYSQL时,必填
|
7108
7125
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7109
7126
|
# @type ClusterId: String
|
7127
|
+
# @param SelfBuilt: Mysql 连接源是否为自建集群
|
7128
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7129
|
+
# @type SelfBuilt: Boolean
|
7110
7130
|
|
7111
|
-
attr_accessor :Port, :UserName, :Password, :Resource, :ServiceVip, :UniqVpcId, :IsUpdate, :ClusterId
|
7131
|
+
attr_accessor :Port, :UserName, :Password, :Resource, :ServiceVip, :UniqVpcId, :IsUpdate, :ClusterId, :SelfBuilt
|
7112
7132
|
|
7113
|
-
def initialize(port=nil, username=nil, password=nil, resource=nil, servicevip=nil, uniqvpcid=nil, isupdate=nil, clusterid=nil)
|
7133
|
+
def initialize(port=nil, username=nil, password=nil, resource=nil, servicevip=nil, uniqvpcid=nil, isupdate=nil, clusterid=nil, selfbuilt=nil)
|
7114
7134
|
@Port = port
|
7115
7135
|
@UserName = username
|
7116
7136
|
@Password = password
|
@@ -7119,6 +7139,7 @@ module TencentCloud
|
|
7119
7139
|
@UniqVpcId = uniqvpcid
|
7120
7140
|
@IsUpdate = isupdate
|
7121
7141
|
@ClusterId = clusterid
|
7142
|
+
@SelfBuilt = selfbuilt
|
7122
7143
|
end
|
7123
7144
|
|
7124
7145
|
def deserialize(params)
|
@@ -7130,6 +7151,7 @@ module TencentCloud
|
|
7130
7151
|
@UniqVpcId = params['UniqVpcId']
|
7131
7152
|
@IsUpdate = params['IsUpdate']
|
7132
7153
|
@ClusterId = params['ClusterId']
|
7154
|
+
@SelfBuilt = params['SelfBuilt']
|
7133
7155
|
end
|
7134
7156
|
end
|
7135
7157
|
|
@@ -7223,10 +7245,18 @@ module TencentCloud
|
|
7223
7245
|
# @type DropInvalidMessage: Boolean
|
7224
7246
|
# @param DropCls: 当设置成员参数DropInvalidMessageToCls设置为true时,DropInvalidMessage参数失效
|
7225
7247
|
# @type DropCls: :class:`Tencentcloud::Ckafka.v20190819.models.DropCls`
|
7248
|
+
# @param OutputFormat: 输出格式,DEFAULT、CANAL_1、CANAL_2
|
7249
|
+
# @type OutputFormat: String
|
7250
|
+
# @param IsTablePrefix: 当Table输入的是前缀时,该项值为true,否则为false
|
7251
|
+
# @type IsTablePrefix: Boolean
|
7252
|
+
# @param IncludeContentChanges: 如果该值为all,则DDL数据以及DML数据也会写入到选中的topic;若该值为dml,则只有DML数据写入到选中的topic
|
7253
|
+
# @type IncludeContentChanges: String
|
7254
|
+
# @param IncludeQuery: 如果该值为true,且MySQL中"binlog_rows_query_log_events"配置项的值为"ON",则流入到topic的数据包含原SQL语句;若该值为false,流入到topic的数据不包含原SQL语句
|
7255
|
+
# @type IncludeQuery: Boolean
|
7226
7256
|
|
7227
|
-
attr_accessor :Database, :Table, :Resource, :SnapshotMode, :DdlTopic, :DataSourceMonitorMode, :DataSourceMonitorResource, :DataSourceIncrementMode, :DataSourceIncrementColumn, :DataSourceStartFrom, :DataTargetInsertMode, :DataTargetPrimaryKeyField, :DataTargetRecordMapping, :TopicRegex, :TopicReplacement, :KeyColumns, :DropInvalidMessage, :DropCls
|
7257
|
+
attr_accessor :Database, :Table, :Resource, :SnapshotMode, :DdlTopic, :DataSourceMonitorMode, :DataSourceMonitorResource, :DataSourceIncrementMode, :DataSourceIncrementColumn, :DataSourceStartFrom, :DataTargetInsertMode, :DataTargetPrimaryKeyField, :DataTargetRecordMapping, :TopicRegex, :TopicReplacement, :KeyColumns, :DropInvalidMessage, :DropCls, :OutputFormat, :IsTablePrefix, :IncludeContentChanges, :IncludeQuery
|
7228
7258
|
|
7229
|
-
def initialize(database=nil, table=nil, resource=nil, snapshotmode=nil, ddltopic=nil, datasourcemonitormode=nil, datasourcemonitorresource=nil, datasourceincrementmode=nil, datasourceincrementcolumn=nil, datasourcestartfrom=nil, datatargetinsertmode=nil, datatargetprimarykeyfield=nil, datatargetrecordmapping=nil, topicregex=nil, topicreplacement=nil, keycolumns=nil, dropinvalidmessage=nil, dropcls=nil)
|
7259
|
+
def initialize(database=nil, table=nil, resource=nil, snapshotmode=nil, ddltopic=nil, datasourcemonitormode=nil, datasourcemonitorresource=nil, datasourceincrementmode=nil, datasourceincrementcolumn=nil, datasourcestartfrom=nil, datatargetinsertmode=nil, datatargetprimarykeyfield=nil, datatargetrecordmapping=nil, topicregex=nil, topicreplacement=nil, keycolumns=nil, dropinvalidmessage=nil, dropcls=nil, outputformat=nil, istableprefix=nil, includecontentchanges=nil, includequery=nil)
|
7230
7260
|
@Database = database
|
7231
7261
|
@Table = table
|
7232
7262
|
@Resource = resource
|
@@ -7245,6 +7275,10 @@ module TencentCloud
|
|
7245
7275
|
@KeyColumns = keycolumns
|
7246
7276
|
@DropInvalidMessage = dropinvalidmessage
|
7247
7277
|
@DropCls = dropcls
|
7278
|
+
@OutputFormat = outputformat
|
7279
|
+
@IsTablePrefix = istableprefix
|
7280
|
+
@IncludeContentChanges = includecontentchanges
|
7281
|
+
@IncludeQuery = includequery
|
7248
7282
|
end
|
7249
7283
|
|
7250
7284
|
def deserialize(params)
|
@@ -7276,6 +7310,10 @@ module TencentCloud
|
|
7276
7310
|
@DropCls = DropCls.new
|
7277
7311
|
@DropCls.deserialize(params['DropCls'])
|
7278
7312
|
end
|
7313
|
+
@OutputFormat = params['OutputFormat']
|
7314
|
+
@IsTablePrefix = params['IsTablePrefix']
|
7315
|
+
@IncludeContentChanges = params['IncludeContentChanges']
|
7316
|
+
@IncludeQuery = params['IncludeQuery']
|
7279
7317
|
end
|
7280
7318
|
end
|
7281
7319
|
|
@@ -7380,10 +7418,13 @@ module TencentCloud
|
|
7380
7418
|
# @param IsUpdate: 是否更新到关联的Datahub任务
|
7381
7419
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7382
7420
|
# @type IsUpdate: Boolean
|
7421
|
+
# @param SelfBuilt: PostgreSQL连接源是否为自建集群
|
7422
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7423
|
+
# @type SelfBuilt: Boolean
|
7383
7424
|
|
7384
|
-
attr_accessor :Port, :UserName, :Password, :Resource, :ServiceVip, :UniqVpcId, :ClusterId, :IsUpdate
|
7425
|
+
attr_accessor :Port, :UserName, :Password, :Resource, :ServiceVip, :UniqVpcId, :ClusterId, :IsUpdate, :SelfBuilt
|
7385
7426
|
|
7386
|
-
def initialize(port=nil, username=nil, password=nil, resource=nil, servicevip=nil, uniqvpcid=nil, clusterid=nil, isupdate=nil)
|
7427
|
+
def initialize(port=nil, username=nil, password=nil, resource=nil, servicevip=nil, uniqvpcid=nil, clusterid=nil, isupdate=nil, selfbuilt=nil)
|
7387
7428
|
@Port = port
|
7388
7429
|
@UserName = username
|
7389
7430
|
@Password = password
|
@@ -7392,6 +7433,7 @@ module TencentCloud
|
|
7392
7433
|
@UniqVpcId = uniqvpcid
|
7393
7434
|
@ClusterId = clusterid
|
7394
7435
|
@IsUpdate = isupdate
|
7436
|
+
@SelfBuilt = selfbuilt
|
7395
7437
|
end
|
7396
7438
|
|
7397
7439
|
def deserialize(params)
|
@@ -7403,6 +7445,7 @@ module TencentCloud
|
|
7403
7445
|
@UniqVpcId = params['UniqVpcId']
|
7404
7446
|
@ClusterId = params['ClusterId']
|
7405
7447
|
@IsUpdate = params['IsUpdate']
|
7448
|
+
@SelfBuilt = params['SelfBuilt']
|
7406
7449
|
end
|
7407
7450
|
end
|
7408
7451
|
|
@@ -8074,6 +8117,34 @@ module TencentCloud
|
|
8074
8117
|
end
|
8075
8118
|
end
|
8076
8119
|
|
8120
|
+
# Table、Topic路由
|
8121
|
+
class TableMapping < TencentCloud::Common::AbstractModel
|
8122
|
+
# @param Database: 库名
|
8123
|
+
# @type Database: String
|
8124
|
+
# @param Table: 表名,多个表,(逗号)隔开
|
8125
|
+
# @type Table: String
|
8126
|
+
# @param Topic: Topic名称
|
8127
|
+
# @type Topic: String
|
8128
|
+
# @param TopicId: Topic ID
|
8129
|
+
# @type TopicId: String
|
8130
|
+
|
8131
|
+
attr_accessor :Database, :Table, :Topic, :TopicId
|
8132
|
+
|
8133
|
+
def initialize(database=nil, table=nil, topic=nil, topicid=nil)
|
8134
|
+
@Database = database
|
8135
|
+
@Table = table
|
8136
|
+
@Topic = topic
|
8137
|
+
@TopicId = topicid
|
8138
|
+
end
|
8139
|
+
|
8140
|
+
def deserialize(params)
|
8141
|
+
@Database = params['Database']
|
8142
|
+
@Table = params['Table']
|
8143
|
+
@Topic = params['Topic']
|
8144
|
+
@TopicId = params['TopicId']
|
8145
|
+
end
|
8146
|
+
end
|
8147
|
+
|
8077
8148
|
# 实例详情中的标签对象
|
8078
8149
|
class Tag < TencentCloud::Common::AbstractModel
|
8079
8150
|
# @param TagKey: 标签的key
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ckafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.388
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|