tencentcloud-sdk-ckafka 3.0.411 → 3.0.412

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190819/models.rb +290 -20
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eae4f33cd078f98dd41e578909b3d55baa854a0e
4
- data.tar.gz: ff335517055039ecade7f937a43d0a75734e97b0
3
+ metadata.gz: 4707e21db249b05974595be55d4a0818cb2160e6
4
+ data.tar.gz: 45f008f1751b151f62b3e1aef09236321858e3d4
5
5
  SHA512:
6
- metadata.gz: eb79c7ab4809cfb63ea0880547a7a2cb02bc09004b939642367e6410ef205a8e898a9024e273df53a2fd26c2222c1b810b52c743c9197c886fd2dd7896019176
7
- data.tar.gz: 7cc66c56aa0165dd6ffb5c1722d0864e97adb65d07bd54ceb60a2e1f8c80bff88f7f5cb05c95592c51a1013600d68bafb6126184dbbb05d367a9741d7a1aa72c
6
+ metadata.gz: d51176a395d3e10ed3f82e160fa2474ac54d4ae8418932572523e48fc908ad61587ad335fd475a34348ff7f75c0cdaf0ead0cfd877c6cd3ab099d249adc93326
7
+ data.tar.gz: 8787929ab3460693be332f5db002d4e909fbb00394ca9af42968c1150a49fedd905290b161696b464e2b0be22ae66a2a38163d0c88729bce70aa861cd304049a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.411
1
+ 3.0.412
@@ -2245,6 +2245,110 @@ module TencentCloud
2245
2245
  end
2246
2246
  end
2247
2247
 
2248
+ # Ctsdb连接源参数
2249
+ class CtsdbConnectParam < TencentCloud::Common::AbstractModel
2250
+ # @param Port: Ctsdb的连接port
2251
+ # 注意:此字段可能返回 null,表示取不到有效值。
2252
+ # @type Port: Integer
2253
+ # @param ServiceVip: Ctsdb连接源的实例vip
2254
+ # 注意:此字段可能返回 null,表示取不到有效值。
2255
+ # @type ServiceVip: String
2256
+ # @param UniqVpcId: Ctsdb连接源的vpcId
2257
+ # 注意:此字段可能返回 null,表示取不到有效值。
2258
+ # @type UniqVpcId: String
2259
+ # @param UserName: Ctsdb连接源的用户名
2260
+ # 注意:此字段可能返回 null,表示取不到有效值。
2261
+ # @type UserName: String
2262
+ # @param Password: Ctsdb连接源的密码
2263
+ # 注意:此字段可能返回 null,表示取不到有效值。
2264
+ # @type Password: String
2265
+ # @param Resource: Ctsdb连接源的实例资源
2266
+ # 注意:此字段可能返回 null,表示取不到有效值。
2267
+ # @type Resource: String
2268
+
2269
+ attr_accessor :Port, :ServiceVip, :UniqVpcId, :UserName, :Password, :Resource
2270
+
2271
+ def initialize(port=nil, servicevip=nil, uniqvpcid=nil, username=nil, password=nil, resource=nil)
2272
+ @Port = port
2273
+ @ServiceVip = servicevip
2274
+ @UniqVpcId = uniqvpcid
2275
+ @UserName = username
2276
+ @Password = password
2277
+ @Resource = resource
2278
+ end
2279
+
2280
+ def deserialize(params)
2281
+ @Port = params['Port']
2282
+ @ServiceVip = params['ServiceVip']
2283
+ @UniqVpcId = params['UniqVpcId']
2284
+ @UserName = params['UserName']
2285
+ @Password = params['Password']
2286
+ @Resource = params['Resource']
2287
+ end
2288
+ end
2289
+
2290
+ # Ctsdb连接源参数(更新)
2291
+ class CtsdbModifyConnectParam < TencentCloud::Common::AbstractModel
2292
+ # @param Port: Ctsdb的连接port
2293
+ # 注意:此字段可能返回 null,表示取不到有效值。
2294
+ # @type Port: Integer
2295
+ # @param ServiceVip: Ctsdb连接源的实例vip
2296
+ # 注意:此字段可能返回 null,表示取不到有效值。
2297
+ # @type ServiceVip: String
2298
+ # @param UniqVpcId: Ctsdb连接源的vpcId
2299
+ # 注意:此字段可能返回 null,表示取不到有效值。
2300
+ # @type UniqVpcId: String
2301
+ # @param UserName: Ctsdb连接源的用户名
2302
+ # 注意:此字段可能返回 null,表示取不到有效值。
2303
+ # @type UserName: String
2304
+ # @param Password: Ctsdb连接源的密码
2305
+ # 注意:此字段可能返回 null,表示取不到有效值。
2306
+ # @type Password: String
2307
+ # @param Resource: Ctsdb连接源的实例资源
2308
+ # 注意:此字段可能返回 null,表示取不到有效值。
2309
+ # @type Resource: String
2310
+
2311
+ attr_accessor :Port, :ServiceVip, :UniqVpcId, :UserName, :Password, :Resource
2312
+
2313
+ def initialize(port=nil, servicevip=nil, uniqvpcid=nil, username=nil, password=nil, resource=nil)
2314
+ @Port = port
2315
+ @ServiceVip = servicevip
2316
+ @UniqVpcId = uniqvpcid
2317
+ @UserName = username
2318
+ @Password = password
2319
+ @Resource = resource
2320
+ end
2321
+
2322
+ def deserialize(params)
2323
+ @Port = params['Port']
2324
+ @ServiceVip = params['ServiceVip']
2325
+ @UniqVpcId = params['UniqVpcId']
2326
+ @UserName = params['UserName']
2327
+ @Password = params['Password']
2328
+ @Resource = params['Resource']
2329
+ end
2330
+ end
2331
+
2332
+ # Ctsdb类型入参
2333
+ class CtsdbParam < TencentCloud::Common::AbstractModel
2334
+ # @param Resource: 连接管理实例资源
2335
+ # @type Resource: String
2336
+ # @param CtsdbMetric: Ctsdb的metric
2337
+ # @type CtsdbMetric: String
2338
+
2339
+ attr_accessor :Resource, :CtsdbMetric
2340
+
2341
+ def initialize(resource=nil, ctsdbmetric=nil)
2342
+ @Resource = resource
2343
+ @CtsdbMetric = ctsdbmetric
2344
+ end
2345
+
2346
+ def deserialize(params)
2347
+ @Resource = params['Resource']
2348
+ @CtsdbMetric = params['CtsdbMetric']
2349
+ end
2350
+ end
2351
+
2248
2352
  # Datahub资源配置
2249
2353
  class DatahubResource < TencentCloud::Common::AbstractModel
2250
2354
  # @param Type: 资源类型
@@ -2291,10 +2395,13 @@ module TencentCloud
2291
2395
  # @param SQLServerParam: SQLServer配置,Type为SQLSERVER时必填
2292
2396
  # 注意:此字段可能返回 null,表示取不到有效值。
2293
2397
  # @type SQLServerParam: :class:`Tencentcloud::Ckafka.v20190819.models.SQLServerParam`
2398
+ # @param CtsdbParam: Ctsdb配置,Type为CTSDB时必填
2399
+ # 注意:此字段可能返回 null,表示取不到有效值。
2400
+ # @type CtsdbParam: :class:`Tencentcloud::Ckafka.v20190819.models.CtsdbParam`
2294
2401
 
2295
- attr_accessor :Type, :KafkaParam, :EventBusParam, :MongoDBParam, :EsParam, :TdwParam, :DtsParam, :ClickHouseParam, :ClsParam, :CosParam, :MySQLParam, :PostgreSQLParam, :TopicParam, :MariaDBParam, :SQLServerParam
2402
+ attr_accessor :Type, :KafkaParam, :EventBusParam, :MongoDBParam, :EsParam, :TdwParam, :DtsParam, :ClickHouseParam, :ClsParam, :CosParam, :MySQLParam, :PostgreSQLParam, :TopicParam, :MariaDBParam, :SQLServerParam, :CtsdbParam
2296
2403
 
2297
- def initialize(type=nil, kafkaparam=nil, eventbusparam=nil, mongodbparam=nil, esparam=nil, tdwparam=nil, dtsparam=nil, clickhouseparam=nil, clsparam=nil, cosparam=nil, mysqlparam=nil, postgresqlparam=nil, topicparam=nil, mariadbparam=nil, sqlserverparam=nil)
2404
+ def initialize(type=nil, kafkaparam=nil, eventbusparam=nil, mongodbparam=nil, esparam=nil, tdwparam=nil, dtsparam=nil, clickhouseparam=nil, clsparam=nil, cosparam=nil, mysqlparam=nil, postgresqlparam=nil, topicparam=nil, mariadbparam=nil, sqlserverparam=nil, ctsdbparam=nil)
2298
2405
  @Type = type
2299
2406
  @KafkaParam = kafkaparam
2300
2407
  @EventBusParam = eventbusparam
@@ -2310,6 +2417,7 @@ module TencentCloud
2310
2417
  @TopicParam = topicparam
2311
2418
  @MariaDBParam = mariadbparam
2312
2419
  @SQLServerParam = sqlserverparam
2420
+ @CtsdbParam = ctsdbparam
2313
2421
  end
2314
2422
 
2315
2423
  def deserialize(params)
@@ -2370,6 +2478,10 @@ module TencentCloud
2370
2478
  @SQLServerParam = SQLServerParam.new
2371
2479
  @SQLServerParam.deserialize(params['SQLServerParam'])
2372
2480
  end
2481
+ unless params['CtsdbParam'].nil?
2482
+ @CtsdbParam = CtsdbParam.new
2483
+ @CtsdbParam.deserialize(params['CtsdbParam'])
2484
+ end
2373
2485
  end
2374
2486
  end
2375
2487
 
@@ -3191,16 +3303,25 @@ module TencentCloud
3191
3303
  # @param ClickHouseConnectParam: ClickHouse配置,Type为CLICKHOUSE时返回
3192
3304
  # 注意:此字段可能返回 null,表示取不到有效值。
3193
3305
  # @type ClickHouseConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.ClickHouseConnectParam`
3194
- # @param MySQLConnectParam: MySQL配置,Type为MYSQL时必填
3306
+ # @param MySQLConnectParam: MySQL配置,Type为MYSQL或TDSQL_C_MYSQL时返回
3195
3307
  # 注意:此字段可能返回 null,表示取不到有效值。
3196
3308
  # @type MySQLConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MySQLConnectParam`
3197
- # @param PostgreSQLConnectParam: PostgreSQL配置,Type为POSTGRESQL或TDSQL_C_POSTGRESQL时必填
3309
+ # @param PostgreSQLConnectParam: PostgreSQL配置,Type为POSTGRESQL或TDSQL_C_POSTGRESQL时返回
3198
3310
  # 注意:此字段可能返回 null,表示取不到有效值。
3199
3311
  # @type PostgreSQLConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.PostgreSQLConnectParam`
3312
+ # @param MariaDBConnectParam: MariaDB配置,Type为MARIADB时返回
3313
+ # 注意:此字段可能返回 null,表示取不到有效值。
3314
+ # @type MariaDBConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MariaDBConnectParam`
3315
+ # @param SQLServerConnectParam: SQLServer配置,Type为SQLSERVER时返回
3316
+ # 注意:此字段可能返回 null,表示取不到有效值。
3317
+ # @type SQLServerConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.SQLServerConnectParam`
3318
+ # @param CtsdbConnectParam: Ctsdb配置,Type为CTSDB时返回
3319
+ # 注意:此字段可能返回 null,表示取不到有效值。
3320
+ # @type CtsdbConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.CtsdbConnectParam`
3200
3321
 
3201
- attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :DatahubTaskCount, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam
3322
+ attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :DatahubTaskCount, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam
3202
3323
 
3203
- def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, datahubtaskcount=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil)
3324
+ def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, datahubtaskcount=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil)
3204
3325
  @ResourceId = resourceid
3205
3326
  @ResourceName = resourcename
3206
3327
  @Description = description
@@ -3216,6 +3337,9 @@ module TencentCloud
3216
3337
  @ClickHouseConnectParam = clickhouseconnectparam
3217
3338
  @MySQLConnectParam = mysqlconnectparam
3218
3339
  @PostgreSQLConnectParam = postgresqlconnectparam
3340
+ @MariaDBConnectParam = mariadbconnectparam
3341
+ @SQLServerConnectParam = sqlserverconnectparam
3342
+ @CtsdbConnectParam = ctsdbconnectparam
3219
3343
  end
3220
3344
 
3221
3345
  def deserialize(params)
@@ -3252,6 +3376,18 @@ module TencentCloud
3252
3376
  @PostgreSQLConnectParam = PostgreSQLConnectParam.new
3253
3377
  @PostgreSQLConnectParam.deserialize(params['PostgreSQLConnectParam'])
3254
3378
  end
3379
+ unless params['MariaDBConnectParam'].nil?
3380
+ @MariaDBConnectParam = MariaDBConnectParam.new
3381
+ @MariaDBConnectParam.deserialize(params['MariaDBConnectParam'])
3382
+ end
3383
+ unless params['SQLServerConnectParam'].nil?
3384
+ @SQLServerConnectParam = SQLServerConnectParam.new
3385
+ @SQLServerConnectParam.deserialize(params['SQLServerConnectParam'])
3386
+ end
3387
+ unless params['CtsdbConnectParam'].nil?
3388
+ @CtsdbConnectParam = CtsdbConnectParam.new
3389
+ @CtsdbConnectParam.deserialize(params['CtsdbConnectParam'])
3390
+ end
3255
3391
  end
3256
3392
  end
3257
3393
 
@@ -3300,7 +3436,7 @@ module TencentCloud
3300
3436
  # @param StepList: 步骤列表
3301
3437
  # 注意:此字段可能返回 null,表示取不到有效值。
3302
3438
  # @type StepList: Array
3303
- # @param MySQLConnectParam: MySQL配置,Type为MYSQL时返回
3439
+ # @param MySQLConnectParam: MySQL配置,Type为MYSQL或TDSQL_C_MYSQL时返回
3304
3440
  # 注意:此字段可能返回 null,表示取不到有效值。
3305
3441
  # @type MySQLConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MySQLConnectParam`
3306
3442
  # @param PostgreSQLConnectParam: PostgreSQL配置,Type为POSTGRESQL或TDSQL_C_POSTGRESQL时返回
@@ -3318,10 +3454,19 @@ module TencentCloud
3318
3454
  # @param ClickHouseConnectParam: ClickHouse配置,Type为CLICKHOUSE时返回
3319
3455
  # 注意:此字段可能返回 null,表示取不到有效值。
3320
3456
  # @type ClickHouseConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.ClickHouseConnectParam`
3457
+ # @param MariaDBConnectParam: MariaDB配置,Type为MARIADB时返回
3458
+ # 注意:此字段可能返回 null,表示取不到有效值。
3459
+ # @type MariaDBConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MariaDBConnectParam`
3460
+ # @param SQLServerConnectParam: SQLServer配置,Type为SQLSERVER时返回
3461
+ # 注意:此字段可能返回 null,表示取不到有效值。
3462
+ # @type SQLServerConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.SQLServerConnectParam`
3463
+ # @param CtsdbConnectParam: Ctsdb配置,Type为CTSDB时返回
3464
+ # 注意:此字段可能返回 null,表示取不到有效值。
3465
+ # @type CtsdbConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.CtsdbConnectParam`
3321
3466
 
3322
- attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :StepList, :MySQLConnectParam, :PostgreSQLConnectParam, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam
3467
+ attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :StepList, :MySQLConnectParam, :PostgreSQLConnectParam, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam
3323
3468
 
3324
- def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, steplist=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil)
3469
+ def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, steplist=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil)
3325
3470
  @ResourceId = resourceid
3326
3471
  @ResourceName = resourcename
3327
3472
  @Description = description
@@ -3337,6 +3482,9 @@ module TencentCloud
3337
3482
  @MongoDBConnectParam = mongodbconnectparam
3338
3483
  @EsConnectParam = esconnectparam
3339
3484
  @ClickHouseConnectParam = clickhouseconnectparam
3485
+ @MariaDBConnectParam = mariadbconnectparam
3486
+ @SQLServerConnectParam = sqlserverconnectparam
3487
+ @CtsdbConnectParam = ctsdbconnectparam
3340
3488
  end
3341
3489
 
3342
3490
  def deserialize(params)
@@ -3373,6 +3521,18 @@ module TencentCloud
3373
3521
  @ClickHouseConnectParam = ClickHouseConnectParam.new
3374
3522
  @ClickHouseConnectParam.deserialize(params['ClickHouseConnectParam'])
3375
3523
  end
3524
+ unless params['MariaDBConnectParam'].nil?
3525
+ @MariaDBConnectParam = MariaDBConnectParam.new
3526
+ @MariaDBConnectParam.deserialize(params['MariaDBConnectParam'])
3527
+ end
3528
+ unless params['SQLServerConnectParam'].nil?
3529
+ @SQLServerConnectParam = SQLServerConnectParam.new
3530
+ @SQLServerConnectParam.deserialize(params['SQLServerConnectParam'])
3531
+ end
3532
+ unless params['CtsdbConnectParam'].nil?
3533
+ @CtsdbConnectParam = CtsdbConnectParam.new
3534
+ @CtsdbConnectParam.deserialize(params['CtsdbConnectParam'])
3535
+ end
3376
3536
  end
3377
3537
  end
3378
3538
 
@@ -6178,6 +6338,31 @@ module TencentCloud
6178
6338
  end
6179
6339
  end
6180
6340
 
6341
+ # key-value二次解析
6342
+ class KVParam < TencentCloud::Common::AbstractModel
6343
+ # @param Delimiter: 分隔符
6344
+ # @type Delimiter: String
6345
+ # @param Regex: key-value二次解析分隔符
6346
+ # @type Regex: String
6347
+ # @param KeepOriginalKey: 保留源Key,默认为false不保留
6348
+ # 注意:此字段可能返回 null,表示取不到有效值。
6349
+ # @type KeepOriginalKey: String
6350
+
6351
+ attr_accessor :Delimiter, :Regex, :KeepOriginalKey
6352
+
6353
+ def initialize(delimiter=nil, regex=nil, keeporiginalkey=nil)
6354
+ @Delimiter = delimiter
6355
+ @Regex = regex
6356
+ @KeepOriginalKey = keeporiginalkey
6357
+ end
6358
+
6359
+ def deserialize(params)
6360
+ @Delimiter = params['Delimiter']
6361
+ @Regex = params['Regex']
6362
+ @KeepOriginalKey = params['KeepOriginalKey']
6363
+ end
6364
+ end
6365
+
6181
6366
  # Ckafka配置
6182
6367
  class KafkaParam < TencentCloud::Common::AbstractModel
6183
6368
  # @param SelfBuilt: 是否为自建集群
@@ -6387,14 +6572,32 @@ module TencentCloud
6387
6572
  # @type Resource: String
6388
6573
  # @param SnapshotMode: 复制存量信息(schema_only不复制, initial全量),默认位initial
6389
6574
  # @type SnapshotMode: String
6575
+ # @param KeyColumns: 格式:库1.表1:字段1,字段2;库2.表2:字段2,表之间;(分号)隔开,字段之间,(逗号)隔开。不指定的表默认取表的主键
6576
+ # @type KeyColumns: String
6577
+ # @param IsTablePrefix: 当Table输入的是前缀时,该项值为true,否则为false
6578
+ # @type IsTablePrefix: Boolean
6579
+ # @param OutputFormat: 输出格式,DEFAULT、CANAL_1、CANAL_2
6580
+ # @type OutputFormat: String
6581
+ # @param IncludeContentChanges: 如果该值为all,则DDL数据以及DML数据也会写入到选中的topic;若该值为dml,则只有DML数据写入到选中的topic
6582
+ # @type IncludeContentChanges: String
6583
+ # @param IncludeQuery: 如果该值为true,且MySQL中"binlog_rows_query_log_events"配置项的值为"ON",则流入到topic的数据包含原SQL语句;若该值为false,流入到topic的数据不包含原SQL语句
6584
+ # @type IncludeQuery: Boolean
6585
+ # @param RecordWithSchema: 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
6586
+ # @type RecordWithSchema: Boolean
6390
6587
 
6391
- attr_accessor :Database, :Table, :Resource, :SnapshotMode
6588
+ attr_accessor :Database, :Table, :Resource, :SnapshotMode, :KeyColumns, :IsTablePrefix, :OutputFormat, :IncludeContentChanges, :IncludeQuery, :RecordWithSchema
6392
6589
 
6393
- def initialize(database=nil, table=nil, resource=nil, snapshotmode=nil)
6590
+ def initialize(database=nil, table=nil, resource=nil, snapshotmode=nil, keycolumns=nil, istableprefix=nil, outputformat=nil, includecontentchanges=nil, includequery=nil, recordwithschema=nil)
6394
6591
  @Database = database
6395
6592
  @Table = table
6396
6593
  @Resource = resource
6397
6594
  @SnapshotMode = snapshotmode
6595
+ @KeyColumns = keycolumns
6596
+ @IsTablePrefix = istableprefix
6597
+ @OutputFormat = outputformat
6598
+ @IncludeContentChanges = includecontentchanges
6599
+ @IncludeQuery = includequery
6600
+ @RecordWithSchema = recordwithschema
6398
6601
  end
6399
6602
 
6400
6603
  def deserialize(params)
@@ -6402,6 +6605,12 @@ module TencentCloud
6402
6605
  @Table = params['Table']
6403
6606
  @Resource = params['Resource']
6404
6607
  @SnapshotMode = params['SnapshotMode']
6608
+ @KeyColumns = params['KeyColumns']
6609
+ @IsTablePrefix = params['IsTablePrefix']
6610
+ @OutputFormat = params['OutputFormat']
6611
+ @IncludeContentChanges = params['IncludeContentChanges']
6612
+ @IncludeQuery = params['IncludeQuery']
6613
+ @RecordWithSchema = params['RecordWithSchema']
6405
6614
  end
6406
6615
  end
6407
6616
 
@@ -6431,10 +6640,12 @@ module TencentCloud
6431
6640
  # @type MariaDBConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MariaDBModifyConnectParam`
6432
6641
  # @param SQLServerConnectParam: SQLServer配置,Type为SQLSERVER时必填
6433
6642
  # @type SQLServerConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.SQLServerModifyConnectParam`
6643
+ # @param CtsdbConnectParam: Ctsdb配置,Type为CTSDB
6644
+ # @type CtsdbConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.CtsdbModifyConnectParam`
6434
6645
 
6435
- attr_accessor :ResourceId, :ResourceName, :Description, :Type, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam
6646
+ attr_accessor :ResourceId, :ResourceName, :Description, :Type, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam
6436
6647
 
6437
- def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil)
6648
+ def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil)
6438
6649
  @ResourceId = resourceid
6439
6650
  @ResourceName = resourcename
6440
6651
  @Description = description
@@ -6447,6 +6658,7 @@ module TencentCloud
6447
6658
  @PostgreSQLConnectParam = postgresqlconnectparam
6448
6659
  @MariaDBConnectParam = mariadbconnectparam
6449
6660
  @SQLServerConnectParam = sqlserverconnectparam
6661
+ @CtsdbConnectParam = ctsdbconnectparam
6450
6662
  end
6451
6663
 
6452
6664
  def deserialize(params)
@@ -6486,6 +6698,10 @@ module TencentCloud
6486
6698
  @SQLServerConnectParam = SQLServerModifyConnectParam.new
6487
6699
  @SQLServerConnectParam.deserialize(params['SQLServerConnectParam'])
6488
6700
  end
6701
+ unless params['CtsdbConnectParam'].nil?
6702
+ @CtsdbConnectParam = CtsdbModifyConnectParam.new
6703
+ @CtsdbConnectParam.deserialize(params['CtsdbConnectParam'])
6704
+ end
6489
6705
  end
6490
6706
  end
6491
6707
 
@@ -7546,10 +7762,16 @@ module TencentCloud
7546
7762
  # @type DataTargetRecordMapping: Array
7547
7763
  # @param DropInvalidMessage: 是否抛弃解析失败的消息,默认为true
7548
7764
  # @type DropInvalidMessage: Boolean
7765
+ # @param IsTableRegular: 输入的table是否为正则表达式
7766
+ # @type IsTableRegular: Boolean
7767
+ # @param KeyColumns: 格式:库1.表1:字段1,字段2;库2.表2:字段2,表之间;(分号)隔开,字段之间,(逗号)隔开。不指定的表默认取表的主键
7768
+ # @type KeyColumns: String
7769
+ # @param RecordWithSchema: 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
7770
+ # @type RecordWithSchema: Boolean
7549
7771
 
7550
- attr_accessor :Database, :Table, :Resource, :PluginName, :SnapshotMode, :DataFormat, :DataTargetInsertMode, :DataTargetPrimaryKeyField, :DataTargetRecordMapping, :DropInvalidMessage
7772
+ attr_accessor :Database, :Table, :Resource, :PluginName, :SnapshotMode, :DataFormat, :DataTargetInsertMode, :DataTargetPrimaryKeyField, :DataTargetRecordMapping, :DropInvalidMessage, :IsTableRegular, :KeyColumns, :RecordWithSchema
7551
7773
 
7552
- def initialize(database=nil, table=nil, resource=nil, pluginname=nil, snapshotmode=nil, dataformat=nil, datatargetinsertmode=nil, datatargetprimarykeyfield=nil, datatargetrecordmapping=nil, dropinvalidmessage=nil)
7774
+ def initialize(database=nil, table=nil, resource=nil, pluginname=nil, snapshotmode=nil, dataformat=nil, datatargetinsertmode=nil, datatargetprimarykeyfield=nil, datatargetrecordmapping=nil, dropinvalidmessage=nil, istableregular=nil, keycolumns=nil, recordwithschema=nil)
7553
7775
  @Database = database
7554
7776
  @Table = table
7555
7777
  @Resource = resource
@@ -7560,6 +7782,9 @@ module TencentCloud
7560
7782
  @DataTargetPrimaryKeyField = datatargetprimarykeyfield
7561
7783
  @DataTargetRecordMapping = datatargetrecordmapping
7562
7784
  @DropInvalidMessage = dropinvalidmessage
7785
+ @IsTableRegular = istableregular
7786
+ @KeyColumns = keycolumns
7787
+ @RecordWithSchema = recordwithschema
7563
7788
  end
7564
7789
 
7565
7790
  def deserialize(params)
@@ -7580,6 +7805,9 @@ module TencentCloud
7580
7805
  end
7581
7806
  end
7582
7807
  @DropInvalidMessage = params['DropInvalidMessage']
7808
+ @IsTableRegular = params['IsTableRegular']
7809
+ @KeyColumns = params['KeyColumns']
7810
+ @RecordWithSchema = params['RecordWithSchema']
7583
7811
  end
7584
7812
  end
7585
7813
 
@@ -8135,6 +8363,22 @@ module TencentCloud
8135
8363
  end
8136
8364
  end
8137
8365
 
8366
+ # 值支持一拆多,即将一个值拆为一个数组
8367
+ class SplitParam < TencentCloud::Common::AbstractModel
8368
+ # @param Regex: 分隔符
8369
+ # @type Regex: String
8370
+
8371
+ attr_accessor :Regex
8372
+
8373
+ def initialize(regex=nil)
8374
+ @Regex = regex
8375
+ end
8376
+
8377
+ def deserialize(params)
8378
+ @Regex = params['Regex']
8379
+ end
8380
+ end
8381
+
8138
8382
  # 订阅信息实体
8139
8383
  class SubscribedInfo < TencentCloud::Common::AbstractModel
8140
8384
  # @param TopicName: 订阅的主题名
@@ -8819,10 +9063,13 @@ module TencentCloud
8819
9063
  # @param RowParam: 输出格式为ROW必填
8820
9064
  # 注意:此字段可能返回 null,表示取不到有效值。
8821
9065
  # @type RowParam: :class:`Tencentcloud::Ckafka.v20190819.models.RowParam`
9066
+ # @param KeepMetadata: 是否保留数据源Topic元数据信息(源Topic、Partition、Offset),默认为false
9067
+ # 注意:此字段可能返回 null,表示取不到有效值。
9068
+ # @type KeepMetadata: Boolean
8822
9069
 
8823
- attr_accessor :Content, :FieldChain, :FilterParam, :FailureParam, :Result, :SourceType, :OutputFormat, :RowParam
9070
+ attr_accessor :Content, :FieldChain, :FilterParam, :FailureParam, :Result, :SourceType, :OutputFormat, :RowParam, :KeepMetadata
8824
9071
 
8825
- def initialize(content=nil, fieldchain=nil, filterparam=nil, failureparam=nil, result=nil, sourcetype=nil, outputformat=nil, rowparam=nil)
9072
+ def initialize(content=nil, fieldchain=nil, filterparam=nil, failureparam=nil, result=nil, sourcetype=nil, outputformat=nil, rowparam=nil, keepmetadata=nil)
8826
9073
  @Content = content
8827
9074
  @FieldChain = fieldchain
8828
9075
  @FilterParam = filterparam
@@ -8831,6 +9078,7 @@ module TencentCloud
8831
9078
  @SourceType = sourcetype
8832
9079
  @OutputFormat = outputformat
8833
9080
  @RowParam = rowparam
9081
+ @KeepMetadata = keepmetadata
8834
9082
  end
8835
9083
 
8836
9084
  def deserialize(params)
@@ -8862,6 +9110,7 @@ module TencentCloud
8862
9110
  @RowParam = RowParam.new
8863
9111
  @RowParam.deserialize(params['RowParam'])
8864
9112
  end
9113
+ @KeepMetadata = params['KeepMetadata']
8865
9114
  end
8866
9115
  end
8867
9116
 
@@ -8923,7 +9172,7 @@ module TencentCloud
8923
9172
 
8924
9173
  # 数据处理——Value处理参数
8925
9174
  class ValueParam < TencentCloud::Common::AbstractModel
8926
- # @param Type: 处理模式,REPLACE替换,SUBSTR截取,DATE日期转换,TRIM去除前后空格,REGEX_REPLACE正则替换
9175
+ # @param Type: 处理模式,REPLACE替换,SUBSTR截取,DATE日期转换,TRIM去除前后空格,REGEX_REPLACE正则替换,URL_DECODE,LOWERCASE转换为小写
8927
9176
  # @type Type: String
8928
9177
  # @param Replace: 替换,TYPE=REPLACE时必传
8929
9178
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -8937,15 +9186,27 @@ module TencentCloud
8937
9186
  # @param RegexReplace: 正则替换,TYPE=REGEX_REPLACE时必传
8938
9187
  # 注意:此字段可能返回 null,表示取不到有效值。
8939
9188
  # @type RegexReplace: :class:`Tencentcloud::Ckafka.v20190819.models.RegexReplaceParam`
9189
+ # @param Split: 值支持一拆多,TYPE=SPLIT时必传
9190
+ # 注意:此字段可能返回 null,表示取不到有效值。
9191
+ # @type Split: :class:`Tencentcloud::Ckafka.v20190819.models.SplitParam`
9192
+ # @param KV: key-value二次解析,TYPE=KV时必传
9193
+ # 注意:此字段可能返回 null,表示取不到有效值。
9194
+ # @type KV: :class:`Tencentcloud::Ckafka.v20190819.models.KVParam`
9195
+ # @param Result: 处理结果
9196
+ # 注意:此字段可能返回 null,表示取不到有效值。
9197
+ # @type Result: String
8940
9198
 
8941
- attr_accessor :Type, :Replace, :Substr, :Date, :RegexReplace
9199
+ attr_accessor :Type, :Replace, :Substr, :Date, :RegexReplace, :Split, :KV, :Result
8942
9200
 
8943
- def initialize(type=nil, replace=nil, substr=nil, date=nil, regexreplace=nil)
9201
+ def initialize(type=nil, replace=nil, substr=nil, date=nil, regexreplace=nil, split=nil, kv=nil, result=nil)
8944
9202
  @Type = type
8945
9203
  @Replace = replace
8946
9204
  @Substr = substr
8947
9205
  @Date = date
8948
9206
  @RegexReplace = regexreplace
9207
+ @Split = split
9208
+ @KV = kv
9209
+ @Result = result
8949
9210
  end
8950
9211
 
8951
9212
  def deserialize(params)
@@ -8966,6 +9227,15 @@ module TencentCloud
8966
9227
  @RegexReplace = RegexReplaceParam.new
8967
9228
  @RegexReplace.deserialize(params['RegexReplace'])
8968
9229
  end
9230
+ unless params['Split'].nil?
9231
+ @Split = SplitParam.new
9232
+ @Split.deserialize(params['Split'])
9233
+ end
9234
+ unless params['KV'].nil?
9235
+ @KV = KVParam.new
9236
+ @KV.deserialize(params['KV'])
9237
+ end
9238
+ @Result = params['Result']
8969
9239
  end
8970
9240
  end
8971
9241
 
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.411
4
+ version: 3.0.412
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-09-16 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common