tencentcloud-sdk-cls 3.0.1169 → 3.0.1174

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6c292b1f25ff448dfc6f1740b301c219ec04905
4
- data.tar.gz: 07745b2bee91e809768c4306cb5560ad81a51186
3
+ metadata.gz: 7480e744d0f25c9c22032e8edcc8722d907520bf
4
+ data.tar.gz: 79961fe7b3fbdc67513890c9826d283d2e212a51
5
5
  SHA512:
6
- metadata.gz: 27ecac663d10d3904900a6bedd17e0d92243342468149e5851659197d11a8a42ffdcb347a5cf0241e70e65a110f2ae7c71024434ee33f6a5ca1b00fdfe4caf03
7
- data.tar.gz: dfde3e63496ceb3a716c6ed97d20e5d308b49b44dc997ab6476b209c7e0aff333cd84d9cead1cc10751700f4ca903ec747d5b3df623d4539e84f1a4b73eda0d2
6
+ metadata.gz: eadd8c864f08e39a763800ef1cc01d3ed27c71e83ce40fffe9a67b9edede948d7f0bb180b7d994977a761b4ca7fe4fb457334c6084bd2ab29d8bd3efff6c52a1
7
+ data.tar.gz: 0b38718d0f5d84b76a9b538dda76c6e50517583fc195d28e6391bac5bb60a6c78fb5769691a46da37483d71a2dd841f8f6d4b517acb61a90836e25b5c4b52e10
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1169
1
+ 3.0.1174
@@ -444,6 +444,30 @@ module TencentCloud
444
444
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
445
445
  end
446
446
 
447
+ # 创建DLC投递任务
448
+
449
+ # @param request: Request instance for CreateDlcDeliver.
450
+ # @type request: :class:`Tencentcloud::cls::V20201016::CreateDlcDeliverRequest`
451
+ # @rtype: :class:`Tencentcloud::cls::V20201016::CreateDlcDeliverResponse`
452
+ def CreateDlcDeliver(request)
453
+ body = send_request('CreateDlcDeliver', request.serialize)
454
+ response = JSON.parse(body)
455
+ if response['Response'].key?('Error') == false
456
+ model = CreateDlcDeliverResponse.new
457
+ model.deserialize(response['Response'])
458
+ model
459
+ else
460
+ code = response['Response']['Error']['Code']
461
+ message = response['Response']['Error']['Message']
462
+ reqid = response['Response']['RequestId']
463
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
464
+ end
465
+ rescue TencentCloud::Common::TencentCloudSDKException => e
466
+ raise e
467
+ rescue StandardError => e
468
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
469
+ end
470
+
447
471
  # 本接口仅创建下载任务。任务返回的下载地址,请用户调用[DescribeExports](https://cloud.tencent.com/document/product/614/56449)查看任务列表,其中有下载地址CosPath参数。
448
472
 
449
473
  # @param request: Request instance for CreateExport.
@@ -972,6 +996,30 @@ module TencentCloud
972
996
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
973
997
  end
974
998
 
999
+ # 删除DLC投递任务
1000
+
1001
+ # @param request: Request instance for DeleteDlcDeliver.
1002
+ # @type request: :class:`Tencentcloud::cls::V20201016::DeleteDlcDeliverRequest`
1003
+ # @rtype: :class:`Tencentcloud::cls::V20201016::DeleteDlcDeliverResponse`
1004
+ def DeleteDlcDeliver(request)
1005
+ body = send_request('DeleteDlcDeliver', request.serialize)
1006
+ response = JSON.parse(body)
1007
+ if response['Response'].key?('Error') == false
1008
+ model = DeleteDlcDeliverResponse.new
1009
+ model.deserialize(response['Response'])
1010
+ model
1011
+ else
1012
+ code = response['Response']['Error']['Code']
1013
+ message = response['Response']['Error']['Message']
1014
+ reqid = response['Response']['RequestId']
1015
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1016
+ end
1017
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1018
+ raise e
1019
+ rescue StandardError => e
1020
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1021
+ end
1022
+
975
1023
  # 本接口用于删除日志下载任务
976
1024
 
977
1025
  # @param request: Request instance for DeleteExport.
@@ -1572,6 +1620,30 @@ module TencentCloud
1572
1620
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1573
1621
  end
1574
1622
 
1623
+ # 获取告警渠道回调配置列表。
1624
+
1625
+ # @param request: Request instance for DescribeDlcDelivers.
1626
+ # @type request: :class:`Tencentcloud::cls::V20201016::DescribeDlcDeliversRequest`
1627
+ # @rtype: :class:`Tencentcloud::cls::V20201016::DescribeDlcDeliversResponse`
1628
+ def DescribeDlcDelivers(request)
1629
+ body = send_request('DescribeDlcDelivers', request.serialize)
1630
+ response = JSON.parse(body)
1631
+ if response['Response'].key?('Error') == false
1632
+ model = DescribeDlcDeliversResponse.new
1633
+ model.deserialize(response['Response'])
1634
+ model
1635
+ else
1636
+ code = response['Response']['Error']['Code']
1637
+ message = response['Response']['Error']['Message']
1638
+ reqid = response['Response']['RequestId']
1639
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1640
+ end
1641
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1642
+ raise e
1643
+ rescue StandardError => e
1644
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1645
+ end
1646
+
1575
1647
  # 本接口用于获取日志下载任务列表
1576
1648
 
1577
1649
  # @param request: Request instance for DescribeExports.
@@ -2341,6 +2413,30 @@ module TencentCloud
2341
2413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2342
2414
  end
2343
2415
 
2416
+ # 修改DLC投递任务
2417
+
2418
+ # @param request: Request instance for ModifyDlcDeliver.
2419
+ # @type request: :class:`Tencentcloud::cls::V20201016::ModifyDlcDeliverRequest`
2420
+ # @rtype: :class:`Tencentcloud::cls::V20201016::ModifyDlcDeliverResponse`
2421
+ def ModifyDlcDeliver(request)
2422
+ body = send_request('ModifyDlcDeliver', request.serialize)
2423
+ response = JSON.parse(body)
2424
+ if response['Response'].key?('Error') == false
2425
+ model = ModifyDlcDeliverResponse.new
2426
+ model.deserialize(response['Response'])
2427
+ model
2428
+ else
2429
+ code = response['Response']['Error']['Code']
2430
+ message = response['Response']['Error']['Message']
2431
+ reqid = response['Response']['RequestId']
2432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2433
+ end
2434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2435
+ raise e
2436
+ rescue StandardError => e
2437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2438
+ end
2439
+
2344
2440
  # 本接口用于修改索引配置,该接口除受默认接口请求频率限制外,针对单个日志主题,并发数不能超过1,即同一时间同一个日志主题只能有一个正在执行的索引配置修改操作。
2345
2441
 
2346
2442
  # @param request: Request instance for ModifyIndex.
@@ -3146,6 +3146,78 @@ module TencentCloud
3146
3146
  end
3147
3147
  end
3148
3148
 
3149
+ # CreateDlcDeliver请求参数结构体
3150
+ class CreateDlcDeliverRequest < TencentCloud::Common::AbstractModel
3151
+ # @param TopicId: 日志主题id。
3152
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
3153
+ # @type TopicId: String
3154
+ # @param Name: 名称:长度不超过64字符,以字母开头,接受0-9,a-z,A-Z, _,-,中文字符。
3155
+ # @type Name: String
3156
+ # @param DeliverType: 投递类型。0:批投递,1:实时投递
3157
+ # @type DeliverType: Integer
3158
+ # @param StartTime: 投递时间范围的开始时间
3159
+ # @type StartTime: Integer
3160
+ # @param DlcInfo: dlc配置信息
3161
+ # @type DlcInfo: :class:`Tencentcloud::Cls.v20201016.models.DlcInfo`
3162
+ # @param MaxSize: 投递文件大小,单位MB。 DeliverType=0时必填,范围 5<= MaxSize <= 256。
3163
+ # @type MaxSize: Integer
3164
+ # @param Interval: 投递间隔,单位秒。 DeliverType=0时必填,范围 300<= Interval <=900。
3165
+ # @type Interval: Integer
3166
+ # @param EndTime: 投递时间范围的结束时间。 如果为空,则表示不限时。EndTime不为空时,需要大于StartTime。
3167
+ # @type EndTime: Integer
3168
+ # @param HasServicesLog: 是否开启投递服务日志。1关闭,2开启。默认开启
3169
+ # @type HasServicesLog: Integer
3170
+
3171
+ attr_accessor :TopicId, :Name, :DeliverType, :StartTime, :DlcInfo, :MaxSize, :Interval, :EndTime, :HasServicesLog
3172
+
3173
+ def initialize(topicid=nil, name=nil, delivertype=nil, starttime=nil, dlcinfo=nil, maxsize=nil, interval=nil, endtime=nil, hasserviceslog=nil)
3174
+ @TopicId = topicid
3175
+ @Name = name
3176
+ @DeliverType = delivertype
3177
+ @StartTime = starttime
3178
+ @DlcInfo = dlcinfo
3179
+ @MaxSize = maxsize
3180
+ @Interval = interval
3181
+ @EndTime = endtime
3182
+ @HasServicesLog = hasserviceslog
3183
+ end
3184
+
3185
+ def deserialize(params)
3186
+ @TopicId = params['TopicId']
3187
+ @Name = params['Name']
3188
+ @DeliverType = params['DeliverType']
3189
+ @StartTime = params['StartTime']
3190
+ unless params['DlcInfo'].nil?
3191
+ @DlcInfo = DlcInfo.new
3192
+ @DlcInfo.deserialize(params['DlcInfo'])
3193
+ end
3194
+ @MaxSize = params['MaxSize']
3195
+ @Interval = params['Interval']
3196
+ @EndTime = params['EndTime']
3197
+ @HasServicesLog = params['HasServicesLog']
3198
+ end
3199
+ end
3200
+
3201
+ # CreateDlcDeliver返回参数结构体
3202
+ class CreateDlcDeliverResponse < TencentCloud::Common::AbstractModel
3203
+ # @param TaskId: 配置id
3204
+ # @type TaskId: String
3205
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3206
+ # @type RequestId: String
3207
+
3208
+ attr_accessor :TaskId, :RequestId
3209
+
3210
+ def initialize(taskid=nil, requestid=nil)
3211
+ @TaskId = taskid
3212
+ @RequestId = requestid
3213
+ end
3214
+
3215
+ def deserialize(params)
3216
+ @TaskId = params['TaskId']
3217
+ @RequestId = params['RequestId']
3218
+ end
3219
+ end
3220
+
3149
3221
  # CreateExport请求参数结构体
3150
3222
  class CreateExportRequest < TencentCloud::Common::AbstractModel
3151
3223
  # @param TopicId: 日志主题Id
@@ -3812,6 +3884,12 @@ module TencentCloud
3812
3884
  # 非0:日志主题开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
3813
3885
  # 仅在StorageType为 hot 时生效,指标主题不支持该配置。
3814
3886
  # @type HotPeriod: Integer
3887
+ # @param Encryption: 加密相关参数。 支持加密地域并且开白用户可以传此参数,其他场景不能传递该参数。
3888
+ # 0或者不传: 不加密
3889
+ # 1:kms-cls 云产品密钥加密
3890
+
3891
+ # 支持地域:ap-beijing,ap-guangzhou,ap-shanghai,ap-singapore,ap-bangkok,ap-jakarta,eu-frankfurt,ap-seoul,ap-tokyo
3892
+ # @type Encryption: Integer
3815
3893
  # @param BizType: 主题类型
3816
3894
  # - 0:日志主题,默认值
3817
3895
  # - 1:指标主题
@@ -3829,9 +3907,9 @@ module TencentCloud
3829
3907
  # @param IsSourceFrom: 开启记录公网来源ip和服务端接收时间
3830
3908
  # @type IsSourceFrom: Boolean
3831
3909
 
3832
- attr_accessor :LogsetId, :TopicName, :PartitionCount, :Tags, :AutoSplit, :MaxSplitPartitions, :StorageType, :Period, :Describes, :HotPeriod, :BizType, :TopicId, :IsWebTracking, :Extends, :IsSourceFrom
3910
+ attr_accessor :LogsetId, :TopicName, :PartitionCount, :Tags, :AutoSplit, :MaxSplitPartitions, :StorageType, :Period, :Describes, :HotPeriod, :Encryption, :BizType, :TopicId, :IsWebTracking, :Extends, :IsSourceFrom
3833
3911
 
3834
- def initialize(logsetid=nil, topicname=nil, partitioncount=nil, tags=nil, autosplit=nil, maxsplitpartitions=nil, storagetype=nil, period=nil, describes=nil, hotperiod=nil, biztype=nil, topicid=nil, iswebtracking=nil, extends=nil, issourcefrom=nil)
3912
+ def initialize(logsetid=nil, topicname=nil, partitioncount=nil, tags=nil, autosplit=nil, maxsplitpartitions=nil, storagetype=nil, period=nil, describes=nil, hotperiod=nil, encryption=nil, biztype=nil, topicid=nil, iswebtracking=nil, extends=nil, issourcefrom=nil)
3835
3913
  @LogsetId = logsetid
3836
3914
  @TopicName = topicname
3837
3915
  @PartitionCount = partitioncount
@@ -3842,6 +3920,7 @@ module TencentCloud
3842
3920
  @Period = period
3843
3921
  @Describes = describes
3844
3922
  @HotPeriod = hotperiod
3923
+ @Encryption = encryption
3845
3924
  @BizType = biztype
3846
3925
  @TopicId = topicid
3847
3926
  @IsWebTracking = iswebtracking
@@ -3867,6 +3946,7 @@ module TencentCloud
3867
3946
  @Period = params['Period']
3868
3947
  @Describes = params['Describes']
3869
3948
  @HotPeriod = params['HotPeriod']
3949
+ @Encryption = params['Encryption']
3870
3950
  @BizType = params['BizType']
3871
3951
  @TopicId = params['TopicId']
3872
3952
  @IsWebTracking = params['IsWebTracking']
@@ -4911,6 +4991,43 @@ module TencentCloud
4911
4991
  end
4912
4992
  end
4913
4993
 
4994
+ # DeleteDlcDeliver请求参数结构体
4995
+ class DeleteDlcDeliverRequest < TencentCloud::Common::AbstractModel
4996
+ # @param TopicId: 日志主题id。
4997
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
4998
+ # @type TopicId: String
4999
+ # @param TaskId: 任务id。
5000
+ # @type TaskId: String
5001
+
5002
+ attr_accessor :TopicId, :TaskId
5003
+
5004
+ def initialize(topicid=nil, taskid=nil)
5005
+ @TopicId = topicid
5006
+ @TaskId = taskid
5007
+ end
5008
+
5009
+ def deserialize(params)
5010
+ @TopicId = params['TopicId']
5011
+ @TaskId = params['TaskId']
5012
+ end
5013
+ end
5014
+
5015
+ # DeleteDlcDeliver返回参数结构体
5016
+ class DeleteDlcDeliverResponse < TencentCloud::Common::AbstractModel
5017
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5018
+ # @type RequestId: String
5019
+
5020
+ attr_accessor :RequestId
5021
+
5022
+ def initialize(requestid=nil)
5023
+ @RequestId = requestid
5024
+ end
5025
+
5026
+ def deserialize(params)
5027
+ @RequestId = params['RequestId']
5028
+ end
5029
+ end
5030
+
4914
5031
  # DeleteExport请求参数结构体
4915
5032
  class DeleteExportRequest < TencentCloud::Common::AbstractModel
4916
5033
  # @param ExportId: 日志导出任务Id
@@ -6392,6 +6509,93 @@ module TencentCloud
6392
6509
  end
6393
6510
  end
6394
6511
 
6512
+ # DescribeDlcDelivers请求参数结构体
6513
+ class DescribeDlcDeliversRequest < TencentCloud::Common::AbstractModel
6514
+ # @param TopicId: 日志主题id。
6515
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
6516
+ # @type TopicId: String
6517
+ # @param Filters: - taskId
6518
+ # 按照【任务id】进行过滤。
6519
+ # 类型:String
6520
+ # 必选:否
6521
+
6522
+ # - name
6523
+ # 按照【任务名称】进行过滤。
6524
+ # 类型:String
6525
+ # 必选:否
6526
+
6527
+ # - tableName
6528
+ # 按照【数据表】进行过滤。
6529
+ # 类型:String
6530
+ # 必选:否
6531
+
6532
+ # - statusFlag
6533
+ # 按照【状态】进行过滤。支持:"1","2","3","4"。含义:1:RUNNING,2:STOPPED,3:FINISHED,4:FAILED
6534
+ # 类型:String
6535
+ # 必选:否
6536
+
6537
+ # 每次请求的Filters的上限为10,Filter.Values的上限为10。
6538
+ # @type Filters: Array
6539
+ # @param Offset: 分页的偏移量,默认值为0。
6540
+ # @type Offset: Integer
6541
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
6542
+ # @type Limit: Integer
6543
+
6544
+ attr_accessor :TopicId, :Filters, :Offset, :Limit
6545
+
6546
+ def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
6547
+ @TopicId = topicid
6548
+ @Filters = filters
6549
+ @Offset = offset
6550
+ @Limit = limit
6551
+ end
6552
+
6553
+ def deserialize(params)
6554
+ @TopicId = params['TopicId']
6555
+ unless params['Filters'].nil?
6556
+ @Filters = []
6557
+ params['Filters'].each do |i|
6558
+ filter_tmp = Filter.new
6559
+ filter_tmp.deserialize(i)
6560
+ @Filters << filter_tmp
6561
+ end
6562
+ end
6563
+ @Offset = params['Offset']
6564
+ @Limit = params['Limit']
6565
+ end
6566
+ end
6567
+
6568
+ # DescribeDlcDelivers返回参数结构体
6569
+ class DescribeDlcDeliversResponse < TencentCloud::Common::AbstractModel
6570
+ # @param Infos: 告警渠道回调配置列表。
6571
+ # @type Infos: Array
6572
+ # @param Total: 符合条件的通知内容配置总数。
6573
+ # @type Total: Integer
6574
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6575
+ # @type RequestId: String
6576
+
6577
+ attr_accessor :Infos, :Total, :RequestId
6578
+
6579
+ def initialize(infos=nil, total=nil, requestid=nil)
6580
+ @Infos = infos
6581
+ @Total = total
6582
+ @RequestId = requestid
6583
+ end
6584
+
6585
+ def deserialize(params)
6586
+ unless params['Infos'].nil?
6587
+ @Infos = []
6588
+ params['Infos'].each do |i|
6589
+ dlcdeliverinfo_tmp = DlcDeliverInfo.new
6590
+ dlcdeliverinfo_tmp.deserialize(i)
6591
+ @Infos << dlcdeliverinfo_tmp
6592
+ end
6593
+ end
6594
+ @Total = params['Total']
6595
+ @RequestId = params['RequestId']
6596
+ end
6597
+ end
6598
+
6395
6599
  # DescribeExports请求参数结构体
6396
6600
  class DescribeExportsRequest < TencentCloud::Common::AbstractModel
6397
6601
  # @param TopicId: 日志主题Id
@@ -7760,6 +7964,233 @@ module TencentCloud
7760
7964
  end
7761
7965
  end
7762
7966
 
7967
+ # 投递DLC任务配置信息
7968
+ class DlcDeliverInfo < TencentCloud::Common::AbstractModel
7969
+ # @param TaskId: 任务id。
7970
+ # @type TaskId: String
7971
+ # @param Uin: 账号id。
7972
+ # @type Uin: Integer
7973
+ # @param TopicId: 日志主题id。
7974
+ # @type TopicId: String
7975
+ # @param Name: 任务名称。
7976
+ # @type Name: String
7977
+ # @param DeliverType: 投递类型,0:实时投递,1:历史投递
7978
+ # @type DeliverType: Integer
7979
+ # @param MaxSize: 投递文件大小,单位MB
7980
+ # @type MaxSize: Integer
7981
+ # @param Interval: 投递间隔 单位秒
7982
+ # @type Interval: Integer
7983
+ # @param StartTime: 投递时间范围的开始时间
7984
+ # @type StartTime: Integer
7985
+ # @param EndTime: 投递时间范围的结束时间
7986
+ # @type EndTime: Integer
7987
+ # @param DlcInfo: dlc配置信息
7988
+ # @type DlcInfo: :class:`Tencentcloud::Cls.v20201016.models.DlcInfo`
7989
+ # @param HasServicesLog: 是否开启投递服务日志。1关闭,2开启
7990
+ # @type HasServicesLog: Integer
7991
+ # @param Status: 任务状态。
7992
+ # @type Status: Integer
7993
+ # @param Progress: 任务进度。历史投递任务生效。
7994
+ # @type Progress: Integer
7995
+ # @param BizType: 日志主题类型。0:标准主题,1:指标主题
7996
+ # @type BizType: Integer
7997
+ # @param CreateTime: 任务创建时间。
7998
+ # @type CreateTime: Integer
7999
+ # @param UpdateTime: 任务修改时间。
8000
+ # @type UpdateTime: Integer
8001
+
8002
+ attr_accessor :TaskId, :Uin, :TopicId, :Name, :DeliverType, :MaxSize, :Interval, :StartTime, :EndTime, :DlcInfo, :HasServicesLog, :Status, :Progress, :BizType, :CreateTime, :UpdateTime
8003
+
8004
+ def initialize(taskid=nil, uin=nil, topicid=nil, name=nil, delivertype=nil, maxsize=nil, interval=nil, starttime=nil, endtime=nil, dlcinfo=nil, hasserviceslog=nil, status=nil, progress=nil, biztype=nil, createtime=nil, updatetime=nil)
8005
+ @TaskId = taskid
8006
+ @Uin = uin
8007
+ @TopicId = topicid
8008
+ @Name = name
8009
+ @DeliverType = delivertype
8010
+ @MaxSize = maxsize
8011
+ @Interval = interval
8012
+ @StartTime = starttime
8013
+ @EndTime = endtime
8014
+ @DlcInfo = dlcinfo
8015
+ @HasServicesLog = hasserviceslog
8016
+ @Status = status
8017
+ @Progress = progress
8018
+ @BizType = biztype
8019
+ @CreateTime = createtime
8020
+ @UpdateTime = updatetime
8021
+ end
8022
+
8023
+ def deserialize(params)
8024
+ @TaskId = params['TaskId']
8025
+ @Uin = params['Uin']
8026
+ @TopicId = params['TopicId']
8027
+ @Name = params['Name']
8028
+ @DeliverType = params['DeliverType']
8029
+ @MaxSize = params['MaxSize']
8030
+ @Interval = params['Interval']
8031
+ @StartTime = params['StartTime']
8032
+ @EndTime = params['EndTime']
8033
+ unless params['DlcInfo'].nil?
8034
+ @DlcInfo = DlcInfo.new
8035
+ @DlcInfo.deserialize(params['DlcInfo'])
8036
+ end
8037
+ @HasServicesLog = params['HasServicesLog']
8038
+ @Status = params['Status']
8039
+ @Progress = params['Progress']
8040
+ @BizType = params['BizType']
8041
+ @CreateTime = params['CreateTime']
8042
+ @UpdateTime = params['UpdateTime']
8043
+ end
8044
+ end
8045
+
8046
+ # 数据湖计算服务(Data Lake Compute,简称DLC)数据字段配置信息
8047
+ class DlcFiledInfo < TencentCloud::Common::AbstractModel
8048
+ # @param ClsField: cls日志中的字段名
8049
+ # @type ClsField: String
8050
+ # @param DlcField: 数据湖计算服务表的列名
8051
+ # @type DlcField: String
8052
+ # @param DlcFieldType: 数据湖计算服务字段类型
8053
+ # @type DlcFieldType: String
8054
+ # @param FillField: 解析失败填充字段
8055
+ # @type FillField: String
8056
+ # @param Disable: 是否禁用
8057
+ # @type Disable: Boolean
8058
+
8059
+ attr_accessor :ClsField, :DlcField, :DlcFieldType, :FillField, :Disable
8060
+
8061
+ def initialize(clsfield=nil, dlcfield=nil, dlcfieldtype=nil, fillfield=nil, disable=nil)
8062
+ @ClsField = clsfield
8063
+ @DlcField = dlcfield
8064
+ @DlcFieldType = dlcfieldtype
8065
+ @FillField = fillfield
8066
+ @Disable = disable
8067
+ end
8068
+
8069
+ def deserialize(params)
8070
+ @ClsField = params['ClsField']
8071
+ @DlcField = params['DlcField']
8072
+ @DlcFieldType = params['DlcFieldType']
8073
+ @FillField = params['FillField']
8074
+ @Disable = params['Disable']
8075
+ end
8076
+ end
8077
+
8078
+ # 数据湖计算服务(Data Lake Compute,简称DLC)导入配置信息
8079
+ class DlcInfo < TencentCloud::Common::AbstractModel
8080
+ # @param TableInfo: dlc表信息
8081
+ # @type TableInfo: :class:`Tencentcloud::Cls.v20201016.models.DlcTableInfo`
8082
+ # @param FieldInfos: dlc数据字段信息
8083
+ # @type FieldInfos: Array
8084
+ # @param PartitionInfos: dlc分区信息
8085
+ # @type PartitionInfos: Array
8086
+ # @param PartitionExtra: dlc分区额外信息
8087
+ # @type PartitionExtra: :class:`Tencentcloud::Cls.v20201016.models.DlcPartitionExtra`
8088
+
8089
+ attr_accessor :TableInfo, :FieldInfos, :PartitionInfos, :PartitionExtra
8090
+
8091
+ def initialize(tableinfo=nil, fieldinfos=nil, partitioninfos=nil, partitionextra=nil)
8092
+ @TableInfo = tableinfo
8093
+ @FieldInfos = fieldinfos
8094
+ @PartitionInfos = partitioninfos
8095
+ @PartitionExtra = partitionextra
8096
+ end
8097
+
8098
+ def deserialize(params)
8099
+ unless params['TableInfo'].nil?
8100
+ @TableInfo = DlcTableInfo.new
8101
+ @TableInfo.deserialize(params['TableInfo'])
8102
+ end
8103
+ unless params['FieldInfos'].nil?
8104
+ @FieldInfos = []
8105
+ params['FieldInfos'].each do |i|
8106
+ dlcfiledinfo_tmp = DlcFiledInfo.new
8107
+ dlcfiledinfo_tmp.deserialize(i)
8108
+ @FieldInfos << dlcfiledinfo_tmp
8109
+ end
8110
+ end
8111
+ unless params['PartitionInfos'].nil?
8112
+ @PartitionInfos = []
8113
+ params['PartitionInfos'].each do |i|
8114
+ dlcpartitioninfo_tmp = DlcPartitionInfo.new
8115
+ dlcpartitioninfo_tmp.deserialize(i)
8116
+ @PartitionInfos << dlcpartitioninfo_tmp
8117
+ end
8118
+ end
8119
+ unless params['PartitionExtra'].nil?
8120
+ @PartitionExtra = DlcPartitionExtra.new
8121
+ @PartitionExtra.deserialize(params['PartitionExtra'])
8122
+ end
8123
+ end
8124
+ end
8125
+
8126
+ # 数据湖计算服务(Data Lake Compute,简称DLC)数据分区额外信息
8127
+ class DlcPartitionExtra < TencentCloud::Common::AbstractModel
8128
+ # @param TimeFormat: 时间格式 eg: %Y-%m-%d %H:%M:%S.%f
8129
+ # @type TimeFormat: String
8130
+ # @param TimeZone: 时间时区
8131
+ # @type TimeZone: String
8132
+
8133
+ attr_accessor :TimeFormat, :TimeZone
8134
+
8135
+ def initialize(timeformat=nil, timezone=nil)
8136
+ @TimeFormat = timeformat
8137
+ @TimeZone = timezone
8138
+ end
8139
+
8140
+ def deserialize(params)
8141
+ @TimeFormat = params['TimeFormat']
8142
+ @TimeZone = params['TimeZone']
8143
+ end
8144
+ end
8145
+
8146
+ # 数据湖计算服务(Data Lake Compute,简称DLC)数据分区配置
8147
+ class DlcPartitionInfo < TencentCloud::Common::AbstractModel
8148
+ # @param ClsField: cls日志中的字段名
8149
+ # @type ClsField: String
8150
+ # @param DlcField: dlc表的列名
8151
+ # @type DlcField: String
8152
+ # @param DlcFieldType: dlc字段类型
8153
+ # @type DlcFieldType: String
8154
+
8155
+ attr_accessor :ClsField, :DlcField, :DlcFieldType
8156
+
8157
+ def initialize(clsfield=nil, dlcfield=nil, dlcfieldtype=nil)
8158
+ @ClsField = clsfield
8159
+ @DlcField = dlcfield
8160
+ @DlcFieldType = dlcfieldtype
8161
+ end
8162
+
8163
+ def deserialize(params)
8164
+ @ClsField = params['ClsField']
8165
+ @DlcField = params['DlcField']
8166
+ @DlcFieldType = params['DlcFieldType']
8167
+ end
8168
+ end
8169
+
8170
+ # 数据湖计算服务(Data Lake Compute,简称DLC)数据表配置信息
8171
+ class DlcTableInfo < TencentCloud::Common::AbstractModel
8172
+ # @param DataDirectory: 数据目录
8173
+ # @type DataDirectory: String
8174
+ # @param DatabaseName: 数据库
8175
+ # @type DatabaseName: String
8176
+ # @param TableName: 数据表
8177
+ # @type TableName: String
8178
+
8179
+ attr_accessor :DataDirectory, :DatabaseName, :TableName
8180
+
8181
+ def initialize(datadirectory=nil, databasename=nil, tablename=nil)
8182
+ @DataDirectory = datadirectory
8183
+ @DatabaseName = databasename
8184
+ @TableName = tablename
8185
+ end
8186
+
8187
+ def deserialize(params)
8188
+ @DataDirectory = params['DataDirectory']
8189
+ @DatabaseName = params['DatabaseName']
8190
+ @TableName = params['TableName']
8191
+ end
8192
+ end
8193
+
7763
8194
  # 键值索引自动配置,启用后自动将日志内的字段添加到键值索引中,包括日志中后续新增的字段。
7764
8195
  class DynamicIndex < TencentCloud::Common::AbstractModel
7765
8196
  # @param Status: 键值索引自动配置开关
@@ -10364,6 +10795,82 @@ module TencentCloud
10364
10795
  end
10365
10796
  end
10366
10797
 
10798
+ # ModifyDlcDeliver请求参数结构体
10799
+ class ModifyDlcDeliverRequest < TencentCloud::Common::AbstractModel
10800
+ # @param TopicId: 日志主题id。
10801
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
10802
+ # @type TopicId: String
10803
+ # @param TaskId: 任务id。
10804
+ # @type TaskId: String
10805
+ # @param Name: 名称:长度不超过64字符,以字母开头,接受0-9,a-z,A-Z, _,-,中文字符。
10806
+ # @type Name: String
10807
+ # @param DeliverType: 投递类型。0:批投递,1:实时投递
10808
+ # @type DeliverType: Integer
10809
+ # @param StartTime: 投递时间范围的开始时间
10810
+ # @type StartTime: Integer
10811
+ # @param EndTime: 投递时间范围的结束时间。 如果为空,则表示不限时
10812
+ # @type EndTime: Integer
10813
+ # @param MaxSize: 投递文件大小,单位MB。 DeliverType=0时必填,范围 5<= MaxSize <= 256。
10814
+ # @type MaxSize: Integer
10815
+ # @param Interval: 投递间隔,单位秒。 DeliverType=0时必填,范围 300<= Interval <=900。
10816
+ # @type Interval: Integer
10817
+ # @param DlcInfo: dlc配置信息
10818
+ # @type DlcInfo: :class:`Tencentcloud::Cls.v20201016.models.DlcInfo`
10819
+ # @param HasServicesLog: 是否开启投递服务日志。1关闭,2开启。默认开启
10820
+ # @type HasServicesLog: Integer
10821
+ # @param Status: 任务状态。
10822
+ # @type Status: Integer
10823
+
10824
+ attr_accessor :TopicId, :TaskId, :Name, :DeliverType, :StartTime, :EndTime, :MaxSize, :Interval, :DlcInfo, :HasServicesLog, :Status
10825
+
10826
+ def initialize(topicid=nil, taskid=nil, name=nil, delivertype=nil, starttime=nil, endtime=nil, maxsize=nil, interval=nil, dlcinfo=nil, hasserviceslog=nil, status=nil)
10827
+ @TopicId = topicid
10828
+ @TaskId = taskid
10829
+ @Name = name
10830
+ @DeliverType = delivertype
10831
+ @StartTime = starttime
10832
+ @EndTime = endtime
10833
+ @MaxSize = maxsize
10834
+ @Interval = interval
10835
+ @DlcInfo = dlcinfo
10836
+ @HasServicesLog = hasserviceslog
10837
+ @Status = status
10838
+ end
10839
+
10840
+ def deserialize(params)
10841
+ @TopicId = params['TopicId']
10842
+ @TaskId = params['TaskId']
10843
+ @Name = params['Name']
10844
+ @DeliverType = params['DeliverType']
10845
+ @StartTime = params['StartTime']
10846
+ @EndTime = params['EndTime']
10847
+ @MaxSize = params['MaxSize']
10848
+ @Interval = params['Interval']
10849
+ unless params['DlcInfo'].nil?
10850
+ @DlcInfo = DlcInfo.new
10851
+ @DlcInfo.deserialize(params['DlcInfo'])
10852
+ end
10853
+ @HasServicesLog = params['HasServicesLog']
10854
+ @Status = params['Status']
10855
+ end
10856
+ end
10857
+
10858
+ # ModifyDlcDeliver返回参数结构体
10859
+ class ModifyDlcDeliverResponse < TencentCloud::Common::AbstractModel
10860
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10861
+ # @type RequestId: String
10862
+
10863
+ attr_accessor :RequestId
10864
+
10865
+ def initialize(requestid=nil)
10866
+ @RequestId = requestid
10867
+ end
10868
+
10869
+ def deserialize(params)
10870
+ @RequestId = params['RequestId']
10871
+ end
10872
+ end
10873
+
10367
10874
  # ModifyIndex请求参数结构体
10368
10875
  class ModifyIndexRequest < TencentCloud::Common::AbstractModel
10369
10876
  # @param TopicId: 日志主题Id。
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.1169
4
+ version: 3.0.1174
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-19 00:00:00.000000000 Z
11
+ date: 2025-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20201016/client.rb
37
- - lib/v20201016/models.rb
38
36
  - lib/tencentcloud-sdk-cls.rb
37
+ - lib/v20201016/models.rb
38
+ - lib/v20201016/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: