tencentcloud-sdk-cls 3.0.1169 → 3.0.1173

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: d14c329efdaf86142fe215cb17883b88cc4d7b42
4
+ data.tar.gz: 015ef299eb450290391c33df785b87c91c1946d3
5
5
  SHA512:
6
- metadata.gz: 27ecac663d10d3904900a6bedd17e0d92243342468149e5851659197d11a8a42ffdcb347a5cf0241e70e65a110f2ae7c71024434ee33f6a5ca1b00fdfe4caf03
7
- data.tar.gz: dfde3e63496ceb3a716c6ed97d20e5d308b49b44dc997ab6476b209c7e0aff333cd84d9cead1cc10751700f4ca903ec747d5b3df623d4539e84f1a4b73eda0d2
6
+ metadata.gz: 0a7de49295d9cdb09bcda7f35487ad63de5682fa991bf364ef26c50c635f4696bb6df53c70fcf69c444a4a96e446b1ff971d6ef0fbbe93d74b65b625aa5fc7e3
7
+ data.tar.gz: 4161948c4a46c703bb32c7268756466c680d793ecdab0645c1f432585d246c5082d1f09ea96ec56470c442c7f568aaf59fcce8ac0b835c07e86ce7b416065914
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1169
1
+ 3.0.1173
@@ -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
@@ -4911,6 +4983,43 @@ module TencentCloud
4911
4983
  end
4912
4984
  end
4913
4985
 
4986
+ # DeleteDlcDeliver请求参数结构体
4987
+ class DeleteDlcDeliverRequest < TencentCloud::Common::AbstractModel
4988
+ # @param TopicId: 日志主题id。
4989
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
4990
+ # @type TopicId: String
4991
+ # @param TaskId: 任务id。
4992
+ # @type TaskId: String
4993
+
4994
+ attr_accessor :TopicId, :TaskId
4995
+
4996
+ def initialize(topicid=nil, taskid=nil)
4997
+ @TopicId = topicid
4998
+ @TaskId = taskid
4999
+ end
5000
+
5001
+ def deserialize(params)
5002
+ @TopicId = params['TopicId']
5003
+ @TaskId = params['TaskId']
5004
+ end
5005
+ end
5006
+
5007
+ # DeleteDlcDeliver返回参数结构体
5008
+ class DeleteDlcDeliverResponse < TencentCloud::Common::AbstractModel
5009
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5010
+ # @type RequestId: String
5011
+
5012
+ attr_accessor :RequestId
5013
+
5014
+ def initialize(requestid=nil)
5015
+ @RequestId = requestid
5016
+ end
5017
+
5018
+ def deserialize(params)
5019
+ @RequestId = params['RequestId']
5020
+ end
5021
+ end
5022
+
4914
5023
  # DeleteExport请求参数结构体
4915
5024
  class DeleteExportRequest < TencentCloud::Common::AbstractModel
4916
5025
  # @param ExportId: 日志导出任务Id
@@ -6392,6 +6501,93 @@ module TencentCloud
6392
6501
  end
6393
6502
  end
6394
6503
 
6504
+ # DescribeDlcDelivers请求参数结构体
6505
+ class DescribeDlcDeliversRequest < TencentCloud::Common::AbstractModel
6506
+ # @param TopicId: 日志主题id。
6507
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
6508
+ # @type TopicId: String
6509
+ # @param Filters: - taskId
6510
+ # 按照【任务id】进行过滤。
6511
+ # 类型:String
6512
+ # 必选:否
6513
+
6514
+ # - name
6515
+ # 按照【任务名称】进行过滤。
6516
+ # 类型:String
6517
+ # 必选:否
6518
+
6519
+ # - tableName
6520
+ # 按照【数据表】进行过滤。
6521
+ # 类型:String
6522
+ # 必选:否
6523
+
6524
+ # - statusFlag
6525
+ # 按照【状态】进行过滤。支持:"1","2","3","4"。含义:1:RUNNING,2:STOPPED,3:FINISHED,4:FAILED
6526
+ # 类型:String
6527
+ # 必选:否
6528
+
6529
+ # 每次请求的Filters的上限为10,Filter.Values的上限为10。
6530
+ # @type Filters: Array
6531
+ # @param Offset: 分页的偏移量,默认值为0。
6532
+ # @type Offset: Integer
6533
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
6534
+ # @type Limit: Integer
6535
+
6536
+ attr_accessor :TopicId, :Filters, :Offset, :Limit
6537
+
6538
+ def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
6539
+ @TopicId = topicid
6540
+ @Filters = filters
6541
+ @Offset = offset
6542
+ @Limit = limit
6543
+ end
6544
+
6545
+ def deserialize(params)
6546
+ @TopicId = params['TopicId']
6547
+ unless params['Filters'].nil?
6548
+ @Filters = []
6549
+ params['Filters'].each do |i|
6550
+ filter_tmp = Filter.new
6551
+ filter_tmp.deserialize(i)
6552
+ @Filters << filter_tmp
6553
+ end
6554
+ end
6555
+ @Offset = params['Offset']
6556
+ @Limit = params['Limit']
6557
+ end
6558
+ end
6559
+
6560
+ # DescribeDlcDelivers返回参数结构体
6561
+ class DescribeDlcDeliversResponse < TencentCloud::Common::AbstractModel
6562
+ # @param Infos: 告警渠道回调配置列表。
6563
+ # @type Infos: Array
6564
+ # @param Total: 符合条件的通知内容配置总数。
6565
+ # @type Total: Integer
6566
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6567
+ # @type RequestId: String
6568
+
6569
+ attr_accessor :Infos, :Total, :RequestId
6570
+
6571
+ def initialize(infos=nil, total=nil, requestid=nil)
6572
+ @Infos = infos
6573
+ @Total = total
6574
+ @RequestId = requestid
6575
+ end
6576
+
6577
+ def deserialize(params)
6578
+ unless params['Infos'].nil?
6579
+ @Infos = []
6580
+ params['Infos'].each do |i|
6581
+ dlcdeliverinfo_tmp = DlcDeliverInfo.new
6582
+ dlcdeliverinfo_tmp.deserialize(i)
6583
+ @Infos << dlcdeliverinfo_tmp
6584
+ end
6585
+ end
6586
+ @Total = params['Total']
6587
+ @RequestId = params['RequestId']
6588
+ end
6589
+ end
6590
+
6395
6591
  # DescribeExports请求参数结构体
6396
6592
  class DescribeExportsRequest < TencentCloud::Common::AbstractModel
6397
6593
  # @param TopicId: 日志主题Id
@@ -7760,6 +7956,233 @@ module TencentCloud
7760
7956
  end
7761
7957
  end
7762
7958
 
7959
+ # 投递DLC任务配置信息
7960
+ class DlcDeliverInfo < TencentCloud::Common::AbstractModel
7961
+ # @param TaskId: 任务id。
7962
+ # @type TaskId: String
7963
+ # @param Uin: 账号id。
7964
+ # @type Uin: Integer
7965
+ # @param TopicId: 日志主题id。
7966
+ # @type TopicId: String
7967
+ # @param Name: 任务名称。
7968
+ # @type Name: String
7969
+ # @param DeliverType: 投递类型,0:实时投递,1:历史投递
7970
+ # @type DeliverType: Integer
7971
+ # @param MaxSize: 投递文件大小,单位MB
7972
+ # @type MaxSize: Integer
7973
+ # @param Interval: 投递间隔 单位秒
7974
+ # @type Interval: Integer
7975
+ # @param StartTime: 投递时间范围的开始时间
7976
+ # @type StartTime: Integer
7977
+ # @param EndTime: 投递时间范围的结束时间
7978
+ # @type EndTime: Integer
7979
+ # @param DlcInfo: dlc配置信息
7980
+ # @type DlcInfo: :class:`Tencentcloud::Cls.v20201016.models.DlcInfo`
7981
+ # @param HasServicesLog: 是否开启投递服务日志。1关闭,2开启
7982
+ # @type HasServicesLog: Integer
7983
+ # @param Status: 任务状态。
7984
+ # @type Status: Integer
7985
+ # @param Progress: 任务进度。历史投递任务生效。
7986
+ # @type Progress: Integer
7987
+ # @param BizType: 日志主题类型。0:标准主题,1:指标主题
7988
+ # @type BizType: Integer
7989
+ # @param CreateTime: 任务创建时间。
7990
+ # @type CreateTime: Integer
7991
+ # @param UpdateTime: 任务修改时间。
7992
+ # @type UpdateTime: Integer
7993
+
7994
+ attr_accessor :TaskId, :Uin, :TopicId, :Name, :DeliverType, :MaxSize, :Interval, :StartTime, :EndTime, :DlcInfo, :HasServicesLog, :Status, :Progress, :BizType, :CreateTime, :UpdateTime
7995
+
7996
+ 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)
7997
+ @TaskId = taskid
7998
+ @Uin = uin
7999
+ @TopicId = topicid
8000
+ @Name = name
8001
+ @DeliverType = delivertype
8002
+ @MaxSize = maxsize
8003
+ @Interval = interval
8004
+ @StartTime = starttime
8005
+ @EndTime = endtime
8006
+ @DlcInfo = dlcinfo
8007
+ @HasServicesLog = hasserviceslog
8008
+ @Status = status
8009
+ @Progress = progress
8010
+ @BizType = biztype
8011
+ @CreateTime = createtime
8012
+ @UpdateTime = updatetime
8013
+ end
8014
+
8015
+ def deserialize(params)
8016
+ @TaskId = params['TaskId']
8017
+ @Uin = params['Uin']
8018
+ @TopicId = params['TopicId']
8019
+ @Name = params['Name']
8020
+ @DeliverType = params['DeliverType']
8021
+ @MaxSize = params['MaxSize']
8022
+ @Interval = params['Interval']
8023
+ @StartTime = params['StartTime']
8024
+ @EndTime = params['EndTime']
8025
+ unless params['DlcInfo'].nil?
8026
+ @DlcInfo = DlcInfo.new
8027
+ @DlcInfo.deserialize(params['DlcInfo'])
8028
+ end
8029
+ @HasServicesLog = params['HasServicesLog']
8030
+ @Status = params['Status']
8031
+ @Progress = params['Progress']
8032
+ @BizType = params['BizType']
8033
+ @CreateTime = params['CreateTime']
8034
+ @UpdateTime = params['UpdateTime']
8035
+ end
8036
+ end
8037
+
8038
+ # 数据湖计算服务(Data Lake Compute,简称DLC)数据字段配置信息
8039
+ class DlcFiledInfo < TencentCloud::Common::AbstractModel
8040
+ # @param ClsField: cls日志中的字段名
8041
+ # @type ClsField: String
8042
+ # @param DlcField: 数据湖计算服务表的列名
8043
+ # @type DlcField: String
8044
+ # @param DlcFieldType: 数据湖计算服务字段类型
8045
+ # @type DlcFieldType: String
8046
+ # @param FillField: 解析失败填充字段
8047
+ # @type FillField: String
8048
+ # @param Disable: 是否禁用
8049
+ # @type Disable: Boolean
8050
+
8051
+ attr_accessor :ClsField, :DlcField, :DlcFieldType, :FillField, :Disable
8052
+
8053
+ def initialize(clsfield=nil, dlcfield=nil, dlcfieldtype=nil, fillfield=nil, disable=nil)
8054
+ @ClsField = clsfield
8055
+ @DlcField = dlcfield
8056
+ @DlcFieldType = dlcfieldtype
8057
+ @FillField = fillfield
8058
+ @Disable = disable
8059
+ end
8060
+
8061
+ def deserialize(params)
8062
+ @ClsField = params['ClsField']
8063
+ @DlcField = params['DlcField']
8064
+ @DlcFieldType = params['DlcFieldType']
8065
+ @FillField = params['FillField']
8066
+ @Disable = params['Disable']
8067
+ end
8068
+ end
8069
+
8070
+ # 数据湖计算服务(Data Lake Compute,简称DLC)导入配置信息
8071
+ class DlcInfo < TencentCloud::Common::AbstractModel
8072
+ # @param TableInfo: dlc表信息
8073
+ # @type TableInfo: :class:`Tencentcloud::Cls.v20201016.models.DlcTableInfo`
8074
+ # @param FieldInfos: dlc数据字段信息
8075
+ # @type FieldInfos: Array
8076
+ # @param PartitionInfos: dlc分区信息
8077
+ # @type PartitionInfos: Array
8078
+ # @param PartitionExtra: dlc分区额外信息
8079
+ # @type PartitionExtra: :class:`Tencentcloud::Cls.v20201016.models.DlcPartitionExtra`
8080
+
8081
+ attr_accessor :TableInfo, :FieldInfos, :PartitionInfos, :PartitionExtra
8082
+
8083
+ def initialize(tableinfo=nil, fieldinfos=nil, partitioninfos=nil, partitionextra=nil)
8084
+ @TableInfo = tableinfo
8085
+ @FieldInfos = fieldinfos
8086
+ @PartitionInfos = partitioninfos
8087
+ @PartitionExtra = partitionextra
8088
+ end
8089
+
8090
+ def deserialize(params)
8091
+ unless params['TableInfo'].nil?
8092
+ @TableInfo = DlcTableInfo.new
8093
+ @TableInfo.deserialize(params['TableInfo'])
8094
+ end
8095
+ unless params['FieldInfos'].nil?
8096
+ @FieldInfos = []
8097
+ params['FieldInfos'].each do |i|
8098
+ dlcfiledinfo_tmp = DlcFiledInfo.new
8099
+ dlcfiledinfo_tmp.deserialize(i)
8100
+ @FieldInfos << dlcfiledinfo_tmp
8101
+ end
8102
+ end
8103
+ unless params['PartitionInfos'].nil?
8104
+ @PartitionInfos = []
8105
+ params['PartitionInfos'].each do |i|
8106
+ dlcpartitioninfo_tmp = DlcPartitionInfo.new
8107
+ dlcpartitioninfo_tmp.deserialize(i)
8108
+ @PartitionInfos << dlcpartitioninfo_tmp
8109
+ end
8110
+ end
8111
+ unless params['PartitionExtra'].nil?
8112
+ @PartitionExtra = DlcPartitionExtra.new
8113
+ @PartitionExtra.deserialize(params['PartitionExtra'])
8114
+ end
8115
+ end
8116
+ end
8117
+
8118
+ # 数据湖计算服务(Data Lake Compute,简称DLC)数据分区额外信息
8119
+ class DlcPartitionExtra < TencentCloud::Common::AbstractModel
8120
+ # @param TimeFormat: 时间格式 eg: %Y-%m-%d %H:%M:%S.%f
8121
+ # @type TimeFormat: String
8122
+ # @param TimeZone: 时间时区
8123
+ # @type TimeZone: String
8124
+
8125
+ attr_accessor :TimeFormat, :TimeZone
8126
+
8127
+ def initialize(timeformat=nil, timezone=nil)
8128
+ @TimeFormat = timeformat
8129
+ @TimeZone = timezone
8130
+ end
8131
+
8132
+ def deserialize(params)
8133
+ @TimeFormat = params['TimeFormat']
8134
+ @TimeZone = params['TimeZone']
8135
+ end
8136
+ end
8137
+
8138
+ # 数据湖计算服务(Data Lake Compute,简称DLC)数据分区配置
8139
+ class DlcPartitionInfo < TencentCloud::Common::AbstractModel
8140
+ # @param ClsField: cls日志中的字段名
8141
+ # @type ClsField: String
8142
+ # @param DlcField: dlc表的列名
8143
+ # @type DlcField: String
8144
+ # @param DlcFieldType: dlc字段类型
8145
+ # @type DlcFieldType: String
8146
+
8147
+ attr_accessor :ClsField, :DlcField, :DlcFieldType
8148
+
8149
+ def initialize(clsfield=nil, dlcfield=nil, dlcfieldtype=nil)
8150
+ @ClsField = clsfield
8151
+ @DlcField = dlcfield
8152
+ @DlcFieldType = dlcfieldtype
8153
+ end
8154
+
8155
+ def deserialize(params)
8156
+ @ClsField = params['ClsField']
8157
+ @DlcField = params['DlcField']
8158
+ @DlcFieldType = params['DlcFieldType']
8159
+ end
8160
+ end
8161
+
8162
+ # 数据湖计算服务(Data Lake Compute,简称DLC)数据表配置信息
8163
+ class DlcTableInfo < TencentCloud::Common::AbstractModel
8164
+ # @param DataDirectory: 数据目录
8165
+ # @type DataDirectory: String
8166
+ # @param DatabaseName: 数据库
8167
+ # @type DatabaseName: String
8168
+ # @param TableName: 数据表
8169
+ # @type TableName: String
8170
+
8171
+ attr_accessor :DataDirectory, :DatabaseName, :TableName
8172
+
8173
+ def initialize(datadirectory=nil, databasename=nil, tablename=nil)
8174
+ @DataDirectory = datadirectory
8175
+ @DatabaseName = databasename
8176
+ @TableName = tablename
8177
+ end
8178
+
8179
+ def deserialize(params)
8180
+ @DataDirectory = params['DataDirectory']
8181
+ @DatabaseName = params['DatabaseName']
8182
+ @TableName = params['TableName']
8183
+ end
8184
+ end
8185
+
7763
8186
  # 键值索引自动配置,启用后自动将日志内的字段添加到键值索引中,包括日志中后续新增的字段。
7764
8187
  class DynamicIndex < TencentCloud::Common::AbstractModel
7765
8188
  # @param Status: 键值索引自动配置开关
@@ -10364,6 +10787,82 @@ module TencentCloud
10364
10787
  end
10365
10788
  end
10366
10789
 
10790
+ # ModifyDlcDeliver请求参数结构体
10791
+ class ModifyDlcDeliverRequest < TencentCloud::Common::AbstractModel
10792
+ # @param TopicId: 日志主题id。
10793
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
10794
+ # @type TopicId: String
10795
+ # @param TaskId: 任务id。
10796
+ # @type TaskId: String
10797
+ # @param Name: 名称:长度不超过64字符,以字母开头,接受0-9,a-z,A-Z, _,-,中文字符。
10798
+ # @type Name: String
10799
+ # @param DeliverType: 投递类型。0:批投递,1:实时投递
10800
+ # @type DeliverType: Integer
10801
+ # @param StartTime: 投递时间范围的开始时间
10802
+ # @type StartTime: Integer
10803
+ # @param EndTime: 投递时间范围的结束时间。 如果为空,则表示不限时
10804
+ # @type EndTime: Integer
10805
+ # @param MaxSize: 投递文件大小,单位MB。 DeliverType=0时必填,范围 5<= MaxSize <= 256。
10806
+ # @type MaxSize: Integer
10807
+ # @param Interval: 投递间隔,单位秒。 DeliverType=0时必填,范围 300<= Interval <=900。
10808
+ # @type Interval: Integer
10809
+ # @param DlcInfo: dlc配置信息
10810
+ # @type DlcInfo: :class:`Tencentcloud::Cls.v20201016.models.DlcInfo`
10811
+ # @param HasServicesLog: 是否开启投递服务日志。1关闭,2开启。默认开启
10812
+ # @type HasServicesLog: Integer
10813
+ # @param Status: 任务状态。
10814
+ # @type Status: Integer
10815
+
10816
+ attr_accessor :TopicId, :TaskId, :Name, :DeliverType, :StartTime, :EndTime, :MaxSize, :Interval, :DlcInfo, :HasServicesLog, :Status
10817
+
10818
+ def initialize(topicid=nil, taskid=nil, name=nil, delivertype=nil, starttime=nil, endtime=nil, maxsize=nil, interval=nil, dlcinfo=nil, hasserviceslog=nil, status=nil)
10819
+ @TopicId = topicid
10820
+ @TaskId = taskid
10821
+ @Name = name
10822
+ @DeliverType = delivertype
10823
+ @StartTime = starttime
10824
+ @EndTime = endtime
10825
+ @MaxSize = maxsize
10826
+ @Interval = interval
10827
+ @DlcInfo = dlcinfo
10828
+ @HasServicesLog = hasserviceslog
10829
+ @Status = status
10830
+ end
10831
+
10832
+ def deserialize(params)
10833
+ @TopicId = params['TopicId']
10834
+ @TaskId = params['TaskId']
10835
+ @Name = params['Name']
10836
+ @DeliverType = params['DeliverType']
10837
+ @StartTime = params['StartTime']
10838
+ @EndTime = params['EndTime']
10839
+ @MaxSize = params['MaxSize']
10840
+ @Interval = params['Interval']
10841
+ unless params['DlcInfo'].nil?
10842
+ @DlcInfo = DlcInfo.new
10843
+ @DlcInfo.deserialize(params['DlcInfo'])
10844
+ end
10845
+ @HasServicesLog = params['HasServicesLog']
10846
+ @Status = params['Status']
10847
+ end
10848
+ end
10849
+
10850
+ # ModifyDlcDeliver返回参数结构体
10851
+ class ModifyDlcDeliverResponse < TencentCloud::Common::AbstractModel
10852
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10853
+ # @type RequestId: String
10854
+
10855
+ attr_accessor :RequestId
10856
+
10857
+ def initialize(requestid=nil)
10858
+ @RequestId = requestid
10859
+ end
10860
+
10861
+ def deserialize(params)
10862
+ @RequestId = params['RequestId']
10863
+ end
10864
+ end
10865
+
10367
10866
  # ModifyIndex请求参数结构体
10368
10867
  class ModifyIndexRequest < TencentCloud::Common::AbstractModel
10369
10868
  # @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.1173
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-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common