tencentcloud-sdk-cls 3.0.1165 → 3.0.1166

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/v20201016/models.rb +200 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99ba6ff9b1653a95f36623577a9835d322108915
4
- data.tar.gz: c019d17f203bda702399e479ad471b5092b33afc
3
+ metadata.gz: 5d4a4b85ae30a65206a23307491f082134c34487
4
+ data.tar.gz: feac03d2c8c06cbeb4fd8c508acbdd1ba13f615e
5
5
  SHA512:
6
- metadata.gz: fb530a1d1d834caefc791cb11102b68af6b650ee1eee276ba1a74cbe9cf906cb30b3e762685ddc6bac05ed7a2c2fb8984d3f16ad1f7f803ce58b2c4a445c8720
7
- data.tar.gz: 315027c91b498dfd5f5082ef3ca549b0f5f7eae3edb084688900984de3f935f255515205e1fdc7f9a98bf1c22e214c4a9494a48cc0412bcdd681d5399af3e77a
6
+ metadata.gz: 396216a3c915aaae9ea6ae284a2481a8be42a84dd762acf8ddc2b6f51cf252a6d0860c2b0106cbed40661db9f5b662c949d758371cedb3353ced9c66a394ca81
7
+ data.tar.gz: 6d126a177ce4d286c7be4f4cfdde553e6c5d6463ca92beb481050842e5b7bfc5fab65e21d6b6cdd9701877f71c9f10a6ecf9fc36cfff49faf772467bd71996ec
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1165
1
+ 3.0.1166
@@ -2946,16 +2946,38 @@ module TencentCloud
2946
2946
  # @param PreviewLogStatistics: 用于预览加工结果的测试数据
2947
2947
  # 目标日志主题ID通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
2948
2948
  # @type PreviewLogStatistics: Array
2949
+ # @param BackupGiveUpData: 当FuncType为2时,动态创建的日志集、日志主题的个数超出产品规格限制是否丢弃数据, 默认为false。
2950
+
2951
+ # false:创建兜底日志集、日志主题并将日志写入兜底主题;
2952
+ # true:丢弃日志数据。
2953
+ # @type BackupGiveUpData: Boolean
2954
+ # @param HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。
2955
+ # @type HasServicesLog: Integer
2949
2956
  # @param DataTransformType: 数据加工类型。0:标准加工任务; 1:前置加工任务。前置加工任务将采集的日志处理完成后,再写入日志主题。
2950
2957
  # @type DataTransformType: Integer
2951
2958
  # @param KeepFailureLog: 保留失败日志状态,1:不保留(默认),2:保留。
2952
2959
  # @type KeepFailureLog: Integer
2953
2960
  # @param FailureLogKey: 失败日志的字段名称
2954
2961
  # @type FailureLogKey: String
2962
+ # @param ProcessFromTimestamp: 指定加工数据的开始时间, 秒级时间戳。
2963
+ # - 日志主题生命周期内的任意时间范围,如果超出了生命周期,只处理生命周期内有数据的部分。
2964
+ # @type ProcessFromTimestamp: Integer
2965
+ # @param ProcessToTimestamp: 指定加工数据的结束时间,秒级时间戳。
2966
+
2967
+ # - 不可指定未来的时间
2968
+ # - 不填则表示持续执行
2969
+ # @type ProcessToTimestamp: Integer
2970
+ # @param TaskId: 对已经创建的并且使用了关联外部数据库能力的任务预览(TaskType 为 1 或 2)时,该值必传
2971
+ # 数据加工任务ID- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。
2972
+ # @type TaskId: String
2973
+ # @param DataTransformSqlDataSources: 关联的数据源信息
2974
+ # @type DataTransformSqlDataSources: Array
2975
+ # @param EnvInfos: 设置的环境变量
2976
+ # @type EnvInfos: Array
2955
2977
 
2956
- attr_accessor :FuncType, :SrcTopicId, :Name, :EtlContent, :TaskType, :DstResources, :EnableFlag, :PreviewLogStatistics, :DataTransformType, :KeepFailureLog, :FailureLogKey
2978
+ attr_accessor :FuncType, :SrcTopicId, :Name, :EtlContent, :TaskType, :DstResources, :EnableFlag, :PreviewLogStatistics, :BackupGiveUpData, :HasServicesLog, :DataTransformType, :KeepFailureLog, :FailureLogKey, :ProcessFromTimestamp, :ProcessToTimestamp, :TaskId, :DataTransformSqlDataSources, :EnvInfos
2957
2979
 
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)
2980
+ 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
2981
  @FuncType = functype
2960
2982
  @SrcTopicId = srctopicid
2961
2983
  @Name = name
@@ -2964,9 +2986,16 @@ module TencentCloud
2964
2986
  @DstResources = dstresources
2965
2987
  @EnableFlag = enableflag
2966
2988
  @PreviewLogStatistics = previewlogstatistics
2989
+ @BackupGiveUpData = backupgiveupdata
2990
+ @HasServicesLog = hasserviceslog
2967
2991
  @DataTransformType = datatransformtype
2968
2992
  @KeepFailureLog = keepfailurelog
2969
2993
  @FailureLogKey = failurelogkey
2994
+ @ProcessFromTimestamp = processfromtimestamp
2995
+ @ProcessToTimestamp = processtotimestamp
2996
+ @TaskId = taskid
2997
+ @DataTransformSqlDataSources = datatransformsqldatasources
2998
+ @EnvInfos = envinfos
2970
2999
  end
2971
3000
 
2972
3001
  def deserialize(params)
@@ -2992,9 +3021,30 @@ module TencentCloud
2992
3021
  @PreviewLogStatistics << previewlogstatistic_tmp
2993
3022
  end
2994
3023
  end
3024
+ @BackupGiveUpData = params['BackupGiveUpData']
3025
+ @HasServicesLog = params['HasServicesLog']
2995
3026
  @DataTransformType = params['DataTransformType']
2996
3027
  @KeepFailureLog = params['KeepFailureLog']
2997
3028
  @FailureLogKey = params['FailureLogKey']
3029
+ @ProcessFromTimestamp = params['ProcessFromTimestamp']
3030
+ @ProcessToTimestamp = params['ProcessToTimestamp']
3031
+ @TaskId = params['TaskId']
3032
+ unless params['DataTransformSqlDataSources'].nil?
3033
+ @DataTransformSqlDataSources = []
3034
+ params['DataTransformSqlDataSources'].each do |i|
3035
+ datatransformsqldatasource_tmp = DataTransformSqlDataSource.new
3036
+ datatransformsqldatasource_tmp.deserialize(i)
3037
+ @DataTransformSqlDataSources << datatransformsqldatasource_tmp
3038
+ end
3039
+ end
3040
+ unless params['EnvInfos'].nil?
3041
+ @EnvInfos = []
3042
+ params['EnvInfos'].each do |i|
3043
+ envinfo_tmp = EnvInfo.new
3044
+ envinfo_tmp.deserialize(i)
3045
+ @EnvInfos << envinfo_tmp
3046
+ end
3047
+ end
2998
3048
  end
2999
3049
  end
3000
3050
 
@@ -4227,6 +4277,43 @@ module TencentCloud
4227
4277
  end
4228
4278
  end
4229
4279
 
4280
+ # 外部表SQL信息
4281
+ class DataTransformSqlDataSource < TencentCloud::Common::AbstractModel
4282
+ # @param DataSource: 数据源类型 1:MySql;2:自建mysql;3:pgsql
4283
+ # @type DataSource: Integer
4284
+ # @param Region: InstanceId所属地域。例如:ap-guangzhou
4285
+ # @type Region: String
4286
+ # @param InstanceId: 实例Id。
4287
+ # - 当DataSource为1时,表示云数据库Mysql 实例id,如:cdb-zxcvbnm
4288
+ # @type InstanceId: String
4289
+ # @param User: mysql访问用户名
4290
+ # @type User: String
4291
+ # @param AliasName: 别名。数据加工语句中使用
4292
+ # @type AliasName: String
4293
+ # @param Password: mysql访问密码。
4294
+ # @type Password: String
4295
+
4296
+ attr_accessor :DataSource, :Region, :InstanceId, :User, :AliasName, :Password
4297
+
4298
+ def initialize(datasource=nil, region=nil, instanceid=nil, user=nil, aliasname=nil, password=nil)
4299
+ @DataSource = datasource
4300
+ @Region = region
4301
+ @InstanceId = instanceid
4302
+ @User = user
4303
+ @AliasName = aliasname
4304
+ @Password = password
4305
+ end
4306
+
4307
+ def deserialize(params)
4308
+ @DataSource = params['DataSource']
4309
+ @Region = params['Region']
4310
+ @InstanceId = params['InstanceId']
4311
+ @User = params['User']
4312
+ @AliasName = params['AliasName']
4313
+ @Password = params['Password']
4314
+ end
4315
+ end
4316
+
4230
4317
  # 数据加工任务基本详情
4231
4318
  class DataTransformTaskInfo < TencentCloud::Common::AbstractModel
4232
4319
  # @param Name: 数据加工任务名称
@@ -4241,7 +4328,7 @@ module TencentCloud
4241
4328
  # @type SrcTopicId: String
4242
4329
  # @param Status: 当前加工任务状态(1准备中/2运行中/3停止中/4已停止)
4243
4330
  # @type Status: Integer
4244
- # @param CreateTime: 加工任务创建时间
4331
+ # @param CreateTime: 创建时间
4245
4332
  # 时间格式:yyyy-MM-dd HH:mm:ss
4246
4333
  # @type CreateTime: String
4247
4334
  # @param UpdateTime: 最近修改时间
@@ -4258,16 +4345,35 @@ module TencentCloud
4258
4345
  # @type DstResources: Array
4259
4346
  # @param EtlContent: 加工逻辑函数。
4260
4347
  # @type EtlContent: String
4348
+ # @param BackupTopicID: 兜底topic_id
4349
+ # @type BackupTopicID: String
4350
+ # @param BackupGiveUpData: 超限之后是否丢弃日志数据
4351
+ # @type BackupGiveUpData: Boolean
4352
+ # @param HasServicesLog: 是否开启投递服务日志。 1关闭,2开启
4353
+ # @type HasServicesLog: Integer
4354
+ # @param TaskDstCount: 任务目标日志主题数量
4355
+ # @type TaskDstCount: Integer
4261
4356
  # @param DataTransformType: 数据加工类型。0:标准加工任务;1:前置加工任务。
4262
4357
  # @type DataTransformType: Integer
4263
4358
  # @param KeepFailureLog: 保留失败日志状态。 1:不保留,2:保留
4264
4359
  # @type KeepFailureLog: Integer
4265
4360
  # @param FailureLogKey: 失败日志的字段名称
4266
4361
  # @type FailureLogKey: String
4267
-
4268
- attr_accessor :Name, :TaskId, :EnableFlag, :Type, :SrcTopicId, :Status, :CreateTime, :UpdateTime, :LastEnableTime, :SrcTopicName, :LogsetId, :DstResources, :EtlContent, :DataTransformType, :KeepFailureLog, :FailureLogKey
4269
-
4270
- 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, datatransformtype=nil, keepfailurelog=nil, failurelogkey=nil)
4362
+ # @param ProcessFromTimestamp: 指定加工数据的开始时间,秒级时间戳。
4363
+ # - 日志主题生命周期内的任意时间范围,如果超出了生命周期,只处理生命周期内有数据的部分。
4364
+ # @type ProcessFromTimestamp: Integer
4365
+ # @param ProcessToTimestamp: 指定加工数据的结束时间,秒级时间戳。
4366
+ # 1. 不可指定未来的时间
4367
+ # 2. 不填则表示持续执行
4368
+ # @type ProcessToTimestamp: Integer
4369
+ # @param DataTransformSqlDataSources: sql数据源信息
4370
+ # @type DataTransformSqlDataSources: Array
4371
+ # @param EnvInfos: 环境变量
4372
+ # @type EnvInfos: Array
4373
+
4374
+ 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
4375
+
4376
+ 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
4377
  @Name = name
4272
4378
  @TaskId = taskid
4273
4379
  @EnableFlag = enableflag
@@ -4281,9 +4387,17 @@ module TencentCloud
4281
4387
  @LogsetId = logsetid
4282
4388
  @DstResources = dstresources
4283
4389
  @EtlContent = etlcontent
4390
+ @BackupTopicID = backuptopicid
4391
+ @BackupGiveUpData = backupgiveupdata
4392
+ @HasServicesLog = hasserviceslog
4393
+ @TaskDstCount = taskdstcount
4284
4394
  @DataTransformType = datatransformtype
4285
4395
  @KeepFailureLog = keepfailurelog
4286
4396
  @FailureLogKey = failurelogkey
4397
+ @ProcessFromTimestamp = processfromtimestamp
4398
+ @ProcessToTimestamp = processtotimestamp
4399
+ @DataTransformSqlDataSources = datatransformsqldatasources
4400
+ @EnvInfos = envinfos
4287
4401
  end
4288
4402
 
4289
4403
  def deserialize(params)
@@ -4307,9 +4421,31 @@ module TencentCloud
4307
4421
  end
4308
4422
  end
4309
4423
  @EtlContent = params['EtlContent']
4424
+ @BackupTopicID = params['BackupTopicID']
4425
+ @BackupGiveUpData = params['BackupGiveUpData']
4426
+ @HasServicesLog = params['HasServicesLog']
4427
+ @TaskDstCount = params['TaskDstCount']
4310
4428
  @DataTransformType = params['DataTransformType']
4311
4429
  @KeepFailureLog = params['KeepFailureLog']
4312
4430
  @FailureLogKey = params['FailureLogKey']
4431
+ @ProcessFromTimestamp = params['ProcessFromTimestamp']
4432
+ @ProcessToTimestamp = params['ProcessToTimestamp']
4433
+ unless params['DataTransformSqlDataSources'].nil?
4434
+ @DataTransformSqlDataSources = []
4435
+ params['DataTransformSqlDataSources'].each do |i|
4436
+ datatransformsqldatasource_tmp = DataTransformSqlDataSource.new
4437
+ datatransformsqldatasource_tmp.deserialize(i)
4438
+ @DataTransformSqlDataSources << datatransformsqldatasource_tmp
4439
+ end
4440
+ end
4441
+ unless params['EnvInfos'].nil?
4442
+ @EnvInfos = []
4443
+ params['EnvInfos'].each do |i|
4444
+ envinfo_tmp = EnvInfo.new
4445
+ envinfo_tmp.deserialize(i)
4446
+ @EnvInfos << envinfo_tmp
4447
+ end
4448
+ end
4313
4449
  end
4314
4450
  end
4315
4451
 
@@ -6139,7 +6275,7 @@ module TencentCloud
6139
6275
  # 必选:否
6140
6276
  # 示例:756cec3e-a0a5-44c3-85a8-090870582000
6141
6277
  # 日志主题ID
6142
- # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
6278
+ # 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
6143
6279
 
6144
6280
  # - status
6145
6281
  # 按照【 任务运行状态】进行过滤。 1:准备中,2:运行中,3:停止中,4:已停止
@@ -7612,6 +7748,26 @@ module TencentCloud
7612
7748
  end
7613
7749
  end
7614
7750
 
7751
+ # 数据加工-高级设置-环境变量
7752
+ class EnvInfo < TencentCloud::Common::AbstractModel
7753
+ # @param Key: 环境变量名
7754
+ # @type Key: String
7755
+ # @param Value: 环境变量值
7756
+ # @type Value: String
7757
+
7758
+ attr_accessor :Key, :Value
7759
+
7760
+ def initialize(key=nil, value=nil)
7761
+ @Key = key
7762
+ @Value = value
7763
+ end
7764
+
7765
+ def deserialize(params)
7766
+ @Key = params['Key']
7767
+ @Value = params['Value']
7768
+ end
7769
+ end
7770
+
7615
7771
  # 升级通知
7616
7772
  class EscalateNoticeInfo < TencentCloud::Common::AbstractModel
7617
7773
  # @param NoticeReceivers: 告警通知模板接收者信息。
@@ -10080,18 +10236,33 @@ module TencentCloud
10080
10236
  # @type EnableFlag: Integer
10081
10237
  # @param DstResources: 加工任务目的topic_id以及别名
10082
10238
  # @type DstResources: Array
10239
+ # @param BackupGiveUpData: 超限之后是否丢弃日志数据
10240
+ # @type BackupGiveUpData: Boolean
10083
10241
  # @param HasServicesLog: 是否开启投递服务日志。1关闭,2开启
10084
10242
  # @type HasServicesLog: Integer
10243
+ # @param KeepFailureLog: 保留失败日志状态。 1:不保留,2:保留
10244
+ # @type KeepFailureLog: Integer
10245
+ # @param FailureLogKey: 失败日志的字段名称
10246
+ # @type FailureLogKey: String
10247
+ # @param DataTransformSqlDataSources: 外部数据源信息
10248
+ # @type DataTransformSqlDataSources: Array
10249
+ # @param EnvInfos: 设置的环境变量
10250
+ # @type EnvInfos: Array
10085
10251
 
10086
- attr_accessor :TaskId, :Name, :EtlContent, :EnableFlag, :DstResources, :HasServicesLog
10252
+ attr_accessor :TaskId, :Name, :EtlContent, :EnableFlag, :DstResources, :BackupGiveUpData, :HasServicesLog, :KeepFailureLog, :FailureLogKey, :DataTransformSqlDataSources, :EnvInfos
10087
10253
 
10088
- def initialize(taskid=nil, name=nil, etlcontent=nil, enableflag=nil, dstresources=nil, hasserviceslog=nil)
10254
+ 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
10255
  @TaskId = taskid
10090
10256
  @Name = name
10091
10257
  @EtlContent = etlcontent
10092
10258
  @EnableFlag = enableflag
10093
10259
  @DstResources = dstresources
10260
+ @BackupGiveUpData = backupgiveupdata
10094
10261
  @HasServicesLog = hasserviceslog
10262
+ @KeepFailureLog = keepfailurelog
10263
+ @FailureLogKey = failurelogkey
10264
+ @DataTransformSqlDataSources = datatransformsqldatasources
10265
+ @EnvInfos = envinfos
10095
10266
  end
10096
10267
 
10097
10268
  def deserialize(params)
@@ -10107,7 +10278,26 @@ module TencentCloud
10107
10278
  @DstResources << datatransformresouceinfo_tmp
10108
10279
  end
10109
10280
  end
10281
+ @BackupGiveUpData = params['BackupGiveUpData']
10110
10282
  @HasServicesLog = params['HasServicesLog']
10283
+ @KeepFailureLog = params['KeepFailureLog']
10284
+ @FailureLogKey = params['FailureLogKey']
10285
+ unless params['DataTransformSqlDataSources'].nil?
10286
+ @DataTransformSqlDataSources = []
10287
+ params['DataTransformSqlDataSources'].each do |i|
10288
+ datatransformsqldatasource_tmp = DataTransformSqlDataSource.new
10289
+ datatransformsqldatasource_tmp.deserialize(i)
10290
+ @DataTransformSqlDataSources << datatransformsqldatasource_tmp
10291
+ end
10292
+ end
10293
+ unless params['EnvInfos'].nil?
10294
+ @EnvInfos = []
10295
+ params['EnvInfos'].each do |i|
10296
+ envinfo_tmp = EnvInfo.new
10297
+ envinfo_tmp.deserialize(i)
10298
+ @EnvInfos << envinfo_tmp
10299
+ end
10300
+ end
10111
10301
  end
10112
10302
  end
10113
10303
 
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.1165
4
+ version: 3.0.1166
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-10 00:00:00.000000000 Z
11
+ date: 2025-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common