tencentcloud-sdk-ckafka 3.0.821 → 3.0.822

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 +253 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 070e31c5612e00099b60f9bb4895bccc0360aaa2
4
- data.tar.gz: a02217d061e811ec23dd0f4ca9f1477c1845e156
3
+ metadata.gz: 3bc5f47001d84c6485a966eb3a84b689180b7847
4
+ data.tar.gz: 24831c2191006139c4edb7c94d3a4b9960381bbc
5
5
  SHA512:
6
- metadata.gz: bcbbe1e593be9ac8d4d9c73142a3c3151447cd4250bb68bdb2c3c67807a9b98eb9b14330763e68657695c88262ceab0ee78b15386275f9b4d0f39b6103d09264
7
- data.tar.gz: a7445bc8ba036df89af188998b5f000e2ce6edaad6972cfa0a8bbc73dc375d595c9e15ba3bef04448049ac6334184845d8e39f98f5e9f19cc846142799fdb614
6
+ metadata.gz: 6d7032fff57b79d90d3c3ace347600ea1edc294b473ae3c576ad617f9c9c6484ff4750f02ef72405e4668669d8359ecac30b7780b10a9f3f965de5887ef01288
7
+ data.tar.gz: 73af48474726d564f7dd2f7f8a02b97ebecccbb22a25673ee9e70d925080a054567b9559a9faa69bf25e34c2aa3c4ecf046119d17857437f27658f3196f06a5d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.821
1
+ 3.0.822
@@ -1007,12 +1007,16 @@ module TencentCloud
1007
1007
  # ClickHouse的Schema
1008
1008
  class ClickHouseSchema < TencentCloud::Common::AbstractModel
1009
1009
  # @param ColumnName: 表的列名
1010
+ # 注意:此字段可能返回 null,表示取不到有效值。
1010
1011
  # @type ColumnName: String
1011
1012
  # @param JsonKey: 该列对应的jsonKey名
1013
+ # 注意:此字段可能返回 null,表示取不到有效值。
1012
1014
  # @type JsonKey: String
1013
1015
  # @param Type: 表列项的类型
1016
+ # 注意:此字段可能返回 null,表示取不到有效值。
1014
1017
  # @type Type: String
1015
1018
  # @param AllowNull: 列项是否允许为空
1019
+ # 注意:此字段可能返回 null,表示取不到有效值。
1016
1020
  # @type AllowNull: Boolean
1017
1021
 
1018
1022
  attr_accessor :ColumnName, :JsonKey, :Type, :AllowNull
@@ -1035,15 +1039,20 @@ module TencentCloud
1035
1039
  # Cls类型入参
1036
1040
  class ClsParam < TencentCloud::Common::AbstractModel
1037
1041
  # @param DecodeJson: 生产的信息是否为json格式
1042
+ # 注意:此字段可能返回 null,表示取不到有效值。
1038
1043
  # @type DecodeJson: Boolean
1039
1044
  # @param Resource: cls日志主题id
1045
+ # 注意:此字段可能返回 null,表示取不到有效值。
1040
1046
  # @type Resource: String
1041
1047
  # @param LogSet: cls日志集id
1048
+ # 注意:此字段可能返回 null,表示取不到有效值。
1042
1049
  # @type LogSet: String
1043
1050
  # @param ContentKey: 当DecodeJson为false时必填
1051
+ # 注意:此字段可能返回 null,表示取不到有效值。
1044
1052
  # @type ContentKey: String
1045
1053
  # @param TimeField: 指定消息中的某字段内容作为cls日志的时间。
1046
1054
  # 字段内容格式需要是秒级时间戳
1055
+ # 注意:此字段可能返回 null,表示取不到有效值。
1047
1056
  # @type TimeField: String
1048
1057
 
1049
1058
  attr_accessor :DecodeJson, :Resource, :LogSet, :ContentKey, :TimeField
@@ -1409,20 +1418,28 @@ module TencentCloud
1409
1418
  # Cos Datahub 任务接入参数
1410
1419
  class CosParam < TencentCloud::Common::AbstractModel
1411
1420
  # @param BucketName: cos 存储桶名称
1421
+ # 注意:此字段可能返回 null,表示取不到有效值。
1412
1422
  # @type BucketName: String
1413
1423
  # @param Region: 地域代码
1424
+ # 注意:此字段可能返回 null,表示取不到有效值。
1414
1425
  # @type Region: String
1415
1426
  # @param ObjectKey: 对象名称
1427
+ # 注意:此字段可能返回 null,表示取不到有效值。
1416
1428
  # @type ObjectKey: String
1417
1429
  # @param AggregateBatchSize: 汇聚消息量的大小(单位:MB)
1430
+ # 注意:此字段可能返回 null,表示取不到有效值。
1418
1431
  # @type AggregateBatchSize: Integer
1419
1432
  # @param AggregateInterval: 汇聚的时间间隔(单位:小时)
1433
+ # 注意:此字段可能返回 null,表示取不到有效值。
1420
1434
  # @type AggregateInterval: Integer
1421
1435
  # @param FormatOutputType: 消息汇聚后的文件格式(支持csv, json)
1436
+ # 注意:此字段可能返回 null,表示取不到有效值。
1422
1437
  # @type FormatOutputType: String
1423
1438
  # @param ObjectKeyPrefix: 转储的对象目录前缀
1439
+ # 注意:此字段可能返回 null,表示取不到有效值。
1424
1440
  # @type ObjectKeyPrefix: String
1425
1441
  # @param DirectoryTimeFormat: 根据strptime 时间格式化的分区格式
1442
+ # 注意:此字段可能返回 null,表示取不到有效值。
1426
1443
  # @type DirectoryTimeFormat: String
1427
1444
 
1428
1445
  attr_accessor :BucketName, :Region, :ObjectKey, :AggregateBatchSize, :AggregateInterval, :FormatOutputType, :ObjectKeyPrefix, :DirectoryTimeFormat
@@ -2334,8 +2351,8 @@ module TencentCloud
2334
2351
 
2335
2352
  attr_accessor :ReturnCode, :ReturnMessage, :Data, :DeleteRouteTimestamp
2336
2353
  extend Gem::Deprecate
2337
- deprecate :DeleteRouteTimestamp, :none, 2024, 4
2338
- deprecate :DeleteRouteTimestamp=, :none, 2024, 4
2354
+ deprecate :DeleteRouteTimestamp, :none, 2024, 5
2355
+ deprecate :DeleteRouteTimestamp=, :none, 2024, 5
2339
2356
 
2340
2357
  def initialize(returncode=nil, returnmessage=nil, data=nil, deleteroutetimestamp=nil)
2341
2358
  @ReturnCode = returncode
@@ -2998,8 +3015,10 @@ module TencentCloud
2998
3015
  # Ctsdb类型入参
2999
3016
  class CtsdbParam < TencentCloud::Common::AbstractModel
3000
3017
  # @param Resource: 连接管理实例资源
3018
+ # 注意:此字段可能返回 null,表示取不到有效值。
3001
3019
  # @type Resource: String
3002
3020
  # @param CtsdbMetric: Ctsdb的metric
3021
+ # 注意:此字段可能返回 null,表示取不到有效值。
3003
3022
  # @type CtsdbMetric: String
3004
3023
 
3005
3024
  attr_accessor :Resource, :CtsdbMetric
@@ -3067,10 +3086,13 @@ module TencentCloud
3067
3086
  # @param ScfParam: Scf配置,Type为SCF时必填
3068
3087
  # 注意:此字段可能返回 null,表示取不到有效值。
3069
3088
  # @type ScfParam: :class:`Tencentcloud::Ckafka.v20190819.models.ScfParam`
3089
+ # @param MqttParam: MQTT配置,Type为 MQTT 时必填
3090
+ # 注意:此字段可能返回 null,表示取不到有效值。
3091
+ # @type MqttParam: :class:`Tencentcloud::Ckafka.v20190819.models.MqttParam`
3070
3092
 
3071
- attr_accessor :Type, :KafkaParam, :EventBusParam, :MongoDBParam, :EsParam, :TdwParam, :DtsParam, :ClickHouseParam, :ClsParam, :CosParam, :MySQLParam, :PostgreSQLParam, :TopicParam, :MariaDBParam, :SQLServerParam, :CtsdbParam, :ScfParam
3093
+ attr_accessor :Type, :KafkaParam, :EventBusParam, :MongoDBParam, :EsParam, :TdwParam, :DtsParam, :ClickHouseParam, :ClsParam, :CosParam, :MySQLParam, :PostgreSQLParam, :TopicParam, :MariaDBParam, :SQLServerParam, :CtsdbParam, :ScfParam, :MqttParam
3072
3094
 
3073
- 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)
3095
+ 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, mqttparam=nil)
3074
3096
  @Type = type
3075
3097
  @KafkaParam = kafkaparam
3076
3098
  @EventBusParam = eventbusparam
@@ -3088,6 +3110,7 @@ module TencentCloud
3088
3110
  @SQLServerParam = sqlserverparam
3089
3111
  @CtsdbParam = ctsdbparam
3090
3112
  @ScfParam = scfparam
3113
+ @MqttParam = mqttparam
3091
3114
  end
3092
3115
 
3093
3116
  def deserialize(params)
@@ -3156,6 +3179,10 @@ module TencentCloud
3156
3179
  @ScfParam = ScfParam.new
3157
3180
  @ScfParam.deserialize(params['ScfParam'])
3158
3181
  end
3182
+ unless params['MqttParam'].nil?
3183
+ @MqttParam = MqttParam.new
3184
+ @MqttParam.deserialize(params['MqttParam'])
3185
+ end
3159
3186
  end
3160
3187
  end
3161
3188
 
@@ -4204,10 +4231,13 @@ module TencentCloud
4204
4231
  # @param KafkaConnectParam: Kafka配置,Type 为 KAFKA 时返回
4205
4232
  # 注意:此字段可能返回 null,表示取不到有效值。
4206
4233
  # @type KafkaConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.KafkaConnectParam`
4234
+ # @param MqttConnectParam: MQTT配置,Type 为 MQTT 时返回
4235
+ # 注意:此字段可能返回 null,表示取不到有效值。
4236
+ # @type MqttConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MqttConnectParam`
4207
4237
 
4208
- attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :DatahubTaskCount, :CurrentStep, :TaskProgress, :StepList, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam, :DorisConnectParam, :KafkaConnectParam
4238
+ attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :DatahubTaskCount, :CurrentStep, :TaskProgress, :StepList, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam, :DorisConnectParam, :KafkaConnectParam, :MqttConnectParam
4209
4239
 
4210
- def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, datahubtaskcount=nil, currentstep=nil, taskprogress=nil, steplist=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil, dorisconnectparam=nil, kafkaconnectparam=nil)
4240
+ def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, datahubtaskcount=nil, currentstep=nil, taskprogress=nil, steplist=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil, dorisconnectparam=nil, kafkaconnectparam=nil, mqttconnectparam=nil)
4211
4241
  @ResourceId = resourceid
4212
4242
  @ResourceName = resourcename
4213
4243
  @Description = description
@@ -4230,6 +4260,7 @@ module TencentCloud
4230
4260
  @CtsdbConnectParam = ctsdbconnectparam
4231
4261
  @DorisConnectParam = dorisconnectparam
4232
4262
  @KafkaConnectParam = kafkaconnectparam
4263
+ @MqttConnectParam = mqttconnectparam
4233
4264
  end
4234
4265
 
4235
4266
  def deserialize(params)
@@ -4288,6 +4319,10 @@ module TencentCloud
4288
4319
  @KafkaConnectParam = KafkaConnectParam.new
4289
4320
  @KafkaConnectParam.deserialize(params['KafkaConnectParam'])
4290
4321
  end
4322
+ unless params['MqttConnectParam'].nil?
4323
+ @MqttConnectParam = MqttConnectParam.new
4324
+ @MqttConnectParam.deserialize(params['MqttConnectParam'])
4325
+ end
4291
4326
  end
4292
4327
  end
4293
4328
 
@@ -4369,10 +4404,13 @@ module TencentCloud
4369
4404
  # @param KafkaConnectParam: Kafka配置,Type 为 KAFKA 时返回
4370
4405
  # 注意:此字段可能返回 null,表示取不到有效值。
4371
4406
  # @type KafkaConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.KafkaConnectParam`
4407
+ # @param MqttConnectParam: MQTT配置,Type 为 MQTT 时返回
4408
+ # 注意:此字段可能返回 null,表示取不到有效值。
4409
+ # @type MqttConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MqttConnectParam`
4372
4410
 
4373
- attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :StepList, :MySQLConnectParam, :PostgreSQLConnectParam, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam, :DorisConnectParam, :KafkaConnectParam
4411
+ attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :StepList, :MySQLConnectParam, :PostgreSQLConnectParam, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam, :DorisConnectParam, :KafkaConnectParam, :MqttConnectParam
4374
4412
 
4375
- 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, dorisconnectparam=nil, kafkaconnectparam=nil)
4413
+ 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, dorisconnectparam=nil, kafkaconnectparam=nil, mqttconnectparam=nil)
4376
4414
  @ResourceId = resourceid
4377
4415
  @ResourceName = resourcename
4378
4416
  @Description = description
@@ -4393,6 +4431,7 @@ module TencentCloud
4393
4431
  @CtsdbConnectParam = ctsdbconnectparam
4394
4432
  @DorisConnectParam = dorisconnectparam
4395
4433
  @KafkaConnectParam = kafkaconnectparam
4434
+ @MqttConnectParam = mqttconnectparam
4396
4435
  end
4397
4436
 
4398
4437
  def deserialize(params)
@@ -4449,6 +4488,10 @@ module TencentCloud
4449
4488
  @KafkaConnectParam = KafkaConnectParam.new
4450
4489
  @KafkaConnectParam.deserialize(params['KafkaConnectParam'])
4451
4490
  end
4491
+ unless params['MqttConnectParam'].nil?
4492
+ @MqttConnectParam = MqttConnectParam.new
4493
+ @MqttConnectParam.deserialize(params['MqttConnectParam'])
4494
+ end
4452
4495
  end
4453
4496
  end
4454
4497
 
@@ -6281,20 +6324,28 @@ module TencentCloud
6281
6324
  # Dts类型入参
6282
6325
  class DtsParam < TencentCloud::Common::AbstractModel
6283
6326
  # @param Resource: Dts实例Id
6327
+ # 注意:此字段可能返回 null,表示取不到有效值。
6284
6328
  # @type Resource: String
6285
6329
  # @param Ip: Dts的连接ip
6330
+ # 注意:此字段可能返回 null,表示取不到有效值。
6286
6331
  # @type Ip: String
6287
6332
  # @param Port: Dts的连接port
6333
+ # 注意:此字段可能返回 null,表示取不到有效值。
6288
6334
  # @type Port: Integer
6289
6335
  # @param Topic: Dts订阅的topic
6336
+ # 注意:此字段可能返回 null,表示取不到有效值。
6290
6337
  # @type Topic: String
6291
6338
  # @param GroupId: Dts消费分组的Id
6339
+ # 注意:此字段可能返回 null,表示取不到有效值。
6292
6340
  # @type GroupId: String
6293
6341
  # @param GroupUser: Dts消费分组的账号
6342
+ # 注意:此字段可能返回 null,表示取不到有效值。
6294
6343
  # @type GroupUser: String
6295
6344
  # @param GroupPassword: Dts消费分组的密码
6345
+ # 注意:此字段可能返回 null,表示取不到有效值。
6296
6346
  # @type GroupPassword: String
6297
6347
  # @param TranSql: false同步原始数据,true同步解析后的json格式数据,默认true
6348
+ # 注意:此字段可能返回 null,表示取不到有效值。
6298
6349
  # @type TranSql: Boolean
6299
6350
 
6300
6351
  attr_accessor :Resource, :Ip, :Port, :Topic, :GroupId, :GroupUser, :GroupPassword, :TranSql
@@ -6493,44 +6544,64 @@ module TencentCloud
6493
6544
  # Es类型入参
6494
6545
  class EsParam < TencentCloud::Common::AbstractModel
6495
6546
  # @param Resource: 实例资源
6547
+ # 注意:此字段可能返回 null,表示取不到有效值。
6496
6548
  # @type Resource: String
6497
6549
  # @param Port: Es的连接port
6550
+ # 注意:此字段可能返回 null,表示取不到有效值。
6498
6551
  # @type Port: Integer
6499
6552
  # @param UserName: Es用户名
6553
+ # 注意:此字段可能返回 null,表示取不到有效值。
6500
6554
  # @type UserName: String
6501
6555
  # @param Password: Es密码
6556
+ # 注意:此字段可能返回 null,表示取不到有效值。
6502
6557
  # @type Password: String
6503
6558
  # @param SelfBuilt: 是否为自建集群
6559
+ # 注意:此字段可能返回 null,表示取不到有效值。
6504
6560
  # @type SelfBuilt: Boolean
6505
6561
  # @param ServiceVip: 实例vip
6562
+ # 注意:此字段可能返回 null,表示取不到有效值。
6506
6563
  # @type ServiceVip: String
6507
6564
  # @param UniqVpcId: 实例的vpcId
6565
+ # 注意:此字段可能返回 null,表示取不到有效值。
6508
6566
  # @type UniqVpcId: String
6509
6567
  # @param DropInvalidMessage: Es是否抛弃解析失败的消息
6568
+ # 注意:此字段可能返回 null,表示取不到有效值。
6510
6569
  # @type DropInvalidMessage: Boolean
6511
6570
  # @param Index: Es自定义index名称
6571
+ # 注意:此字段可能返回 null,表示取不到有效值。
6512
6572
  # @type Index: String
6513
6573
  # @param DateFormat: Es自定义日期后缀
6574
+ # 注意:此字段可能返回 null,表示取不到有效值。
6514
6575
  # @type DateFormat: String
6515
6576
  # @param ContentKey: 非json格式数据的自定义key
6577
+ # 注意:此字段可能返回 null,表示取不到有效值。
6516
6578
  # @type ContentKey: String
6517
6579
  # @param DropInvalidJsonMessage: Es是否抛弃非json格式的消息
6580
+ # 注意:此字段可能返回 null,表示取不到有效值。
6518
6581
  # @type DropInvalidJsonMessage: Boolean
6519
6582
  # @param DocumentIdField: 转储到Es中的文档ID取值字段名
6583
+ # 注意:此字段可能返回 null,表示取不到有效值。
6520
6584
  # @type DocumentIdField: String
6521
6585
  # @param IndexType: Es自定义index名称的类型,STRING,JSONPATH,默认为STRING
6586
+ # 注意:此字段可能返回 null,表示取不到有效值。
6522
6587
  # @type IndexType: String
6523
6588
  # @param DropCls: 当设置成员参数DropInvalidMessageToCls设置为true时,DropInvalidMessage参数失效
6589
+ # 注意:此字段可能返回 null,表示取不到有效值。
6524
6590
  # @type DropCls: :class:`Tencentcloud::Ckafka.v20190819.models.DropCls`
6525
6591
  # @param DatabasePrimaryKey: 转储到ES的消息为Database的binlog时,如果需要同步数据库操作,即增删改的操作到ES时填写数据库表主键
6592
+ # 注意:此字段可能返回 null,表示取不到有效值。
6526
6593
  # @type DatabasePrimaryKey: String
6527
6594
  # @param DropDlq: 死信队列
6595
+ # 注意:此字段可能返回 null,表示取不到有效值。
6528
6596
  # @type DropDlq: :class:`Tencentcloud::Ckafka.v20190819.models.FailureParam`
6529
6597
  # @param RecordMappingList: 使用数据订阅格式导入 es 时,消息与 es 索引字段映射关系。不填默认为默认字段匹配
6598
+ # 注意:此字段可能返回 null,表示取不到有效值。
6530
6599
  # @type RecordMappingList: Array
6531
6600
  # @param DateField: 消息要映射为 es 索引中 @timestamp 的字段,如果当前配置为空,则使用消息的时间戳进行映射
6601
+ # 注意:此字段可能返回 null,表示取不到有效值。
6532
6602
  # @type DateField: String
6533
6603
  # @param RecordMappingMode: 用来区分当前索引映射,属于新建索引还是存量索引。"EXIST_MAPPING":从存量索引中选择;"NEW_MAPPING":新建索引
6604
+ # 注意:此字段可能返回 null,表示取不到有效值。
6534
6605
  # @type RecordMappingMode: String
6535
6606
 
6536
6607
  attr_accessor :Resource, :Port, :UserName, :Password, :SelfBuilt, :ServiceVip, :UniqVpcId, :DropInvalidMessage, :Index, :DateFormat, :ContentKey, :DropInvalidJsonMessage, :DocumentIdField, :IndexType, :DropCls, :DatabasePrimaryKey, :DropDlq, :RecordMappingList, :DateField, :RecordMappingMode
@@ -6598,8 +6669,10 @@ module TencentCloud
6598
6669
  # 消息字段与 es 索引的映射关系
6599
6670
  class EsRecordMapping < TencentCloud::Common::AbstractModel
6600
6671
  # @param ColumnName: es 索引成员名称
6672
+ # 注意:此字段可能返回 null,表示取不到有效值。
6601
6673
  # @type ColumnName: String
6602
6674
  # @param JsonKey: 消息字段名称
6675
+ # 注意:此字段可能返回 null,表示取不到有效值。
6603
6676
  # @type JsonKey: String
6604
6677
 
6605
6678
  attr_accessor :ColumnName, :JsonKey
@@ -8300,7 +8373,7 @@ module TencentCloud
8300
8373
 
8301
8374
  # Kafka连接源参数
8302
8375
  class KafkaConnectParam < TencentCloud::Common::AbstractModel
8303
- # @param Resource: Kafka连接源的实例资源, 非自建时必填
8376
+ # @param Resource: Kafka连接源的实例资源, 非自建时必填,NetworkType=VPC时传clb实例id
8304
8377
  # 注意:此字段可能返回 null,表示取不到有效值。
8305
8378
  # @type Resource: String
8306
8379
  # @param SelfBuilt: 是否为自建集群
@@ -8309,7 +8382,7 @@ module TencentCloud
8309
8382
  # @param IsUpdate: 是否更新到关联的Dip任务
8310
8383
  # 注意:此字段可能返回 null,表示取不到有效值。
8311
8384
  # @type IsUpdate: Boolean
8312
- # @param BrokerAddress: Kafka连接的broker地址, 自建时必填
8385
+ # @param BrokerAddress: Kafka连接的broker地址, NetworkType=PUBLIC公网时必填
8313
8386
  # 注意:此字段可能返回 null,表示取不到有效值。
8314
8387
  # @type BrokerAddress: String
8315
8388
  # @param Region: CKafka连接源的实例资源地域, 跨地域时必填
@@ -8573,24 +8646,34 @@ module TencentCloud
8573
8646
  # MariaDB类型入参
8574
8647
  class MariaDBParam < TencentCloud::Common::AbstractModel
8575
8648
  # @param Database: MariaDB的数据库名称,"*"为全数据库
8649
+ # 注意:此字段可能返回 null,表示取不到有效值。
8576
8650
  # @type Database: String
8577
8651
  # @param Table: MariaDB的数据表名称,"*"为所监听的所有数据库中的非系统表,可以","间隔,监听多个数据表,但数据表需要以"数据库名.数据表名"的格式进行填写
8652
+ # 注意:此字段可能返回 null,表示取不到有效值。
8578
8653
  # @type Table: String
8579
8654
  # @param Resource: 该MariaDB在连接管理内的Id
8655
+ # 注意:此字段可能返回 null,表示取不到有效值。
8580
8656
  # @type Resource: String
8581
8657
  # @param SnapshotMode: 复制存量信息(schema_only不复制, initial全量),默认位initial
8658
+ # 注意:此字段可能返回 null,表示取不到有效值。
8582
8659
  # @type SnapshotMode: String
8583
8660
  # @param KeyColumns: 格式:库1.表1:字段1,字段2;库2.表2:字段2,表之间;(分号)隔开,字段之间,(逗号)隔开。不指定的表默认取表的主键
8661
+ # 注意:此字段可能返回 null,表示取不到有效值。
8584
8662
  # @type KeyColumns: String
8585
8663
  # @param IsTablePrefix: 当Table输入的是前缀时,该项值为true,否则为false
8664
+ # 注意:此字段可能返回 null,表示取不到有效值。
8586
8665
  # @type IsTablePrefix: Boolean
8587
8666
  # @param OutputFormat: 输出格式,DEFAULT、CANAL_1、CANAL_2
8667
+ # 注意:此字段可能返回 null,表示取不到有效值。
8588
8668
  # @type OutputFormat: String
8589
8669
  # @param IncludeContentChanges: 如果该值为all,则DDL数据以及DML数据也会写入到选中的topic;若该值为dml,则只有DML数据写入到选中的topic
8670
+ # 注意:此字段可能返回 null,表示取不到有效值。
8590
8671
  # @type IncludeContentChanges: String
8591
8672
  # @param IncludeQuery: 如果该值为true,且MySQL中"binlog_rows_query_log_events"配置项的值为"ON",则流入到topic的数据包含原SQL语句;若该值为false,流入到topic的数据不包含原SQL语句
8673
+ # 注意:此字段可能返回 null,表示取不到有效值。
8592
8674
  # @type IncludeQuery: Boolean
8593
8675
  # @param RecordWithSchema: 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
8676
+ # 注意:此字段可能返回 null,表示取不到有效值。
8594
8677
  # @type RecordWithSchema: Boolean
8595
8678
 
8596
8679
  attr_accessor :Database, :Table, :Resource, :SnapshotMode, :KeyColumns, :IsTablePrefix, :OutputFormat, :IncludeContentChanges, :IncludeQuery, :RecordWithSchema
@@ -9390,28 +9473,40 @@ module TencentCloud
9390
9473
  # MongoDB类型入参
9391
9474
  class MongoDBParam < TencentCloud::Common::AbstractModel
9392
9475
  # @param Database: MongoDB的数据库名称
9476
+ # 注意:此字段可能返回 null,表示取不到有效值。
9393
9477
  # @type Database: String
9394
9478
  # @param Collection: MongoDB的集群
9479
+ # 注意:此字段可能返回 null,表示取不到有效值。
9395
9480
  # @type Collection: String
9396
9481
  # @param CopyExisting: 是否复制存量数据,默认传参true
9482
+ # 注意:此字段可能返回 null,表示取不到有效值。
9397
9483
  # @type CopyExisting: Boolean
9398
9484
  # @param Resource: 实例资源
9485
+ # 注意:此字段可能返回 null,表示取不到有效值。
9399
9486
  # @type Resource: String
9400
9487
  # @param Ip: MongoDB的连接ip
9488
+ # 注意:此字段可能返回 null,表示取不到有效值。
9401
9489
  # @type Ip: String
9402
9490
  # @param Port: MongoDB的连接port
9491
+ # 注意:此字段可能返回 null,表示取不到有效值。
9403
9492
  # @type Port: Integer
9404
9493
  # @param UserName: MongoDB数据库用户名
9494
+ # 注意:此字段可能返回 null,表示取不到有效值。
9405
9495
  # @type UserName: String
9406
9496
  # @param Password: MongoDB数据库密码
9497
+ # 注意:此字段可能返回 null,表示取不到有效值。
9407
9498
  # @type Password: String
9408
9499
  # @param ListeningEvent: 监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔
9500
+ # 注意:此字段可能返回 null,表示取不到有效值。
9409
9501
  # @type ListeningEvent: String
9410
9502
  # @param ReadPreference: 主从优先级,默认主节点
9503
+ # 注意:此字段可能返回 null,表示取不到有效值。
9411
9504
  # @type ReadPreference: String
9412
9505
  # @param Pipeline: 聚合管道
9506
+ # 注意:此字段可能返回 null,表示取不到有效值。
9413
9507
  # @type Pipeline: String
9414
9508
  # @param SelfBuilt: 是否为自建集群
9509
+ # 注意:此字段可能返回 null,表示取不到有效值。
9415
9510
  # @type SelfBuilt: Boolean
9416
9511
 
9417
9512
  attr_accessor :Database, :Collection, :CopyExisting, :Resource, :Ip, :Port, :UserName, :Password, :ListeningEvent, :ReadPreference, :Pipeline, :SelfBuilt
@@ -9447,6 +9542,125 @@ module TencentCloud
9447
9542
  end
9448
9543
  end
9449
9544
 
9545
+ # MQTT连接源参数
9546
+ class MqttConnectParam < TencentCloud::Common::AbstractModel
9547
+ # @param UserName: MQTT连接源的用户名
9548
+ # 注意:此字段可能返回 null,表示取不到有效值。
9549
+ # @type UserName: String
9550
+ # @param Password: MQTT连接源的密码
9551
+ # 注意:此字段可能返回 null,表示取不到有效值。
9552
+ # @type Password: String
9553
+ # @param Resource: MQTT连接源的实例资源
9554
+ # 注意:此字段可能返回 null,表示取不到有效值。
9555
+ # @type Resource: String
9556
+ # @param UniqVpcId: MQTT Instance vpc-id
9557
+ # 注意:此字段可能返回 null,表示取不到有效值。
9558
+ # @type UniqVpcId: String
9559
+ # @param SelfBuilt: 是否为自建集群
9560
+ # 注意:此字段可能返回 null,表示取不到有效值。
9561
+ # @type SelfBuilt: Boolean
9562
+ # @param IsUpdate: 是否更新到关联的Dip任务
9563
+ # 注意:此字段可能返回 null,表示取不到有效值。
9564
+ # @type IsUpdate: Boolean
9565
+ # @param Region: MQTT连接源的实例资源地域, 跨地域时必填
9566
+ # 注意:此字段可能返回 null,表示取不到有效值。
9567
+ # @type Region: String
9568
+
9569
+ attr_accessor :UserName, :Password, :Resource, :UniqVpcId, :SelfBuilt, :IsUpdate, :Region
9570
+
9571
+ def initialize(username=nil, password=nil, resource=nil, uniqvpcid=nil, selfbuilt=nil, isupdate=nil, region=nil)
9572
+ @UserName = username
9573
+ @Password = password
9574
+ @Resource = resource
9575
+ @UniqVpcId = uniqvpcid
9576
+ @SelfBuilt = selfbuilt
9577
+ @IsUpdate = isupdate
9578
+ @Region = region
9579
+ end
9580
+
9581
+ def deserialize(params)
9582
+ @UserName = params['UserName']
9583
+ @Password = params['Password']
9584
+ @Resource = params['Resource']
9585
+ @UniqVpcId = params['UniqVpcId']
9586
+ @SelfBuilt = params['SelfBuilt']
9587
+ @IsUpdate = params['IsUpdate']
9588
+ @Region = params['Region']
9589
+ end
9590
+ end
9591
+
9592
+ # 创建MQTT 为Source的Data Hub Task参数
9593
+ class MqttParam < TencentCloud::Common::AbstractModel
9594
+ # @param Topics: 需要同步的MQTT Topic列表, CSV格式
9595
+ # 注意:此字段可能返回 null,表示取不到有效值。
9596
+ # @type Topics: String
9597
+ # @param CleanSession: MQTT clean-session
9598
+ # 注意:此字段可能返回 null,表示取不到有效值。
9599
+ # @type CleanSession: Boolean
9600
+ # @param Resource: MQTT instance-id
9601
+ # 注意:此字段可能返回 null,表示取不到有效值。
9602
+ # @type Resource: String
9603
+ # @param Ip: MQTT实例VIP
9604
+ # 注意:此字段可能返回 null,表示取不到有效值。
9605
+ # @type Ip: String
9606
+ # @param Port: MQTT VIP 端口
9607
+ # 注意:此字段可能返回 null,表示取不到有效值。
9608
+ # @type Port: Integer
9609
+ # @param UserName: MQTT实例用户名
9610
+ # 注意:此字段可能返回 null,表示取不到有效值。
9611
+ # @type UserName: String
9612
+ # @param Password: MQTT实例内账户密码
9613
+ # 注意:此字段可能返回 null,表示取不到有效值。
9614
+ # @type Password: String
9615
+ # @param Qos: QoS
9616
+ # 注意:此字段可能返回 null,表示取不到有效值。
9617
+ # @type Qos: Integer
9618
+ # @param MaxTasks: tasks.max 订阅Topic的并发Task个数, 默认为1; 当设置大于1时, 使用Shared Subscription
9619
+ # 注意:此字段可能返回 null,表示取不到有效值。
9620
+ # @type MaxTasks: Integer
9621
+ # @param ServiceVip: MQTT 实例的Service VIP
9622
+ # 注意:此字段可能返回 null,表示取不到有效值。
9623
+ # @type ServiceVip: String
9624
+ # @param UniqVpcId: MQTT实例的VPC ID
9625
+ # 注意:此字段可能返回 null,表示取不到有效值。
9626
+ # @type UniqVpcId: String
9627
+ # @param SelfBuilt: 是否为自建集群, MQTT只支持非自建集群
9628
+ # 注意:此字段可能返回 null,表示取不到有效值。
9629
+ # @type SelfBuilt: Boolean
9630
+
9631
+ attr_accessor :Topics, :CleanSession, :Resource, :Ip, :Port, :UserName, :Password, :Qos, :MaxTasks, :ServiceVip, :UniqVpcId, :SelfBuilt
9632
+
9633
+ def initialize(topics=nil, cleansession=nil, resource=nil, ip=nil, port=nil, username=nil, password=nil, qos=nil, maxtasks=nil, servicevip=nil, uniqvpcid=nil, selfbuilt=nil)
9634
+ @Topics = topics
9635
+ @CleanSession = cleansession
9636
+ @Resource = resource
9637
+ @Ip = ip
9638
+ @Port = port
9639
+ @UserName = username
9640
+ @Password = password
9641
+ @Qos = qos
9642
+ @MaxTasks = maxtasks
9643
+ @ServiceVip = servicevip
9644
+ @UniqVpcId = uniqvpcid
9645
+ @SelfBuilt = selfbuilt
9646
+ end
9647
+
9648
+ def deserialize(params)
9649
+ @Topics = params['Topics']
9650
+ @CleanSession = params['CleanSession']
9651
+ @Resource = params['Resource']
9652
+ @Ip = params['Ip']
9653
+ @Port = params['Port']
9654
+ @UserName = params['UserName']
9655
+ @Password = params['Password']
9656
+ @Qos = params['Qos']
9657
+ @MaxTasks = params['MaxTasks']
9658
+ @ServiceVip = params['ServiceVip']
9659
+ @UniqVpcId = params['UniqVpcId']
9660
+ @SelfBuilt = params['SelfBuilt']
9661
+ end
9662
+ end
9663
+
9450
9664
  # MySQL连接源参数
9451
9665
  class MySQLConnectParam < TencentCloud::Common::AbstractModel
9452
9666
  # @param Port: MySQL的连接port
@@ -9923,30 +10137,43 @@ module TencentCloud
9923
10137
  # PostgreSQL类型入参
9924
10138
  class PostgreSQLParam < TencentCloud::Common::AbstractModel
9925
10139
  # @param Database: PostgreSQL的数据库名称
10140
+ # 注意:此字段可能返回 null,表示取不到有效值。
9926
10141
  # @type Database: String
9927
10142
  # @param Table: PostgreSQL的数据表名称,"*"为所监听的所有数据库中的非系统表,可以","间隔,监听多个数据表,但数据表需要以"Schema名.数据表名"的格式进行填写,需要填入正则表达式时,格式为"Schema名\\.数据表名"
10143
+ # 注意:此字段可能返回 null,表示取不到有效值。
9928
10144
  # @type Table: String
9929
10145
  # @param Resource: 该PostgreSQL在连接管理内的Id
10146
+ # 注意:此字段可能返回 null,表示取不到有效值。
9930
10147
  # @type Resource: String
9931
10148
  # @param PluginName: 插件名(decoderbufs/pgoutput),默认为decoderbufs
10149
+ # 注意:此字段可能返回 null,表示取不到有效值。
9932
10150
  # @type PluginName: String
9933
10151
  # @param SnapshotMode: 复制存量信息(never增量, initial全量),默认为initial
10152
+ # 注意:此字段可能返回 null,表示取不到有效值。
9934
10153
  # @type SnapshotMode: String
9935
10154
  # @param DataFormat: 上游数据格式(JSON/Debezium), 当数据库同步模式为默认字段匹配时,必填
10155
+ # 注意:此字段可能返回 null,表示取不到有效值。
9936
10156
  # @type DataFormat: String
9937
10157
  # @param DataTargetInsertMode: "INSERT" 表示使用 Insert 模式插入,"UPSERT" 表示使用 Upsert 模式插入
10158
+ # 注意:此字段可能返回 null,表示取不到有效值。
9938
10159
  # @type DataTargetInsertMode: String
9939
10160
  # @param DataTargetPrimaryKeyField: 当 "DataInsertMode"="UPSERT" 时,传入当前 upsert 时依赖的主键
10161
+ # 注意:此字段可能返回 null,表示取不到有效值。
9940
10162
  # @type DataTargetPrimaryKeyField: String
9941
10163
  # @param DataTargetRecordMapping: 表与消息间的映射关系
10164
+ # 注意:此字段可能返回 null,表示取不到有效值。
9942
10165
  # @type DataTargetRecordMapping: Array
9943
10166
  # @param DropInvalidMessage: 是否抛弃解析失败的消息,默认为true
10167
+ # 注意:此字段可能返回 null,表示取不到有效值。
9944
10168
  # @type DropInvalidMessage: Boolean
9945
10169
  # @param IsTableRegular: 输入的table是否为正则表达式
10170
+ # 注意:此字段可能返回 null,表示取不到有效值。
9946
10171
  # @type IsTableRegular: Boolean
9947
10172
  # @param KeyColumns: 格式:库1.表1:字段1,字段2;库2.表2:字段2,表之间;(分号)隔开,字段之间,(逗号)隔开。不指定的表默认取表的主键
10173
+ # 注意:此字段可能返回 null,表示取不到有效值。
9948
10174
  # @type KeyColumns: String
9949
10175
  # @param RecordWithSchema: 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
10176
+ # 注意:此字段可能返回 null,表示取不到有效值。
9950
10177
  # @type RecordWithSchema: Boolean
9951
10178
 
9952
10179
  attr_accessor :Database, :Table, :Resource, :PluginName, :SnapshotMode, :DataFormat, :DataTargetInsertMode, :DataTargetPrimaryKeyField, :DataTargetRecordMapping, :DropInvalidMessage, :IsTableRegular, :KeyColumns, :RecordWithSchema
@@ -10587,12 +10814,16 @@ module TencentCloud
10587
10814
  # SQLServer类型入参
10588
10815
  class SQLServerParam < TencentCloud::Common::AbstractModel
10589
10816
  # @param Database: SQLServer的数据库名称
10817
+ # 注意:此字段可能返回 null,表示取不到有效值。
10590
10818
  # @type Database: String
10591
10819
  # @param Table: SQLServer的数据表名称,"*"为所监听的所有数据库中的非系统表,可以","间隔,监听多个数据表,但数据表需要以"数据库名.数据表名"的格式进行填写
10820
+ # 注意:此字段可能返回 null,表示取不到有效值。
10592
10821
  # @type Table: String
10593
10822
  # @param Resource: 该SQLServer在连接管理内的Id
10823
+ # 注意:此字段可能返回 null,表示取不到有效值。
10594
10824
  # @type Resource: String
10595
10825
  # @param SnapshotMode: 复制存量信息(schema_only增量, initial全量),默认为initial
10826
+ # 注意:此字段可能返回 null,表示取不到有效值。
10596
10827
  # @type SnapshotMode: String
10597
10828
 
10598
10829
  attr_accessor :Database, :Table, :Resource, :SnapshotMode
@@ -10664,14 +10895,19 @@ module TencentCloud
10664
10895
  # Scf类型入参
10665
10896
  class ScfParam < TencentCloud::Common::AbstractModel
10666
10897
  # @param FunctionName: SCF云函数函数名
10898
+ # 注意:此字段可能返回 null,表示取不到有效值。
10667
10899
  # @type FunctionName: String
10668
10900
  # @param Namespace: SCF云函数命名空间, 默认为default
10901
+ # 注意:此字段可能返回 null,表示取不到有效值。
10669
10902
  # @type Namespace: String
10670
10903
  # @param Qualifier: SCF云函数版本及别名, 默认为$DEFAULT
10904
+ # 注意:此字段可能返回 null,表示取不到有效值。
10671
10905
  # @type Qualifier: String
10672
10906
  # @param BatchSize: 每批最大发送消息数, 默认为1000
10907
+ # 注意:此字段可能返回 null,表示取不到有效值。
10673
10908
  # @type BatchSize: Integer
10674
10909
  # @param MaxRetries: SCF调用失败后重试次数, 默认为5
10910
+ # 注意:此字段可能返回 null,表示取不到有效值。
10675
10911
  # @type MaxRetries: Integer
10676
10912
 
10677
10913
  attr_accessor :FunctionName, :Namespace, :Qualifier, :BatchSize, :MaxRetries
@@ -10905,14 +11141,19 @@ module TencentCloud
10905
11141
  # Tdw类型入参
10906
11142
  class TdwParam < TencentCloud::Common::AbstractModel
10907
11143
  # @param Bid: Tdw的bid
11144
+ # 注意:此字段可能返回 null,表示取不到有效值。
10908
11145
  # @type Bid: String
10909
11146
  # @param Tid: Tdw的tid
11147
+ # 注意:此字段可能返回 null,表示取不到有效值。
10910
11148
  # @type Tid: String
10911
11149
  # @param IsDomestic: 默认true
11150
+ # 注意:此字段可能返回 null,表示取不到有效值。
10912
11151
  # @type IsDomestic: Boolean
10913
11152
  # @param TdwHost: TDW地址,默认tl-tdbank-tdmanager.tencent-distribute.com
11153
+ # 注意:此字段可能返回 null,表示取不到有效值。
10914
11154
  # @type TdwHost: String
10915
11155
  # @param TdwPort: TDW端口,默认8099
11156
+ # 注意:此字段可能返回 null,表示取不到有效值。
10916
11157
  # @type TdwPort: Integer
10917
11158
 
10918
11159
  attr_accessor :Bid, :Tid, :IsDomestic, :TdwHost, :TdwPort
@@ -11935,8 +12176,8 @@ module TencentCloud
11935
12176
 
11936
12177
  attr_accessor :ZoneId, :IsInternalApp, :AppId, :Flag, :ZoneName, :ZoneStatus, :Exflag, :SoldOut, :SalesInfo, :ExtraFlag
11937
12178
  extend Gem::Deprecate
11938
- deprecate :Exflag, :none, 2024, 4
11939
- deprecate :Exflag=, :none, 2024, 4
12179
+ deprecate :Exflag, :none, 2024, 5
12180
+ deprecate :Exflag=, :none, 2024, 5
11940
12181
 
11941
12182
  def initialize(zoneid=nil, isinternalapp=nil, appid=nil, flag=nil, zonename=nil, zonestatus=nil, exflag=nil, soldout=nil, salesinfo=nil, extraflag=nil)
11942
12183
  @ZoneId = zoneid
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.821
4
+ version: 3.0.822
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-05-14 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common