tencentcloud-sdk-ckafka 3.0.476 → 3.0.477

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/v20190819/models.rb +95 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d036b83bd894708c6e721ab8a50cabaa574f605d
4
- data.tar.gz: 577c40713074bdae1dc0d69c5eb37eb64c2fd1a0
3
+ metadata.gz: c9ed462d19ae64aabb1cded93980114c6877e45b
4
+ data.tar.gz: 6f42789c347ef9f09e5573aef0ddad1714e889ac
5
5
  SHA512:
6
- metadata.gz: 83d5173e43281578cce5543a33965671e6869b6874096ed1f7cab2bfa7abcc3beb3dc0d630259e5807dd5f967a24f6e73dfcb9131517fabe53c63b2492907bff
7
- data.tar.gz: 3ab084f453791349cae5cb07af0bef7a17d7ab043a5d9606c03cfb0fddd37b274f4831f5d22c4497992b27ec44207eb4997117717632465c68a9050684e0eb48
6
+ metadata.gz: cde340e8aff6d5b36b395fddc23de1e79bcf94d749694136c3297262ab9fb44a07d85d3d16c2d3f8d02a14618471e8988d74d9e9938d98ab7aa9ee9d36b07ade
7
+ data.tar.gz: 4e56b88b3e2ad384c19783e4c6399004d7a13a1a29ad1c9343d9e9aa3bb0f756d19bb5cc4da5128228e5f319cfc99efd52eb2523d02e1a9314d7804205188832
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.476
1
+ 3.0.477
@@ -313,6 +313,23 @@ module TencentCloud
313
313
  end
314
314
  end
315
315
 
316
+ # 批量解析
317
+ class BatchAnalyseParam < TencentCloud::Common::AbstractModel
318
+ # @param Format: ONE_BY_ONE单条输出,MERGE合并输出
319
+ # 注意:此字段可能返回 null,表示取不到有效值。
320
+ # @type Format: String
321
+
322
+ attr_accessor :Format
323
+
324
+ def initialize(format=nil)
325
+ @Format = format
326
+ end
327
+
328
+ def deserialize(params)
329
+ @Format = params['Format']
330
+ end
331
+ end
332
+
316
333
  # 批量发送消息内容
317
334
  class BatchContent < TencentCloud::Common::AbstractModel
318
335
  # @param Body: 发送的消息体
@@ -2479,10 +2496,13 @@ module TencentCloud
2479
2496
  # @param CtsdbParam: Ctsdb配置,Type为CTSDB时必填
2480
2497
  # 注意:此字段可能返回 null,表示取不到有效值。
2481
2498
  # @type CtsdbParam: :class:`Tencentcloud::Ckafka.v20190819.models.CtsdbParam`
2499
+ # @param ScfParam: Scf配置,Type为SCF时必填
2500
+ # 注意:此字段可能返回 null,表示取不到有效值。
2501
+ # @type ScfParam: :class:`Tencentcloud::Ckafka.v20190819.models.ScfParam`
2482
2502
 
2483
- attr_accessor :Type, :KafkaParam, :EventBusParam, :MongoDBParam, :EsParam, :TdwParam, :DtsParam, :ClickHouseParam, :ClsParam, :CosParam, :MySQLParam, :PostgreSQLParam, :TopicParam, :MariaDBParam, :SQLServerParam, :CtsdbParam
2503
+ attr_accessor :Type, :KafkaParam, :EventBusParam, :MongoDBParam, :EsParam, :TdwParam, :DtsParam, :ClickHouseParam, :ClsParam, :CosParam, :MySQLParam, :PostgreSQLParam, :TopicParam, :MariaDBParam, :SQLServerParam, :CtsdbParam, :ScfParam
2484
2504
 
2485
- 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)
2505
+ 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, scfparam=nil)
2486
2506
  @Type = type
2487
2507
  @KafkaParam = kafkaparam
2488
2508
  @EventBusParam = eventbusparam
@@ -2499,6 +2519,7 @@ module TencentCloud
2499
2519
  @MariaDBParam = mariadbparam
2500
2520
  @SQLServerParam = sqlserverparam
2501
2521
  @CtsdbParam = ctsdbparam
2522
+ @ScfParam = scfparam
2502
2523
  end
2503
2524
 
2504
2525
  def deserialize(params)
@@ -2563,6 +2584,10 @@ module TencentCloud
2563
2584
  @CtsdbParam = CtsdbParam.new
2564
2585
  @CtsdbParam.deserialize(params['CtsdbParam'])
2565
2586
  end
2587
+ unless params['ScfParam'].nil?
2588
+ @ScfParam = ScfParam.new
2589
+ @ScfParam.deserialize(params['ScfParam'])
2590
+ end
2566
2591
  end
2567
2592
  end
2568
2593
 
@@ -5340,10 +5365,12 @@ module TencentCloud
5340
5365
  # @type DropCls: :class:`Tencentcloud::Ckafka.v20190819.models.DropCls`
5341
5366
  # @param DatabasePrimaryKey: 转储到ES的消息为Database的binlog时,如果需要同步数据库操作,即增删改的操作到ES时填写数据库表主键
5342
5367
  # @type DatabasePrimaryKey: String
5368
+ # @param DropDlq: 死信队列
5369
+ # @type DropDlq: :class:`Tencentcloud::Ckafka.v20190819.models.FailureParam`
5343
5370
 
5344
- attr_accessor :Resource, :Port, :UserName, :Password, :SelfBuilt, :ServiceVip, :UniqVpcId, :DropInvalidMessage, :Index, :DateFormat, :ContentKey, :DropInvalidJsonMessage, :DocumentIdField, :IndexType, :DropCls, :DatabasePrimaryKey
5371
+ attr_accessor :Resource, :Port, :UserName, :Password, :SelfBuilt, :ServiceVip, :UniqVpcId, :DropInvalidMessage, :Index, :DateFormat, :ContentKey, :DropInvalidJsonMessage, :DocumentIdField, :IndexType, :DropCls, :DatabasePrimaryKey, :DropDlq
5345
5372
 
5346
- def initialize(resource=nil, port=nil, username=nil, password=nil, selfbuilt=nil, servicevip=nil, uniqvpcid=nil, dropinvalidmessage=nil, index=nil, dateformat=nil, contentkey=nil, dropinvalidjsonmessage=nil, documentidfield=nil, indextype=nil, dropcls=nil, databaseprimarykey=nil)
5373
+ def initialize(resource=nil, port=nil, username=nil, password=nil, selfbuilt=nil, servicevip=nil, uniqvpcid=nil, dropinvalidmessage=nil, index=nil, dateformat=nil, contentkey=nil, dropinvalidjsonmessage=nil, documentidfield=nil, indextype=nil, dropcls=nil, databaseprimarykey=nil, dropdlq=nil)
5347
5374
  @Resource = resource
5348
5375
  @Port = port
5349
5376
  @UserName = username
@@ -5360,6 +5387,7 @@ module TencentCloud
5360
5387
  @IndexType = indextype
5361
5388
  @DropCls = dropcls
5362
5389
  @DatabasePrimaryKey = databaseprimarykey
5390
+ @DropDlq = dropdlq
5363
5391
  end
5364
5392
 
5365
5393
  def deserialize(params)
@@ -5382,6 +5410,10 @@ module TencentCloud
5382
5410
  @DropCls.deserialize(params['DropCls'])
5383
5411
  end
5384
5412
  @DatabasePrimaryKey = params['DatabasePrimaryKey']
5413
+ unless params['DropDlq'].nil?
5414
+ @DropDlq = FailureParam.new
5415
+ @DropDlq.deserialize(params['DropDlq'])
5416
+ end
5385
5417
  end
5386
5418
  end
5387
5419
 
@@ -7028,10 +7060,13 @@ module TencentCloud
7028
7060
  # @param CompressionType: 写入Topic时是否进行压缩,不开启填"none",开启的话,填写"open"。
7029
7061
  # 注意:此字段可能返回 null,表示取不到有效值。
7030
7062
  # @type CompressionType: String
7063
+ # @param MsgMultiple: 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用)
7064
+ # 注意:此字段可能返回 null,表示取不到有效值。
7065
+ # @type MsgMultiple: Integer
7031
7066
 
7032
- attr_accessor :SelfBuilt, :Resource, :Topic, :OffsetType, :StartTime, :ResourceName, :ZoneId, :TopicId, :PartitionNum, :EnableToleration, :QpsLimit, :TableMappings, :UseTableMapping, :UseAutoCreateTopic, :CompressionType
7067
+ attr_accessor :SelfBuilt, :Resource, :Topic, :OffsetType, :StartTime, :ResourceName, :ZoneId, :TopicId, :PartitionNum, :EnableToleration, :QpsLimit, :TableMappings, :UseTableMapping, :UseAutoCreateTopic, :CompressionType, :MsgMultiple
7033
7068
 
7034
- 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, useautocreatetopic=nil, compressiontype=nil)
7069
+ 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, useautocreatetopic=nil, compressiontype=nil, msgmultiple=nil)
7035
7070
  @SelfBuilt = selfbuilt
7036
7071
  @Resource = resource
7037
7072
  @Topic = topic
@@ -7047,6 +7082,7 @@ module TencentCloud
7047
7082
  @UseTableMapping = usetablemapping
7048
7083
  @UseAutoCreateTopic = useautocreatetopic
7049
7084
  @CompressionType = compressiontype
7085
+ @MsgMultiple = msgmultiple
7050
7086
  end
7051
7087
 
7052
7088
  def deserialize(params)
@@ -7072,6 +7108,7 @@ module TencentCloud
7072
7108
  @UseTableMapping = params['UseTableMapping']
7073
7109
  @UseAutoCreateTopic = params['UseAutoCreateTopic']
7074
7110
  @CompressionType = params['CompressionType']
7111
+ @MsgMultiple = params['MsgMultiple']
7075
7112
  end
7076
7113
  end
7077
7114
 
@@ -8946,6 +8983,41 @@ module TencentCloud
8946
8983
  end
8947
8984
  end
8948
8985
 
8986
+ # Scf类型入参
8987
+ class ScfParam < TencentCloud::Common::AbstractModel
8988
+ # @param FunctionName: SCF云函数函数名
8989
+ # 注意:此字段可能返回 null,表示取不到有效值。
8990
+ # @type FunctionName: String
8991
+ # @param Namespace: SCF云函数命名空间, 默认为default
8992
+ # 注意:此字段可能返回 null,表示取不到有效值。
8993
+ # @type Namespace: String
8994
+ # @param Qualifier: SCF云函数版本及别名, 默认为$DEFAULT
8995
+ # 注意:此字段可能返回 null,表示取不到有效值。
8996
+ # @type Qualifier: String
8997
+ # @param BatchSize: 每批最大发送消息数, 默认为1000
8998
+ # @type BatchSize: Integer
8999
+ # @param MaxRetries: SCF调用失败后重试次数, 默认为5
9000
+ # @type MaxRetries: Integer
9001
+
9002
+ attr_accessor :FunctionName, :Namespace, :Qualifier, :BatchSize, :MaxRetries
9003
+
9004
+ def initialize(functionname=nil, namespace=nil, qualifier=nil, batchsize=nil, maxretries=nil)
9005
+ @FunctionName = functionname
9006
+ @Namespace = namespace
9007
+ @Qualifier = qualifier
9008
+ @BatchSize = batchsize
9009
+ @MaxRetries = maxretries
9010
+ end
9011
+
9012
+ def deserialize(params)
9013
+ @FunctionName = params['FunctionName']
9014
+ @Namespace = params['Namespace']
9015
+ @Qualifier = params['Qualifier']
9016
+ @BatchSize = params['BatchSize']
9017
+ @MaxRetries = params['MaxRetries']
9018
+ end
9019
+ end
9020
+
8949
9021
  # 数据处理——二次解析参数
8950
9022
  class SecondaryAnalyseParam < TencentCloud::Common::AbstractModel
8951
9023
  # @param Regex: 分隔符
@@ -9469,16 +9541,20 @@ module TencentCloud
9469
9541
  # @param UseAutoCreateTopic: 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务)
9470
9542
  # 注意:此字段可能返回 null,表示取不到有效值。
9471
9543
  # @type UseAutoCreateTopic: Boolean
9544
+ # @param MsgMultiple: 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用)
9545
+ # 注意:此字段可能返回 null,表示取不到有效值。
9546
+ # @type MsgMultiple: Integer
9472
9547
 
9473
- attr_accessor :Resource, :OffsetType, :StartTime, :TopicId, :CompressionType, :UseAutoCreateTopic
9548
+ attr_accessor :Resource, :OffsetType, :StartTime, :TopicId, :CompressionType, :UseAutoCreateTopic, :MsgMultiple
9474
9549
 
9475
- def initialize(resource=nil, offsettype=nil, starttime=nil, topicid=nil, compressiontype=nil, useautocreatetopic=nil)
9550
+ def initialize(resource=nil, offsettype=nil, starttime=nil, topicid=nil, compressiontype=nil, useautocreatetopic=nil, msgmultiple=nil)
9476
9551
  @Resource = resource
9477
9552
  @OffsetType = offsettype
9478
9553
  @StartTime = starttime
9479
9554
  @TopicId = topicid
9480
9555
  @CompressionType = compressiontype
9481
9556
  @UseAutoCreateTopic = useautocreatetopic
9557
+ @MsgMultiple = msgmultiple
9482
9558
  end
9483
9559
 
9484
9560
  def deserialize(params)
@@ -9488,6 +9564,7 @@ module TencentCloud
9488
9564
  @TopicId = params['TopicId']
9489
9565
  @CompressionType = params['CompressionType']
9490
9566
  @UseAutoCreateTopic = params['UseAutoCreateTopic']
9567
+ @MsgMultiple = params['MsgMultiple']
9491
9568
  end
9492
9569
  end
9493
9570
 
@@ -9722,10 +9799,13 @@ module TencentCloud
9722
9799
  # @param KeepMetadata: 是否保留数据源Topic元数据信息(源Topic、Partition、Offset),默认为false
9723
9800
  # 注意:此字段可能返回 null,表示取不到有效值。
9724
9801
  # @type KeepMetadata: Boolean
9802
+ # @param BatchAnalyse: 数组解析
9803
+ # 注意:此字段可能返回 null,表示取不到有效值。
9804
+ # @type BatchAnalyse: :class:`Tencentcloud::Ckafka.v20190819.models.BatchAnalyseParam`
9725
9805
 
9726
- attr_accessor :Content, :FieldChain, :FilterParam, :FailureParam, :Result, :SourceType, :OutputFormat, :RowParam, :KeepMetadata
9806
+ attr_accessor :Content, :FieldChain, :FilterParam, :FailureParam, :Result, :SourceType, :OutputFormat, :RowParam, :KeepMetadata, :BatchAnalyse
9727
9807
 
9728
- def initialize(content=nil, fieldchain=nil, filterparam=nil, failureparam=nil, result=nil, sourcetype=nil, outputformat=nil, rowparam=nil, keepmetadata=nil)
9808
+ def initialize(content=nil, fieldchain=nil, filterparam=nil, failureparam=nil, result=nil, sourcetype=nil, outputformat=nil, rowparam=nil, keepmetadata=nil, batchanalyse=nil)
9729
9809
  @Content = content
9730
9810
  @FieldChain = fieldchain
9731
9811
  @FilterParam = filterparam
@@ -9735,6 +9815,7 @@ module TencentCloud
9735
9815
  @OutputFormat = outputformat
9736
9816
  @RowParam = rowparam
9737
9817
  @KeepMetadata = keepmetadata
9818
+ @BatchAnalyse = batchanalyse
9738
9819
  end
9739
9820
 
9740
9821
  def deserialize(params)
@@ -9767,6 +9848,10 @@ module TencentCloud
9767
9848
  @RowParam.deserialize(params['RowParam'])
9768
9849
  end
9769
9850
  @KeepMetadata = params['KeepMetadata']
9851
+ unless params['BatchAnalyse'].nil?
9852
+ @BatchAnalyse = BatchAnalyseParam.new
9853
+ @BatchAnalyse.deserialize(params['BatchAnalyse'])
9854
+ end
9770
9855
  end
9771
9856
  end
9772
9857
 
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.476
4
+ version: 3.0.477
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-12-19 00:00:00.000000000 Z
11
+ date: 2022-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common