tencentcloud-sdk-cls 3.0.1165 → 3.0.1168
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/v20201016/models.rb +298 -29
- 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: af2a3ebf4cc49262e0fa8e0773fc8dd3f1d61bba
|
|
4
|
+
data.tar.gz: 67c7aecc6df9d40a184a4e9d971d9fdfce9bdc94
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d529247faa9091b19f443dd9d6b14cf0512d02111e304b93572055d934d9c5d8ca3583593b2d52eee901386eafc50411da4c769aa2ecfd02d178a49b6ab549cd
|
|
7
|
+
data.tar.gz: aec6be0d4a4dc67132bc4378d79bcc7dd04cc42a626e71fbcfc5677e1c0a62b194659ef0a7d0ed36571f0f96577b19ee7037e02c824d8d5677e497422a456685
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1168
|
data/lib/v20201016/models.rb
CHANGED
|
@@ -927,15 +927,18 @@ module TencentCloud
|
|
|
927
927
|
# @type IsEncryptionAddr: Boolean
|
|
928
928
|
# @param Protocol: 加密访问协议。KafkaType参数为1并且IsEncryptionAddr参数为true时必填。
|
|
929
929
|
# @type Protocol: :class:`Tencentcloud::Cls.v20201016.models.KafkaProtocolInfo`
|
|
930
|
+
# @param UserKafkaMeta: 用户kafka拓展信息
|
|
931
|
+
# @type UserKafkaMeta: :class:`Tencentcloud::Cls.v20201016.models.UserKafkaMeta`
|
|
930
932
|
|
|
931
|
-
attr_accessor :KafkaType, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol
|
|
933
|
+
attr_accessor :KafkaType, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :UserKafkaMeta
|
|
932
934
|
|
|
933
|
-
def initialize(kafkatype=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil)
|
|
935
|
+
def initialize(kafkatype=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, userkafkameta=nil)
|
|
934
936
|
@KafkaType = kafkatype
|
|
935
937
|
@KafkaInstance = kafkainstance
|
|
936
938
|
@ServerAddr = serveraddr
|
|
937
939
|
@IsEncryptionAddr = isencryptionaddr
|
|
938
940
|
@Protocol = protocol
|
|
941
|
+
@UserKafkaMeta = userkafkameta
|
|
939
942
|
end
|
|
940
943
|
|
|
941
944
|
def deserialize(params)
|
|
@@ -947,6 +950,10 @@ module TencentCloud
|
|
|
947
950
|
@Protocol = KafkaProtocolInfo.new
|
|
948
951
|
@Protocol.deserialize(params['Protocol'])
|
|
949
952
|
end
|
|
953
|
+
unless params['UserKafkaMeta'].nil?
|
|
954
|
+
@UserKafkaMeta = UserKafkaMeta.new
|
|
955
|
+
@UserKafkaMeta.deserialize(params['UserKafkaMeta'])
|
|
956
|
+
end
|
|
950
957
|
end
|
|
951
958
|
end
|
|
952
959
|
|
|
@@ -1397,10 +1404,12 @@ module TencentCloud
|
|
|
1397
1404
|
|
|
1398
1405
|
# 控制台默认占位值:`{\"ClsAgentDefault\":0}`
|
|
1399
1406
|
# @type AdvancedConfig: String
|
|
1407
|
+
# @param InputType: 日志输入类型,支持file、window_event、syslog、k8s_stdout、k8s_file
|
|
1408
|
+
# @type InputType: String
|
|
1400
1409
|
|
|
1401
|
-
attr_accessor :ConfigId, :Name, :LogFormat, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UpdateTime, :CreateTime, :UserDefineRule, :AdvancedConfig
|
|
1410
|
+
attr_accessor :ConfigId, :Name, :LogFormat, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UpdateTime, :CreateTime, :UserDefineRule, :AdvancedConfig, :InputType
|
|
1402
1411
|
|
|
1403
|
-
def initialize(configid=nil, name=nil, logformat=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, updatetime=nil, createtime=nil, userdefinerule=nil, advancedconfig=nil)
|
|
1412
|
+
def initialize(configid=nil, name=nil, logformat=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, updatetime=nil, createtime=nil, userdefinerule=nil, advancedconfig=nil, inputtype=nil)
|
|
1404
1413
|
@ConfigId = configid
|
|
1405
1414
|
@Name = name
|
|
1406
1415
|
@LogFormat = logformat
|
|
@@ -1413,6 +1422,7 @@ module TencentCloud
|
|
|
1413
1422
|
@CreateTime = createtime
|
|
1414
1423
|
@UserDefineRule = userdefinerule
|
|
1415
1424
|
@AdvancedConfig = advancedconfig
|
|
1425
|
+
@InputType = inputtype
|
|
1416
1426
|
end
|
|
1417
1427
|
|
|
1418
1428
|
def deserialize(params)
|
|
@@ -1438,6 +1448,7 @@ module TencentCloud
|
|
|
1438
1448
|
@CreateTime = params['CreateTime']
|
|
1439
1449
|
@UserDefineRule = params['UserDefineRule']
|
|
1440
1450
|
@AdvancedConfig = params['AdvancedConfig']
|
|
1451
|
+
@InputType = params['InputType']
|
|
1441
1452
|
end
|
|
1442
1453
|
end
|
|
1443
1454
|
|
|
@@ -2613,10 +2624,12 @@ module TencentCloud
|
|
|
2613
2624
|
|
|
2614
2625
|
# 控制台默认占位值:`{\"ClsAgentDefault\":0}`
|
|
2615
2626
|
# @type AdvancedConfig: String
|
|
2627
|
+
# @param InputType: 日志输入类型,支持file、window_event、syslog、k8s_stdout、k8s_file
|
|
2628
|
+
# @type InputType: String
|
|
2616
2629
|
|
|
2617
|
-
attr_accessor :Name, :Output, :Path, :LogType, :ExtractRule, :ExcludePaths, :UserDefineRule, :AdvancedConfig
|
|
2630
|
+
attr_accessor :Name, :Output, :Path, :LogType, :ExtractRule, :ExcludePaths, :UserDefineRule, :AdvancedConfig, :InputType
|
|
2618
2631
|
|
|
2619
|
-
def initialize(name=nil, output=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, advancedconfig=nil)
|
|
2632
|
+
def initialize(name=nil, output=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, advancedconfig=nil, inputtype=nil)
|
|
2620
2633
|
@Name = name
|
|
2621
2634
|
@Output = output
|
|
2622
2635
|
@Path = path
|
|
@@ -2625,6 +2638,7 @@ module TencentCloud
|
|
|
2625
2638
|
@ExcludePaths = excludepaths
|
|
2626
2639
|
@UserDefineRule = userdefinerule
|
|
2627
2640
|
@AdvancedConfig = advancedconfig
|
|
2641
|
+
@InputType = inputtype
|
|
2628
2642
|
end
|
|
2629
2643
|
|
|
2630
2644
|
def deserialize(params)
|
|
@@ -2646,6 +2660,7 @@ module TencentCloud
|
|
|
2646
2660
|
end
|
|
2647
2661
|
@UserDefineRule = params['UserDefineRule']
|
|
2648
2662
|
@AdvancedConfig = params['AdvancedConfig']
|
|
2663
|
+
@InputType = params['InputType']
|
|
2649
2664
|
end
|
|
2650
2665
|
end
|
|
2651
2666
|
|
|
@@ -2946,16 +2961,38 @@ module TencentCloud
|
|
|
2946
2961
|
# @param PreviewLogStatistics: 用于预览加工结果的测试数据
|
|
2947
2962
|
# 目标日志主题ID通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
2948
2963
|
# @type PreviewLogStatistics: Array
|
|
2964
|
+
# @param BackupGiveUpData: 当FuncType为2时,动态创建的日志集、日志主题的个数超出产品规格限制是否丢弃数据, 默认为false。
|
|
2965
|
+
|
|
2966
|
+
# false:创建兜底日志集、日志主题并将日志写入兜底主题;
|
|
2967
|
+
# true:丢弃日志数据。
|
|
2968
|
+
# @type BackupGiveUpData: Boolean
|
|
2969
|
+
# @param HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。
|
|
2970
|
+
# @type HasServicesLog: Integer
|
|
2949
2971
|
# @param DataTransformType: 数据加工类型。0:标准加工任务; 1:前置加工任务。前置加工任务将采集的日志处理完成后,再写入日志主题。
|
|
2950
2972
|
# @type DataTransformType: Integer
|
|
2951
2973
|
# @param KeepFailureLog: 保留失败日志状态,1:不保留(默认),2:保留。
|
|
2952
2974
|
# @type KeepFailureLog: Integer
|
|
2953
2975
|
# @param FailureLogKey: 失败日志的字段名称
|
|
2954
2976
|
# @type FailureLogKey: String
|
|
2977
|
+
# @param ProcessFromTimestamp: 指定加工数据的开始时间, 秒级时间戳。
|
|
2978
|
+
# - 日志主题生命周期内的任意时间范围,如果超出了生命周期,只处理生命周期内有数据的部分。
|
|
2979
|
+
# @type ProcessFromTimestamp: Integer
|
|
2980
|
+
# @param ProcessToTimestamp: 指定加工数据的结束时间,秒级时间戳。
|
|
2981
|
+
|
|
2982
|
+
# - 不可指定未来的时间
|
|
2983
|
+
# - 不填则表示持续执行
|
|
2984
|
+
# @type ProcessToTimestamp: Integer
|
|
2985
|
+
# @param TaskId: 对已经创建的并且使用了关联外部数据库能力的任务预览(TaskType 为 1 或 2)时,该值必传
|
|
2986
|
+
# 数据加工任务ID- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。
|
|
2987
|
+
# @type TaskId: String
|
|
2988
|
+
# @param DataTransformSqlDataSources: 关联的数据源信息
|
|
2989
|
+
# @type DataTransformSqlDataSources: Array
|
|
2990
|
+
# @param EnvInfos: 设置的环境变量
|
|
2991
|
+
# @type EnvInfos: Array
|
|
2955
2992
|
|
|
2956
|
-
attr_accessor :FuncType, :SrcTopicId, :Name, :EtlContent, :TaskType, :DstResources, :EnableFlag, :PreviewLogStatistics, :DataTransformType, :KeepFailureLog, :FailureLogKey
|
|
2993
|
+
attr_accessor :FuncType, :SrcTopicId, :Name, :EtlContent, :TaskType, :DstResources, :EnableFlag, :PreviewLogStatistics, :BackupGiveUpData, :HasServicesLog, :DataTransformType, :KeepFailureLog, :FailureLogKey, :ProcessFromTimestamp, :ProcessToTimestamp, :TaskId, :DataTransformSqlDataSources, :EnvInfos
|
|
2957
2994
|
|
|
2958
|
-
def initialize(functype=nil, srctopicid=nil, name=nil, etlcontent=nil, tasktype=nil, dstresources=nil, enableflag=nil, previewlogstatistics=nil, datatransformtype=nil, keepfailurelog=nil, failurelogkey=nil)
|
|
2995
|
+
def initialize(functype=nil, srctopicid=nil, name=nil, etlcontent=nil, tasktype=nil, dstresources=nil, enableflag=nil, previewlogstatistics=nil, backupgiveupdata=nil, hasserviceslog=nil, datatransformtype=nil, keepfailurelog=nil, failurelogkey=nil, processfromtimestamp=nil, processtotimestamp=nil, taskid=nil, datatransformsqldatasources=nil, envinfos=nil)
|
|
2959
2996
|
@FuncType = functype
|
|
2960
2997
|
@SrcTopicId = srctopicid
|
|
2961
2998
|
@Name = name
|
|
@@ -2964,9 +3001,16 @@ module TencentCloud
|
|
|
2964
3001
|
@DstResources = dstresources
|
|
2965
3002
|
@EnableFlag = enableflag
|
|
2966
3003
|
@PreviewLogStatistics = previewlogstatistics
|
|
3004
|
+
@BackupGiveUpData = backupgiveupdata
|
|
3005
|
+
@HasServicesLog = hasserviceslog
|
|
2967
3006
|
@DataTransformType = datatransformtype
|
|
2968
3007
|
@KeepFailureLog = keepfailurelog
|
|
2969
3008
|
@FailureLogKey = failurelogkey
|
|
3009
|
+
@ProcessFromTimestamp = processfromtimestamp
|
|
3010
|
+
@ProcessToTimestamp = processtotimestamp
|
|
3011
|
+
@TaskId = taskid
|
|
3012
|
+
@DataTransformSqlDataSources = datatransformsqldatasources
|
|
3013
|
+
@EnvInfos = envinfos
|
|
2970
3014
|
end
|
|
2971
3015
|
|
|
2972
3016
|
def deserialize(params)
|
|
@@ -2992,9 +3036,30 @@ module TencentCloud
|
|
|
2992
3036
|
@PreviewLogStatistics << previewlogstatistic_tmp
|
|
2993
3037
|
end
|
|
2994
3038
|
end
|
|
3039
|
+
@BackupGiveUpData = params['BackupGiveUpData']
|
|
3040
|
+
@HasServicesLog = params['HasServicesLog']
|
|
2995
3041
|
@DataTransformType = params['DataTransformType']
|
|
2996
3042
|
@KeepFailureLog = params['KeepFailureLog']
|
|
2997
3043
|
@FailureLogKey = params['FailureLogKey']
|
|
3044
|
+
@ProcessFromTimestamp = params['ProcessFromTimestamp']
|
|
3045
|
+
@ProcessToTimestamp = params['ProcessToTimestamp']
|
|
3046
|
+
@TaskId = params['TaskId']
|
|
3047
|
+
unless params['DataTransformSqlDataSources'].nil?
|
|
3048
|
+
@DataTransformSqlDataSources = []
|
|
3049
|
+
params['DataTransformSqlDataSources'].each do |i|
|
|
3050
|
+
datatransformsqldatasource_tmp = DataTransformSqlDataSource.new
|
|
3051
|
+
datatransformsqldatasource_tmp.deserialize(i)
|
|
3052
|
+
@DataTransformSqlDataSources << datatransformsqldatasource_tmp
|
|
3053
|
+
end
|
|
3054
|
+
end
|
|
3055
|
+
unless params['EnvInfos'].nil?
|
|
3056
|
+
@EnvInfos = []
|
|
3057
|
+
params['EnvInfos'].each do |i|
|
|
3058
|
+
envinfo_tmp = EnvInfo.new
|
|
3059
|
+
envinfo_tmp.deserialize(i)
|
|
3060
|
+
@EnvInfos << envinfo_tmp
|
|
3061
|
+
end
|
|
3062
|
+
end
|
|
2998
3063
|
end
|
|
2999
3064
|
end
|
|
3000
3065
|
|
|
@@ -3231,10 +3296,12 @@ module TencentCloud
|
|
|
3231
3296
|
# @param ConsumerGroupName: 用户Kafka消费组名称。
|
|
3232
3297
|
# - 消费组是 Kafka 提供的可扩展且具有容错性的消费者机制,一个消费组中存在多个消费者,组内的所有消费者共同消费订阅 Topic 中的消息。一个消费者可同时消费多个 Partition,但一个 Partition 只能被消费组内的一个消费者消费。
|
|
3233
3298
|
# @type ConsumerGroupName: String
|
|
3299
|
+
# @param UserKafkaMeta: 用户kafka拓展信息
|
|
3300
|
+
# @type UserKafkaMeta: :class:`Tencentcloud::Cls.v20201016.models.UserKafkaMeta`
|
|
3234
3301
|
|
|
3235
|
-
attr_accessor :TopicId, :Name, :KafkaType, :UserKafkaTopics, :Offset, :LogRechargeRule, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :ConsumerGroupName
|
|
3302
|
+
attr_accessor :TopicId, :Name, :KafkaType, :UserKafkaTopics, :Offset, :LogRechargeRule, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :ConsumerGroupName, :UserKafkaMeta
|
|
3236
3303
|
|
|
3237
|
-
def initialize(topicid=nil, name=nil, kafkatype=nil, userkafkatopics=nil, offset=nil, logrechargerule=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, consumergroupname=nil)
|
|
3304
|
+
def initialize(topicid=nil, name=nil, kafkatype=nil, userkafkatopics=nil, offset=nil, logrechargerule=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, consumergroupname=nil, userkafkameta=nil)
|
|
3238
3305
|
@TopicId = topicid
|
|
3239
3306
|
@Name = name
|
|
3240
3307
|
@KafkaType = kafkatype
|
|
@@ -3246,6 +3313,7 @@ module TencentCloud
|
|
|
3246
3313
|
@IsEncryptionAddr = isencryptionaddr
|
|
3247
3314
|
@Protocol = protocol
|
|
3248
3315
|
@ConsumerGroupName = consumergroupname
|
|
3316
|
+
@UserKafkaMeta = userkafkameta
|
|
3249
3317
|
end
|
|
3250
3318
|
|
|
3251
3319
|
def deserialize(params)
|
|
@@ -3266,6 +3334,10 @@ module TencentCloud
|
|
|
3266
3334
|
@Protocol.deserialize(params['Protocol'])
|
|
3267
3335
|
end
|
|
3268
3336
|
@ConsumerGroupName = params['ConsumerGroupName']
|
|
3337
|
+
unless params['UserKafkaMeta'].nil?
|
|
3338
|
+
@UserKafkaMeta = UserKafkaMeta.new
|
|
3339
|
+
@UserKafkaMeta.deserialize(params['UserKafkaMeta'])
|
|
3340
|
+
end
|
|
3269
3341
|
end
|
|
3270
3342
|
end
|
|
3271
3343
|
|
|
@@ -4227,6 +4299,43 @@ module TencentCloud
|
|
|
4227
4299
|
end
|
|
4228
4300
|
end
|
|
4229
4301
|
|
|
4302
|
+
# 外部表SQL信息
|
|
4303
|
+
class DataTransformSqlDataSource < TencentCloud::Common::AbstractModel
|
|
4304
|
+
# @param DataSource: 数据源类型 1:MySql;2:自建mysql;3:pgsql
|
|
4305
|
+
# @type DataSource: Integer
|
|
4306
|
+
# @param Region: InstanceId所属地域。例如:ap-guangzhou
|
|
4307
|
+
# @type Region: String
|
|
4308
|
+
# @param InstanceId: 实例Id。
|
|
4309
|
+
# - 当DataSource为1时,表示云数据库Mysql 实例id,如:cdb-zxcvbnm
|
|
4310
|
+
# @type InstanceId: String
|
|
4311
|
+
# @param User: mysql访问用户名
|
|
4312
|
+
# @type User: String
|
|
4313
|
+
# @param AliasName: 别名。数据加工语句中使用
|
|
4314
|
+
# @type AliasName: String
|
|
4315
|
+
# @param Password: mysql访问密码。
|
|
4316
|
+
# @type Password: String
|
|
4317
|
+
|
|
4318
|
+
attr_accessor :DataSource, :Region, :InstanceId, :User, :AliasName, :Password
|
|
4319
|
+
|
|
4320
|
+
def initialize(datasource=nil, region=nil, instanceid=nil, user=nil, aliasname=nil, password=nil)
|
|
4321
|
+
@DataSource = datasource
|
|
4322
|
+
@Region = region
|
|
4323
|
+
@InstanceId = instanceid
|
|
4324
|
+
@User = user
|
|
4325
|
+
@AliasName = aliasname
|
|
4326
|
+
@Password = password
|
|
4327
|
+
end
|
|
4328
|
+
|
|
4329
|
+
def deserialize(params)
|
|
4330
|
+
@DataSource = params['DataSource']
|
|
4331
|
+
@Region = params['Region']
|
|
4332
|
+
@InstanceId = params['InstanceId']
|
|
4333
|
+
@User = params['User']
|
|
4334
|
+
@AliasName = params['AliasName']
|
|
4335
|
+
@Password = params['Password']
|
|
4336
|
+
end
|
|
4337
|
+
end
|
|
4338
|
+
|
|
4230
4339
|
# 数据加工任务基本详情
|
|
4231
4340
|
class DataTransformTaskInfo < TencentCloud::Common::AbstractModel
|
|
4232
4341
|
# @param Name: 数据加工任务名称
|
|
@@ -4241,7 +4350,7 @@ module TencentCloud
|
|
|
4241
4350
|
# @type SrcTopicId: String
|
|
4242
4351
|
# @param Status: 当前加工任务状态(1准备中/2运行中/3停止中/4已停止)
|
|
4243
4352
|
# @type Status: Integer
|
|
4244
|
-
# @param CreateTime:
|
|
4353
|
+
# @param CreateTime: 创建时间
|
|
4245
4354
|
# 时间格式:yyyy-MM-dd HH:mm:ss
|
|
4246
4355
|
# @type CreateTime: String
|
|
4247
4356
|
# @param UpdateTime: 最近修改时间
|
|
@@ -4258,16 +4367,35 @@ module TencentCloud
|
|
|
4258
4367
|
# @type DstResources: Array
|
|
4259
4368
|
# @param EtlContent: 加工逻辑函数。
|
|
4260
4369
|
# @type EtlContent: String
|
|
4370
|
+
# @param BackupTopicID: 兜底topic_id
|
|
4371
|
+
# @type BackupTopicID: String
|
|
4372
|
+
# @param BackupGiveUpData: 超限之后是否丢弃日志数据
|
|
4373
|
+
# @type BackupGiveUpData: Boolean
|
|
4374
|
+
# @param HasServicesLog: 是否开启投递服务日志。 1关闭,2开启
|
|
4375
|
+
# @type HasServicesLog: Integer
|
|
4376
|
+
# @param TaskDstCount: 任务目标日志主题数量
|
|
4377
|
+
# @type TaskDstCount: Integer
|
|
4261
4378
|
# @param DataTransformType: 数据加工类型。0:标准加工任务;1:前置加工任务。
|
|
4262
4379
|
# @type DataTransformType: Integer
|
|
4263
4380
|
# @param KeepFailureLog: 保留失败日志状态。 1:不保留,2:保留
|
|
4264
4381
|
# @type KeepFailureLog: Integer
|
|
4265
4382
|
# @param FailureLogKey: 失败日志的字段名称
|
|
4266
4383
|
# @type FailureLogKey: String
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4384
|
+
# @param ProcessFromTimestamp: 指定加工数据的开始时间,秒级时间戳。
|
|
4385
|
+
# - 日志主题生命周期内的任意时间范围,如果超出了生命周期,只处理生命周期内有数据的部分。
|
|
4386
|
+
# @type ProcessFromTimestamp: Integer
|
|
4387
|
+
# @param ProcessToTimestamp: 指定加工数据的结束时间,秒级时间戳。
|
|
4388
|
+
# 1. 不可指定未来的时间
|
|
4389
|
+
# 2. 不填则表示持续执行
|
|
4390
|
+
# @type ProcessToTimestamp: Integer
|
|
4391
|
+
# @param DataTransformSqlDataSources: sql数据源信息
|
|
4392
|
+
# @type DataTransformSqlDataSources: Array
|
|
4393
|
+
# @param EnvInfos: 环境变量
|
|
4394
|
+
# @type EnvInfos: Array
|
|
4395
|
+
|
|
4396
|
+
attr_accessor :Name, :TaskId, :EnableFlag, :Type, :SrcTopicId, :Status, :CreateTime, :UpdateTime, :LastEnableTime, :SrcTopicName, :LogsetId, :DstResources, :EtlContent, :BackupTopicID, :BackupGiveUpData, :HasServicesLog, :TaskDstCount, :DataTransformType, :KeepFailureLog, :FailureLogKey, :ProcessFromTimestamp, :ProcessToTimestamp, :DataTransformSqlDataSources, :EnvInfos
|
|
4397
|
+
|
|
4398
|
+
def initialize(name=nil, taskid=nil, enableflag=nil, type=nil, srctopicid=nil, status=nil, createtime=nil, updatetime=nil, lastenabletime=nil, srctopicname=nil, logsetid=nil, dstresources=nil, etlcontent=nil, backuptopicid=nil, backupgiveupdata=nil, hasserviceslog=nil, taskdstcount=nil, datatransformtype=nil, keepfailurelog=nil, failurelogkey=nil, processfromtimestamp=nil, processtotimestamp=nil, datatransformsqldatasources=nil, envinfos=nil)
|
|
4271
4399
|
@Name = name
|
|
4272
4400
|
@TaskId = taskid
|
|
4273
4401
|
@EnableFlag = enableflag
|
|
@@ -4281,9 +4409,17 @@ module TencentCloud
|
|
|
4281
4409
|
@LogsetId = logsetid
|
|
4282
4410
|
@DstResources = dstresources
|
|
4283
4411
|
@EtlContent = etlcontent
|
|
4412
|
+
@BackupTopicID = backuptopicid
|
|
4413
|
+
@BackupGiveUpData = backupgiveupdata
|
|
4414
|
+
@HasServicesLog = hasserviceslog
|
|
4415
|
+
@TaskDstCount = taskdstcount
|
|
4284
4416
|
@DataTransformType = datatransformtype
|
|
4285
4417
|
@KeepFailureLog = keepfailurelog
|
|
4286
4418
|
@FailureLogKey = failurelogkey
|
|
4419
|
+
@ProcessFromTimestamp = processfromtimestamp
|
|
4420
|
+
@ProcessToTimestamp = processtotimestamp
|
|
4421
|
+
@DataTransformSqlDataSources = datatransformsqldatasources
|
|
4422
|
+
@EnvInfos = envinfos
|
|
4287
4423
|
end
|
|
4288
4424
|
|
|
4289
4425
|
def deserialize(params)
|
|
@@ -4307,9 +4443,31 @@ module TencentCloud
|
|
|
4307
4443
|
end
|
|
4308
4444
|
end
|
|
4309
4445
|
@EtlContent = params['EtlContent']
|
|
4446
|
+
@BackupTopicID = params['BackupTopicID']
|
|
4447
|
+
@BackupGiveUpData = params['BackupGiveUpData']
|
|
4448
|
+
@HasServicesLog = params['HasServicesLog']
|
|
4449
|
+
@TaskDstCount = params['TaskDstCount']
|
|
4310
4450
|
@DataTransformType = params['DataTransformType']
|
|
4311
4451
|
@KeepFailureLog = params['KeepFailureLog']
|
|
4312
4452
|
@FailureLogKey = params['FailureLogKey']
|
|
4453
|
+
@ProcessFromTimestamp = params['ProcessFromTimestamp']
|
|
4454
|
+
@ProcessToTimestamp = params['ProcessToTimestamp']
|
|
4455
|
+
unless params['DataTransformSqlDataSources'].nil?
|
|
4456
|
+
@DataTransformSqlDataSources = []
|
|
4457
|
+
params['DataTransformSqlDataSources'].each do |i|
|
|
4458
|
+
datatransformsqldatasource_tmp = DataTransformSqlDataSource.new
|
|
4459
|
+
datatransformsqldatasource_tmp.deserialize(i)
|
|
4460
|
+
@DataTransformSqlDataSources << datatransformsqldatasource_tmp
|
|
4461
|
+
end
|
|
4462
|
+
end
|
|
4463
|
+
unless params['EnvInfos'].nil?
|
|
4464
|
+
@EnvInfos = []
|
|
4465
|
+
params['EnvInfos'].each do |i|
|
|
4466
|
+
envinfo_tmp = EnvInfo.new
|
|
4467
|
+
envinfo_tmp.deserialize(i)
|
|
4468
|
+
@EnvInfos << envinfo_tmp
|
|
4469
|
+
end
|
|
4470
|
+
end
|
|
4313
4471
|
end
|
|
4314
4472
|
end
|
|
4315
4473
|
|
|
@@ -6139,7 +6297,7 @@ module TencentCloud
|
|
|
6139
6297
|
# 必选:否
|
|
6140
6298
|
# 示例:756cec3e-a0a5-44c3-85a8-090870582000
|
|
6141
6299
|
# 日志主题ID
|
|
6142
|
-
#
|
|
6300
|
+
# 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
6143
6301
|
|
|
6144
6302
|
# - status
|
|
6145
6303
|
# 按照【 任务运行状态】进行过滤。 1:准备中,2:运行中,3:停止中,4:已停止
|
|
@@ -7612,6 +7770,26 @@ module TencentCloud
|
|
|
7612
7770
|
end
|
|
7613
7771
|
end
|
|
7614
7772
|
|
|
7773
|
+
# 数据加工-高级设置-环境变量
|
|
7774
|
+
class EnvInfo < TencentCloud::Common::AbstractModel
|
|
7775
|
+
# @param Key: 环境变量名
|
|
7776
|
+
# @type Key: String
|
|
7777
|
+
# @param Value: 环境变量值
|
|
7778
|
+
# @type Value: String
|
|
7779
|
+
|
|
7780
|
+
attr_accessor :Key, :Value
|
|
7781
|
+
|
|
7782
|
+
def initialize(key=nil, value=nil)
|
|
7783
|
+
@Key = key
|
|
7784
|
+
@Value = value
|
|
7785
|
+
end
|
|
7786
|
+
|
|
7787
|
+
def deserialize(params)
|
|
7788
|
+
@Key = params['Key']
|
|
7789
|
+
@Value = params['Value']
|
|
7790
|
+
end
|
|
7791
|
+
end
|
|
7792
|
+
|
|
7615
7793
|
# 升级通知
|
|
7616
7794
|
class EscalateNoticeInfo < TencentCloud::Common::AbstractModel
|
|
7617
7795
|
# @param NoticeReceivers: 告警通知模板接收者信息。
|
|
@@ -8454,10 +8632,12 @@ module TencentCloud
|
|
|
8454
8632
|
# @type UpdateTime: String
|
|
8455
8633
|
# @param LogRechargeRule: 日志导入规则
|
|
8456
8634
|
# @type LogRechargeRule: :class:`Tencentcloud::Cls.v20201016.models.LogRechargeRuleInfo`
|
|
8635
|
+
# @param UserKafkaMeta: 用户kafka拓展信息
|
|
8636
|
+
# @type UserKafkaMeta: :class:`Tencentcloud::Cls.v20201016.models.UserKafkaMeta`
|
|
8457
8637
|
|
|
8458
|
-
attr_accessor :Id, :TopicId, :Name, :KafkaType, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :UserKafkaTopics, :ConsumerGroupName, :Status, :Offset, :CreateTime, :UpdateTime, :LogRechargeRule
|
|
8638
|
+
attr_accessor :Id, :TopicId, :Name, :KafkaType, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :UserKafkaTopics, :ConsumerGroupName, :Status, :Offset, :CreateTime, :UpdateTime, :LogRechargeRule, :UserKafkaMeta
|
|
8459
8639
|
|
|
8460
|
-
def initialize(id=nil, topicid=nil, name=nil, kafkatype=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, userkafkatopics=nil, consumergroupname=nil, status=nil, offset=nil, createtime=nil, updatetime=nil, logrechargerule=nil)
|
|
8640
|
+
def initialize(id=nil, topicid=nil, name=nil, kafkatype=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, userkafkatopics=nil, consumergroupname=nil, status=nil, offset=nil, createtime=nil, updatetime=nil, logrechargerule=nil, userkafkameta=nil)
|
|
8461
8641
|
@Id = id
|
|
8462
8642
|
@TopicId = topicid
|
|
8463
8643
|
@Name = name
|
|
@@ -8473,6 +8653,7 @@ module TencentCloud
|
|
|
8473
8653
|
@CreateTime = createtime
|
|
8474
8654
|
@UpdateTime = updatetime
|
|
8475
8655
|
@LogRechargeRule = logrechargerule
|
|
8656
|
+
@UserKafkaMeta = userkafkameta
|
|
8476
8657
|
end
|
|
8477
8658
|
|
|
8478
8659
|
def deserialize(params)
|
|
@@ -8497,6 +8678,10 @@ module TencentCloud
|
|
|
8497
8678
|
@LogRechargeRule = LogRechargeRuleInfo.new
|
|
8498
8679
|
@LogRechargeRule.deserialize(params['LogRechargeRule'])
|
|
8499
8680
|
end
|
|
8681
|
+
unless params['UserKafkaMeta'].nil?
|
|
8682
|
+
@UserKafkaMeta = UserKafkaMeta.new
|
|
8683
|
+
@UserKafkaMeta.deserialize(params['UserKafkaMeta'])
|
|
8684
|
+
end
|
|
8500
8685
|
end
|
|
8501
8686
|
end
|
|
8502
8687
|
|
|
@@ -8833,14 +9018,17 @@ module TencentCloud
|
|
|
8833
9018
|
# @type TimeZone: String
|
|
8834
9019
|
# @param Metadata: 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp
|
|
8835
9020
|
# @type Metadata: Array
|
|
8836
|
-
# @param Keys: 日志Key列表,RechargeType为full_regex_log时必填
|
|
9021
|
+
# @param Keys: 日志Key列表,RechargeType为full_regex_log、delimiter_log时必填
|
|
8837
9022
|
# @type Keys: Array
|
|
8838
9023
|
# @param ParseArray: json解析模式,开启首层数据解析
|
|
8839
9024
|
# @type ParseArray: Boolean
|
|
9025
|
+
# @param Delimiter: 分隔符解析模式-分隔符
|
|
9026
|
+
# 当解析格式为分隔符提取时,该字段必填
|
|
9027
|
+
# @type Delimiter: String
|
|
8840
9028
|
|
|
8841
|
-
attr_accessor :RechargeType, :EncodingFormat, :DefaultTimeSwitch, :LogRegex, :UnMatchLogSwitch, :UnMatchLogKey, :UnMatchLogTimeSrc, :DefaultTimeSrc, :TimeKey, :TimeRegex, :TimeFormat, :TimeZone, :Metadata, :Keys, :ParseArray
|
|
9029
|
+
attr_accessor :RechargeType, :EncodingFormat, :DefaultTimeSwitch, :LogRegex, :UnMatchLogSwitch, :UnMatchLogKey, :UnMatchLogTimeSrc, :DefaultTimeSrc, :TimeKey, :TimeRegex, :TimeFormat, :TimeZone, :Metadata, :Keys, :ParseArray, :Delimiter
|
|
8842
9030
|
|
|
8843
|
-
def initialize(rechargetype=nil, encodingformat=nil, defaulttimeswitch=nil, logregex=nil, unmatchlogswitch=nil, unmatchlogkey=nil, unmatchlogtimesrc=nil, defaulttimesrc=nil, timekey=nil, timeregex=nil, timeformat=nil, timezone=nil, metadata=nil, keys=nil, parsearray=nil)
|
|
9031
|
+
def initialize(rechargetype=nil, encodingformat=nil, defaulttimeswitch=nil, logregex=nil, unmatchlogswitch=nil, unmatchlogkey=nil, unmatchlogtimesrc=nil, defaulttimesrc=nil, timekey=nil, timeregex=nil, timeformat=nil, timezone=nil, metadata=nil, keys=nil, parsearray=nil, delimiter=nil)
|
|
8844
9032
|
@RechargeType = rechargetype
|
|
8845
9033
|
@EncodingFormat = encodingformat
|
|
8846
9034
|
@DefaultTimeSwitch = defaulttimeswitch
|
|
@@ -8856,6 +9044,7 @@ module TencentCloud
|
|
|
8856
9044
|
@Metadata = metadata
|
|
8857
9045
|
@Keys = keys
|
|
8858
9046
|
@ParseArray = parsearray
|
|
9047
|
+
@Delimiter = delimiter
|
|
8859
9048
|
end
|
|
8860
9049
|
|
|
8861
9050
|
def deserialize(params)
|
|
@@ -8874,6 +9063,7 @@ module TencentCloud
|
|
|
8874
9063
|
@Metadata = params['Metadata']
|
|
8875
9064
|
@Keys = params['Keys']
|
|
8876
9065
|
@ParseArray = params['ParseArray']
|
|
9066
|
+
@Delimiter = params['Delimiter']
|
|
8877
9067
|
end
|
|
8878
9068
|
end
|
|
8879
9069
|
|
|
@@ -9766,10 +9956,12 @@ module TencentCloud
|
|
|
9766
9956
|
# 样例:
|
|
9767
9957
|
# `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
|
9768
9958
|
# @type AdvancedConfig: String
|
|
9959
|
+
# @param InputType: 日志输入类型,支持file、window_event、syslog、k8s_stdout、k8s_file
|
|
9960
|
+
# @type InputType: String
|
|
9769
9961
|
|
|
9770
|
-
attr_accessor :ConfigId, :Name, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UserDefineRule, :AdvancedConfig
|
|
9962
|
+
attr_accessor :ConfigId, :Name, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UserDefineRule, :AdvancedConfig, :InputType
|
|
9771
9963
|
|
|
9772
|
-
def initialize(configid=nil, name=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, userdefinerule=nil, advancedconfig=nil)
|
|
9964
|
+
def initialize(configid=nil, name=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, userdefinerule=nil, advancedconfig=nil, inputtype=nil)
|
|
9773
9965
|
@ConfigId = configid
|
|
9774
9966
|
@Name = name
|
|
9775
9967
|
@Path = path
|
|
@@ -9779,6 +9971,7 @@ module TencentCloud
|
|
|
9779
9971
|
@Output = output
|
|
9780
9972
|
@UserDefineRule = userdefinerule
|
|
9781
9973
|
@AdvancedConfig = advancedconfig
|
|
9974
|
+
@InputType = inputtype
|
|
9782
9975
|
end
|
|
9783
9976
|
|
|
9784
9977
|
def deserialize(params)
|
|
@@ -9801,6 +9994,7 @@ module TencentCloud
|
|
|
9801
9994
|
@Output = params['Output']
|
|
9802
9995
|
@UserDefineRule = params['UserDefineRule']
|
|
9803
9996
|
@AdvancedConfig = params['AdvancedConfig']
|
|
9997
|
+
@InputType = params['InputType']
|
|
9804
9998
|
end
|
|
9805
9999
|
end
|
|
9806
10000
|
|
|
@@ -10080,18 +10274,33 @@ module TencentCloud
|
|
|
10080
10274
|
# @type EnableFlag: Integer
|
|
10081
10275
|
# @param DstResources: 加工任务目的topic_id以及别名
|
|
10082
10276
|
# @type DstResources: Array
|
|
10277
|
+
# @param BackupGiveUpData: 超限之后是否丢弃日志数据
|
|
10278
|
+
# @type BackupGiveUpData: Boolean
|
|
10083
10279
|
# @param HasServicesLog: 是否开启投递服务日志。1关闭,2开启
|
|
10084
10280
|
# @type HasServicesLog: Integer
|
|
10281
|
+
# @param KeepFailureLog: 保留失败日志状态。 1:不保留,2:保留
|
|
10282
|
+
# @type KeepFailureLog: Integer
|
|
10283
|
+
# @param FailureLogKey: 失败日志的字段名称
|
|
10284
|
+
# @type FailureLogKey: String
|
|
10285
|
+
# @param DataTransformSqlDataSources: 外部数据源信息
|
|
10286
|
+
# @type DataTransformSqlDataSources: Array
|
|
10287
|
+
# @param EnvInfos: 设置的环境变量
|
|
10288
|
+
# @type EnvInfos: Array
|
|
10085
10289
|
|
|
10086
|
-
attr_accessor :TaskId, :Name, :EtlContent, :EnableFlag, :DstResources, :HasServicesLog
|
|
10290
|
+
attr_accessor :TaskId, :Name, :EtlContent, :EnableFlag, :DstResources, :BackupGiveUpData, :HasServicesLog, :KeepFailureLog, :FailureLogKey, :DataTransformSqlDataSources, :EnvInfos
|
|
10087
10291
|
|
|
10088
|
-
def initialize(taskid=nil, name=nil, etlcontent=nil, enableflag=nil, dstresources=nil, hasserviceslog=nil)
|
|
10292
|
+
def initialize(taskid=nil, name=nil, etlcontent=nil, enableflag=nil, dstresources=nil, backupgiveupdata=nil, hasserviceslog=nil, keepfailurelog=nil, failurelogkey=nil, datatransformsqldatasources=nil, envinfos=nil)
|
|
10089
10293
|
@TaskId = taskid
|
|
10090
10294
|
@Name = name
|
|
10091
10295
|
@EtlContent = etlcontent
|
|
10092
10296
|
@EnableFlag = enableflag
|
|
10093
10297
|
@DstResources = dstresources
|
|
10298
|
+
@BackupGiveUpData = backupgiveupdata
|
|
10094
10299
|
@HasServicesLog = hasserviceslog
|
|
10300
|
+
@KeepFailureLog = keepfailurelog
|
|
10301
|
+
@FailureLogKey = failurelogkey
|
|
10302
|
+
@DataTransformSqlDataSources = datatransformsqldatasources
|
|
10303
|
+
@EnvInfos = envinfos
|
|
10095
10304
|
end
|
|
10096
10305
|
|
|
10097
10306
|
def deserialize(params)
|
|
@@ -10107,7 +10316,26 @@ module TencentCloud
|
|
|
10107
10316
|
@DstResources << datatransformresouceinfo_tmp
|
|
10108
10317
|
end
|
|
10109
10318
|
end
|
|
10319
|
+
@BackupGiveUpData = params['BackupGiveUpData']
|
|
10110
10320
|
@HasServicesLog = params['HasServicesLog']
|
|
10321
|
+
@KeepFailureLog = params['KeepFailureLog']
|
|
10322
|
+
@FailureLogKey = params['FailureLogKey']
|
|
10323
|
+
unless params['DataTransformSqlDataSources'].nil?
|
|
10324
|
+
@DataTransformSqlDataSources = []
|
|
10325
|
+
params['DataTransformSqlDataSources'].each do |i|
|
|
10326
|
+
datatransformsqldatasource_tmp = DataTransformSqlDataSource.new
|
|
10327
|
+
datatransformsqldatasource_tmp.deserialize(i)
|
|
10328
|
+
@DataTransformSqlDataSources << datatransformsqldatasource_tmp
|
|
10329
|
+
end
|
|
10330
|
+
end
|
|
10331
|
+
unless params['EnvInfos'].nil?
|
|
10332
|
+
@EnvInfos = []
|
|
10333
|
+
params['EnvInfos'].each do |i|
|
|
10334
|
+
envinfo_tmp = EnvInfo.new
|
|
10335
|
+
envinfo_tmp.deserialize(i)
|
|
10336
|
+
@EnvInfos << envinfo_tmp
|
|
10337
|
+
end
|
|
10338
|
+
end
|
|
10111
10339
|
end
|
|
10112
10340
|
end
|
|
10113
10341
|
|
|
@@ -10294,10 +10522,12 @@ module TencentCloud
|
|
|
10294
10522
|
# @type LogRechargeRule: :class:`Tencentcloud::Cls.v20201016.models.LogRechargeRuleInfo`
|
|
10295
10523
|
# @param StatusControl: 导入控制,1:暂停;2:启动。
|
|
10296
10524
|
# @type StatusControl: Integer
|
|
10525
|
+
# @param UserKafkaMeta: 用户kafka拓展信息
|
|
10526
|
+
# @type UserKafkaMeta: :class:`Tencentcloud::Cls.v20201016.models.UserKafkaMeta`
|
|
10297
10527
|
|
|
10298
|
-
attr_accessor :Id, :TopicId, :Name, :KafkaType, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :UserKafkaTopics, :ConsumerGroupName, :LogRechargeRule, :StatusControl
|
|
10528
|
+
attr_accessor :Id, :TopicId, :Name, :KafkaType, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :UserKafkaTopics, :ConsumerGroupName, :LogRechargeRule, :StatusControl, :UserKafkaMeta
|
|
10299
10529
|
|
|
10300
|
-
def initialize(id=nil, topicid=nil, name=nil, kafkatype=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, userkafkatopics=nil, consumergroupname=nil, logrechargerule=nil, statuscontrol=nil)
|
|
10530
|
+
def initialize(id=nil, topicid=nil, name=nil, kafkatype=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, userkafkatopics=nil, consumergroupname=nil, logrechargerule=nil, statuscontrol=nil, userkafkameta=nil)
|
|
10301
10531
|
@Id = id
|
|
10302
10532
|
@TopicId = topicid
|
|
10303
10533
|
@Name = name
|
|
@@ -10310,6 +10540,7 @@ module TencentCloud
|
|
|
10310
10540
|
@ConsumerGroupName = consumergroupname
|
|
10311
10541
|
@LogRechargeRule = logrechargerule
|
|
10312
10542
|
@StatusControl = statuscontrol
|
|
10543
|
+
@UserKafkaMeta = userkafkameta
|
|
10313
10544
|
end
|
|
10314
10545
|
|
|
10315
10546
|
def deserialize(params)
|
|
@@ -10331,6 +10562,10 @@ module TencentCloud
|
|
|
10331
10562
|
@LogRechargeRule.deserialize(params['LogRechargeRule'])
|
|
10332
10563
|
end
|
|
10333
10564
|
@StatusControl = params['StatusControl']
|
|
10565
|
+
unless params['UserKafkaMeta'].nil?
|
|
10566
|
+
@UserKafkaMeta = UserKafkaMeta.new
|
|
10567
|
+
@UserKafkaMeta.deserialize(params['UserKafkaMeta'])
|
|
10568
|
+
end
|
|
10334
10569
|
end
|
|
10335
10570
|
end
|
|
10336
10571
|
|
|
@@ -11462,10 +11697,12 @@ module TencentCloud
|
|
|
11462
11697
|
# @type ConsumerGroupName: String
|
|
11463
11698
|
# @param LogRechargeRule: 日志导入规则
|
|
11464
11699
|
# @type LogRechargeRule: :class:`Tencentcloud::Cls.v20201016.models.LogRechargeRuleInfo`
|
|
11700
|
+
# @param UserKafkaMeta: 用户kafka拓展信息
|
|
11701
|
+
# @type UserKafkaMeta: :class:`Tencentcloud::Cls.v20201016.models.UserKafkaMeta`
|
|
11465
11702
|
|
|
11466
|
-
attr_accessor :PreviewType, :KafkaType, :UserKafkaTopics, :Offset, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :ConsumerGroupName, :LogRechargeRule
|
|
11703
|
+
attr_accessor :PreviewType, :KafkaType, :UserKafkaTopics, :Offset, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :ConsumerGroupName, :LogRechargeRule, :UserKafkaMeta
|
|
11467
11704
|
|
|
11468
|
-
def initialize(previewtype=nil, kafkatype=nil, userkafkatopics=nil, offset=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, consumergroupname=nil, logrechargerule=nil)
|
|
11705
|
+
def initialize(previewtype=nil, kafkatype=nil, userkafkatopics=nil, offset=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, consumergroupname=nil, logrechargerule=nil, userkafkameta=nil)
|
|
11469
11706
|
@PreviewType = previewtype
|
|
11470
11707
|
@KafkaType = kafkatype
|
|
11471
11708
|
@UserKafkaTopics = userkafkatopics
|
|
@@ -11476,6 +11713,7 @@ module TencentCloud
|
|
|
11476
11713
|
@Protocol = protocol
|
|
11477
11714
|
@ConsumerGroupName = consumergroupname
|
|
11478
11715
|
@LogRechargeRule = logrechargerule
|
|
11716
|
+
@UserKafkaMeta = userkafkameta
|
|
11479
11717
|
end
|
|
11480
11718
|
|
|
11481
11719
|
def deserialize(params)
|
|
@@ -11495,6 +11733,10 @@ module TencentCloud
|
|
|
11495
11733
|
@LogRechargeRule = LogRechargeRuleInfo.new
|
|
11496
11734
|
@LogRechargeRule.deserialize(params['LogRechargeRule'])
|
|
11497
11735
|
end
|
|
11736
|
+
unless params['UserKafkaMeta'].nil?
|
|
11737
|
+
@UserKafkaMeta = UserKafkaMeta.new
|
|
11738
|
+
@UserKafkaMeta.deserialize(params['UserKafkaMeta'])
|
|
11739
|
+
end
|
|
11498
11740
|
end
|
|
11499
11741
|
end
|
|
11500
11742
|
|
|
@@ -12871,6 +13113,33 @@ module TencentCloud
|
|
|
12871
13113
|
end
|
|
12872
13114
|
end
|
|
12873
13115
|
|
|
13116
|
+
# 用户kafka扩展信息
|
|
13117
|
+
class UserKafkaMeta < TencentCloud::Common::AbstractModel
|
|
13118
|
+
# @param KafkaVersion: 用户kafka version
|
|
13119
|
+
# 支持如下版本:
|
|
13120
|
+
# - 0.10.2.0
|
|
13121
|
+
# - 1.0.0
|
|
13122
|
+
# - 2.0.0
|
|
13123
|
+
# - 2.2.0
|
|
13124
|
+
# - 2.4.0
|
|
13125
|
+
# - 2.6.0
|
|
13126
|
+
# - 2.7.0
|
|
13127
|
+
# - 2.8.0
|
|
13128
|
+
# - 3.0.0
|
|
13129
|
+
# - 3.2.0
|
|
13130
|
+
# @type KafkaVersion: String
|
|
13131
|
+
|
|
13132
|
+
attr_accessor :KafkaVersion
|
|
13133
|
+
|
|
13134
|
+
def initialize(kafkaversion=nil)
|
|
13135
|
+
@KafkaVersion = kafkaversion
|
|
13136
|
+
end
|
|
13137
|
+
|
|
13138
|
+
def deserialize(params)
|
|
13139
|
+
@KafkaVersion = params['KafkaVersion']
|
|
13140
|
+
end
|
|
13141
|
+
end
|
|
13142
|
+
|
|
12874
13143
|
# 需要开启键值索引的字段的索引描述信息
|
|
12875
13144
|
class ValueInfo < TencentCloud::Common::AbstractModel
|
|
12876
13145
|
# @param Type: 字段类型,目前支持的类型有:long、text、double
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-cls
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1168
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|