tencentcloud-sdk-cls 1.0.234 → 1.0.235
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201016/client.rb +0 -192
- data/lib/v20201016/models.rb +0 -597
- 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: 7de1c82168633089ac68d8f9318b63b84598717e
|
4
|
+
data.tar.gz: 821a5974962cba2f49881ce6f53ea210d53c5596
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bde6b9a990ddc18317da3b5e0dcbcbfe078d4924af5c3c60c555b6bfa43d672c4768b250a0110ba622e59b53c44265c1556d455d485d61cc941fb80dc689e293
|
7
|
+
data.tar.gz: 5280619cc773eccdc414c77ad062074e55335f92e09d1dc5f4ca6564697ae8f78367085b077b4e5464ac67089862e51fded993ea6eb9bc64728e0080860b8999
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.235
|
data/lib/v20201016/client.rb
CHANGED
@@ -101,54 +101,6 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
-
# 本接口用于创建离线上下文任务
|
105
|
-
|
106
|
-
# @param request: Request instance for CreateAsyncContextTask.
|
107
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::CreateAsyncContextTaskRequest`
|
108
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::CreateAsyncContextTaskResponse`
|
109
|
-
def CreateAsyncContextTask(request)
|
110
|
-
body = send_request('CreateAsyncContextTask', request.serialize)
|
111
|
-
response = JSON.parse(body)
|
112
|
-
if response['Response'].key?('Error') == false
|
113
|
-
model = CreateAsyncContextTaskResponse.new
|
114
|
-
model.deserialize(response['Response'])
|
115
|
-
model
|
116
|
-
else
|
117
|
-
code = response['Response']['Error']['Code']
|
118
|
-
message = response['Response']['Error']['Message']
|
119
|
-
reqid = response['Response']['RequestId']
|
120
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
-
end
|
122
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
-
raise e
|
124
|
-
rescue StandardError => e
|
125
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
-
end
|
127
|
-
|
128
|
-
# 本接口用于创建离线检索任务
|
129
|
-
|
130
|
-
# @param request: Request instance for CreateAsyncSearchTask.
|
131
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::CreateAsyncSearchTaskRequest`
|
132
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::CreateAsyncSearchTaskResponse`
|
133
|
-
def CreateAsyncSearchTask(request)
|
134
|
-
body = send_request('CreateAsyncSearchTask', request.serialize)
|
135
|
-
response = JSON.parse(body)
|
136
|
-
if response['Response'].key?('Error') == false
|
137
|
-
model = CreateAsyncSearchTaskResponse.new
|
138
|
-
model.deserialize(response['Response'])
|
139
|
-
model
|
140
|
-
else
|
141
|
-
code = response['Response']['Error']['Code']
|
142
|
-
message = response['Response']['Error']['Message']
|
143
|
-
reqid = response['Response']['RequestId']
|
144
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
-
end
|
146
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
-
raise e
|
148
|
-
rescue StandardError => e
|
149
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
-
end
|
151
|
-
|
152
104
|
# 创建采集规则配置
|
153
105
|
|
154
106
|
# @param request: Request instance for CreateConfig.
|
@@ -389,54 +341,6 @@ module TencentCloud
|
|
389
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
342
|
end
|
391
343
|
|
392
|
-
# 本接口用于删除离线上下文任务
|
393
|
-
|
394
|
-
# @param request: Request instance for DeleteAsyncContextTask.
|
395
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::DeleteAsyncContextTaskRequest`
|
396
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::DeleteAsyncContextTaskResponse`
|
397
|
-
def DeleteAsyncContextTask(request)
|
398
|
-
body = send_request('DeleteAsyncContextTask', request.serialize)
|
399
|
-
response = JSON.parse(body)
|
400
|
-
if response['Response'].key?('Error') == false
|
401
|
-
model = DeleteAsyncContextTaskResponse.new
|
402
|
-
model.deserialize(response['Response'])
|
403
|
-
model
|
404
|
-
else
|
405
|
-
code = response['Response']['Error']['Code']
|
406
|
-
message = response['Response']['Error']['Message']
|
407
|
-
reqid = response['Response']['RequestId']
|
408
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
-
end
|
410
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
-
raise e
|
412
|
-
rescue StandardError => e
|
413
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
-
end
|
415
|
-
|
416
|
-
# 本接口用于删除离线检索任务
|
417
|
-
|
418
|
-
# @param request: Request instance for DeleteAsyncSearchTask.
|
419
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::DeleteAsyncSearchTaskRequest`
|
420
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::DeleteAsyncSearchTaskResponse`
|
421
|
-
def DeleteAsyncSearchTask(request)
|
422
|
-
body = send_request('DeleteAsyncSearchTask', request.serialize)
|
423
|
-
response = JSON.parse(body)
|
424
|
-
if response['Response'].key?('Error') == false
|
425
|
-
model = DeleteAsyncSearchTaskResponse.new
|
426
|
-
model.deserialize(response['Response'])
|
427
|
-
model
|
428
|
-
else
|
429
|
-
code = response['Response']['Error']['Code']
|
430
|
-
message = response['Response']['Error']['Message']
|
431
|
-
reqid = response['Response']['RequestId']
|
432
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
-
end
|
434
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
-
raise e
|
436
|
-
rescue StandardError => e
|
437
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
-
end
|
439
|
-
|
440
344
|
# 删除采集规则配置
|
441
345
|
|
442
346
|
# @param request: Request instance for DeleteConfig.
|
@@ -701,102 +605,6 @@ module TencentCloud
|
|
701
605
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
606
|
end
|
703
607
|
|
704
|
-
# 本接口用户获取离线上下文任务的结果
|
705
|
-
|
706
|
-
# @param request: Request instance for DescribeAsyncContextResult.
|
707
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeAsyncContextResultRequest`
|
708
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeAsyncContextResultResponse`
|
709
|
-
def DescribeAsyncContextResult(request)
|
710
|
-
body = send_request('DescribeAsyncContextResult', request.serialize)
|
711
|
-
response = JSON.parse(body)
|
712
|
-
if response['Response'].key?('Error') == false
|
713
|
-
model = DescribeAsyncContextResultResponse.new
|
714
|
-
model.deserialize(response['Response'])
|
715
|
-
model
|
716
|
-
else
|
717
|
-
code = response['Response']['Error']['Code']
|
718
|
-
message = response['Response']['Error']['Message']
|
719
|
-
reqid = response['Response']['RequestId']
|
720
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
721
|
-
end
|
722
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
723
|
-
raise e
|
724
|
-
rescue StandardError => e
|
725
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
|
-
end
|
727
|
-
|
728
|
-
# 本接口用于获取离线上下文任务列表
|
729
|
-
|
730
|
-
# @param request: Request instance for DescribeAsyncContextTasks.
|
731
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeAsyncContextTasksRequest`
|
732
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeAsyncContextTasksResponse`
|
733
|
-
def DescribeAsyncContextTasks(request)
|
734
|
-
body = send_request('DescribeAsyncContextTasks', request.serialize)
|
735
|
-
response = JSON.parse(body)
|
736
|
-
if response['Response'].key?('Error') == false
|
737
|
-
model = DescribeAsyncContextTasksResponse.new
|
738
|
-
model.deserialize(response['Response'])
|
739
|
-
model
|
740
|
-
else
|
741
|
-
code = response['Response']['Error']['Code']
|
742
|
-
message = response['Response']['Error']['Message']
|
743
|
-
reqid = response['Response']['RequestId']
|
744
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
745
|
-
end
|
746
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
747
|
-
raise e
|
748
|
-
rescue StandardError => e
|
749
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
|
-
end
|
751
|
-
|
752
|
-
# 本接口用户获取离线检索任务的结果
|
753
|
-
|
754
|
-
# @param request: Request instance for DescribeAsyncSearchResult.
|
755
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeAsyncSearchResultRequest`
|
756
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeAsyncSearchResultResponse`
|
757
|
-
def DescribeAsyncSearchResult(request)
|
758
|
-
body = send_request('DescribeAsyncSearchResult', request.serialize)
|
759
|
-
response = JSON.parse(body)
|
760
|
-
if response['Response'].key?('Error') == false
|
761
|
-
model = DescribeAsyncSearchResultResponse.new
|
762
|
-
model.deserialize(response['Response'])
|
763
|
-
model
|
764
|
-
else
|
765
|
-
code = response['Response']['Error']['Code']
|
766
|
-
message = response['Response']['Error']['Message']
|
767
|
-
reqid = response['Response']['RequestId']
|
768
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
769
|
-
end
|
770
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
771
|
-
raise e
|
772
|
-
rescue StandardError => e
|
773
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
|
-
end
|
775
|
-
|
776
|
-
# 本接口用户获取离线检索任务列表
|
777
|
-
|
778
|
-
# @param request: Request instance for DescribeAsyncSearchTasks.
|
779
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeAsyncSearchTasksRequest`
|
780
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeAsyncSearchTasksResponse`
|
781
|
-
def DescribeAsyncSearchTasks(request)
|
782
|
-
body = send_request('DescribeAsyncSearchTasks', request.serialize)
|
783
|
-
response = JSON.parse(body)
|
784
|
-
if response['Response'].key?('Error') == false
|
785
|
-
model = DescribeAsyncSearchTasksResponse.new
|
786
|
-
model.deserialize(response['Response'])
|
787
|
-
model
|
788
|
-
else
|
789
|
-
code = response['Response']['Error']['Code']
|
790
|
-
message = response['Response']['Error']['Message']
|
791
|
-
reqid = response['Response']['RequestId']
|
792
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
793
|
-
end
|
794
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
795
|
-
raise e
|
796
|
-
rescue StandardError => e
|
797
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
|
-
end
|
799
|
-
|
800
608
|
# 获取采集规则配置所绑定的机器组
|
801
609
|
|
802
610
|
# @param request: Request instance for DescribeConfigMachineGroups.
|
data/lib/v20201016/models.rb
CHANGED
@@ -310,131 +310,6 @@ module TencentCloud
|
|
310
310
|
end
|
311
311
|
end
|
312
312
|
|
313
|
-
# 异步上下文任务
|
314
|
-
class AsyncContextTask < TencentCloud::Common::AbstractModel
|
315
|
-
# @param LogsetId: 日志集ID
|
316
|
-
# @type LogsetId: String
|
317
|
-
# @param TopicId: 日志主题ID
|
318
|
-
# @type TopicId: String
|
319
|
-
# @param CreateTime: 创建时间,时间戳,精确到毫秒
|
320
|
-
# @type CreateTime: Integer
|
321
|
-
# @param Status: 状态,0表示待开始,1表示运行中,2表示已完成,-1表示失败
|
322
|
-
# @type Status: Integer
|
323
|
-
# @param AsyncContextTaskId: 异步上下文任务ID
|
324
|
-
# @type AsyncContextTaskId: String
|
325
|
-
# @param ErrorMessage: 任务失败的错误信息
|
326
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
327
|
-
# @type ErrorMessage: String
|
328
|
-
# @param PkgId: 日志包序号
|
329
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
330
|
-
# @type PkgId: String
|
331
|
-
# @param PkgLogId: 日志包内一条日志的序号
|
332
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
333
|
-
# @type PkgLogId: String
|
334
|
-
# @param Time: 日志时间
|
335
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
336
|
-
# @type Time: Integer
|
337
|
-
# @param FinishTime: 任务完成时间,时间戳,精确到毫秒
|
338
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
339
|
-
# @type FinishTime: Integer
|
340
|
-
# @param AsyncSearchTaskId: 相关联的异步检索ID
|
341
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
342
|
-
# @type AsyncSearchTaskId: String
|
343
|
-
|
344
|
-
attr_accessor :LogsetId, :TopicId, :CreateTime, :Status, :AsyncContextTaskId, :ErrorMessage, :PkgId, :PkgLogId, :Time, :FinishTime, :AsyncSearchTaskId
|
345
|
-
|
346
|
-
def initialize(logsetid=nil, topicid=nil, createtime=nil, status=nil, asynccontexttaskid=nil, errormessage=nil, pkgid=nil, pkglogid=nil, time=nil, finishtime=nil, asyncsearchtaskid=nil)
|
347
|
-
@LogsetId = logsetid
|
348
|
-
@TopicId = topicid
|
349
|
-
@CreateTime = createtime
|
350
|
-
@Status = status
|
351
|
-
@AsyncContextTaskId = asynccontexttaskid
|
352
|
-
@ErrorMessage = errormessage
|
353
|
-
@PkgId = pkgid
|
354
|
-
@PkgLogId = pkglogid
|
355
|
-
@Time = time
|
356
|
-
@FinishTime = finishtime
|
357
|
-
@AsyncSearchTaskId = asyncsearchtaskid
|
358
|
-
end
|
359
|
-
|
360
|
-
def deserialize(params)
|
361
|
-
@LogsetId = params['LogsetId']
|
362
|
-
@TopicId = params['TopicId']
|
363
|
-
@CreateTime = params['CreateTime']
|
364
|
-
@Status = params['Status']
|
365
|
-
@AsyncContextTaskId = params['AsyncContextTaskId']
|
366
|
-
@ErrorMessage = params['ErrorMessage']
|
367
|
-
@PkgId = params['PkgId']
|
368
|
-
@PkgLogId = params['PkgLogId']
|
369
|
-
@Time = params['Time']
|
370
|
-
@FinishTime = params['FinishTime']
|
371
|
-
@AsyncSearchTaskId = params['AsyncSearchTaskId']
|
372
|
-
end
|
373
|
-
end
|
374
|
-
|
375
|
-
# 异步检索任务
|
376
|
-
class AsyncSearchTask < TencentCloud::Common::AbstractModel
|
377
|
-
# @param LogsetId: 日志集ID
|
378
|
-
# @type LogsetId: String
|
379
|
-
# @param TopicId: 日志主题ID
|
380
|
-
# @type TopicId: String
|
381
|
-
# @param CreateTime: 创建时间
|
382
|
-
# @type CreateTime: String
|
383
|
-
# @param Status: 状态,0表示待开始,1表示运行中,2表示已完成,-1表示失败
|
384
|
-
# @type Status: Integer
|
385
|
-
# @param AsyncSearchTaskId: 异步检索任务ID
|
386
|
-
# @type AsyncSearchTaskId: String
|
387
|
-
# @param Query: 查询语句
|
388
|
-
# @type Query: String
|
389
|
-
# @param From: 要查询的日志的起始时间,Unix时间戳,单位ms
|
390
|
-
# @type From: Integer
|
391
|
-
# @param To: 要查询的日志的结束时间,Unix时间戳,单位ms
|
392
|
-
# @type To: Integer
|
393
|
-
# @param Sort: 日志扫描顺序,可选值:asc(升序)、desc(降序)
|
394
|
-
# @type Sort: String
|
395
|
-
# @param ErrorMessage: 任务失败的错误信息
|
396
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
397
|
-
# @type ErrorMessage: String
|
398
|
-
# @param LogCount: 异步检索任务匹配的总日志条数
|
399
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
400
|
-
# @type LogCount: Integer
|
401
|
-
# @param FinishTime: 任务完成时间
|
402
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
403
|
-
# @type FinishTime: String
|
404
|
-
|
405
|
-
attr_accessor :LogsetId, :TopicId, :CreateTime, :Status, :AsyncSearchTaskId, :Query, :From, :To, :Sort, :ErrorMessage, :LogCount, :FinishTime
|
406
|
-
|
407
|
-
def initialize(logsetid=nil, topicid=nil, createtime=nil, status=nil, asyncsearchtaskid=nil, query=nil, from=nil, to=nil, sort=nil, errormessage=nil, logcount=nil, finishtime=nil)
|
408
|
-
@LogsetId = logsetid
|
409
|
-
@TopicId = topicid
|
410
|
-
@CreateTime = createtime
|
411
|
-
@Status = status
|
412
|
-
@AsyncSearchTaskId = asyncsearchtaskid
|
413
|
-
@Query = query
|
414
|
-
@From = from
|
415
|
-
@To = to
|
416
|
-
@Sort = sort
|
417
|
-
@ErrorMessage = errormessage
|
418
|
-
@LogCount = logcount
|
419
|
-
@FinishTime = finishtime
|
420
|
-
end
|
421
|
-
|
422
|
-
def deserialize(params)
|
423
|
-
@LogsetId = params['LogsetId']
|
424
|
-
@TopicId = params['TopicId']
|
425
|
-
@CreateTime = params['CreateTime']
|
426
|
-
@Status = params['Status']
|
427
|
-
@AsyncSearchTaskId = params['AsyncSearchTaskId']
|
428
|
-
@Query = params['Query']
|
429
|
-
@From = params['From']
|
430
|
-
@To = params['To']
|
431
|
-
@Sort = params['Sort']
|
432
|
-
@ErrorMessage = params['ErrorMessage']
|
433
|
-
@LogCount = params['LogCount']
|
434
|
-
@FinishTime = params['FinishTime']
|
435
|
-
end
|
436
|
-
end
|
437
|
-
|
438
313
|
# 回调配置
|
439
314
|
class CallBackInfo < TencentCloud::Common::AbstractModel
|
440
315
|
# @param Body: 回调时的Body
|
@@ -812,114 +687,6 @@ module TencentCloud
|
|
812
687
|
end
|
813
688
|
end
|
814
689
|
|
815
|
-
# CreateAsyncContextTask请求参数结构体
|
816
|
-
class CreateAsyncContextTaskRequest < TencentCloud::Common::AbstractModel
|
817
|
-
# @param TopicId: 日志主题ID
|
818
|
-
# @type TopicId: String
|
819
|
-
# @param Time: 日志时间,单位ms
|
820
|
-
# @type Time: Integer
|
821
|
-
# @param PkgId: 日志包序号
|
822
|
-
# @type PkgId: String
|
823
|
-
# @param PkgLogId: 日志包内一条日志的序号
|
824
|
-
# @type PkgLogId: String
|
825
|
-
# @param LogsetId: 日志集ID
|
826
|
-
# @type LogsetId: String
|
827
|
-
# @param AsyncSearchTaskId: 异步检索任务ID
|
828
|
-
# @type AsyncSearchTaskId: String
|
829
|
-
|
830
|
-
attr_accessor :TopicId, :Time, :PkgId, :PkgLogId, :LogsetId, :AsyncSearchTaskId
|
831
|
-
|
832
|
-
def initialize(topicid=nil, time=nil, pkgid=nil, pkglogid=nil, logsetid=nil, asyncsearchtaskid=nil)
|
833
|
-
@TopicId = topicid
|
834
|
-
@Time = time
|
835
|
-
@PkgId = pkgid
|
836
|
-
@PkgLogId = pkglogid
|
837
|
-
@LogsetId = logsetid
|
838
|
-
@AsyncSearchTaskId = asyncsearchtaskid
|
839
|
-
end
|
840
|
-
|
841
|
-
def deserialize(params)
|
842
|
-
@TopicId = params['TopicId']
|
843
|
-
@Time = params['Time']
|
844
|
-
@PkgId = params['PkgId']
|
845
|
-
@PkgLogId = params['PkgLogId']
|
846
|
-
@LogsetId = params['LogsetId']
|
847
|
-
@AsyncSearchTaskId = params['AsyncSearchTaskId']
|
848
|
-
end
|
849
|
-
end
|
850
|
-
|
851
|
-
# CreateAsyncContextTask返回参数结构体
|
852
|
-
class CreateAsyncContextTaskResponse < TencentCloud::Common::AbstractModel
|
853
|
-
# @param AsyncContextTaskId: 异步上下文任务ID
|
854
|
-
# @type AsyncContextTaskId: String
|
855
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
856
|
-
# @type RequestId: String
|
857
|
-
|
858
|
-
attr_accessor :AsyncContextTaskId, :RequestId
|
859
|
-
|
860
|
-
def initialize(asynccontexttaskid=nil, requestid=nil)
|
861
|
-
@AsyncContextTaskId = asynccontexttaskid
|
862
|
-
@RequestId = requestid
|
863
|
-
end
|
864
|
-
|
865
|
-
def deserialize(params)
|
866
|
-
@AsyncContextTaskId = params['AsyncContextTaskId']
|
867
|
-
@RequestId = params['RequestId']
|
868
|
-
end
|
869
|
-
end
|
870
|
-
|
871
|
-
# CreateAsyncSearchTask请求参数结构体
|
872
|
-
class CreateAsyncSearchTaskRequest < TencentCloud::Common::AbstractModel
|
873
|
-
# @param LogsetId: 日志集ID
|
874
|
-
# @type LogsetId: String
|
875
|
-
# @param TopicId: 日志主题ID,目前仅支持StorageType为cold的日志主题
|
876
|
-
# @type TopicId: String
|
877
|
-
# @param Query: 查询语句,语句长度最大为1024
|
878
|
-
# @type Query: String
|
879
|
-
# @param From: 要查询的日志的起始时间,Unix时间戳,单位ms
|
880
|
-
# @type From: Integer
|
881
|
-
# @param To: 要查询的日志的结束时间,Unix时间戳,单位ms
|
882
|
-
# @type To: Integer
|
883
|
-
# @param Sort: 日志扫描顺序;可选值:asc(升序)、desc(降序),默认为 desc
|
884
|
-
# @type Sort: String
|
885
|
-
|
886
|
-
attr_accessor :LogsetId, :TopicId, :Query, :From, :To, :Sort
|
887
|
-
|
888
|
-
def initialize(logsetid=nil, topicid=nil, query=nil, from=nil, to=nil, sort=nil)
|
889
|
-
@LogsetId = logsetid
|
890
|
-
@TopicId = topicid
|
891
|
-
@Query = query
|
892
|
-
@From = from
|
893
|
-
@To = to
|
894
|
-
@Sort = sort
|
895
|
-
end
|
896
|
-
|
897
|
-
def deserialize(params)
|
898
|
-
@LogsetId = params['LogsetId']
|
899
|
-
@TopicId = params['TopicId']
|
900
|
-
@Query = params['Query']
|
901
|
-
@From = params['From']
|
902
|
-
@To = params['To']
|
903
|
-
@Sort = params['Sort']
|
904
|
-
end
|
905
|
-
end
|
906
|
-
|
907
|
-
# CreateAsyncSearchTask返回参数结构体
|
908
|
-
class CreateAsyncSearchTaskResponse < TencentCloud::Common::AbstractModel
|
909
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
910
|
-
# @type RequestId: String
|
911
|
-
|
912
|
-
attr_accessor :RequestId
|
913
|
-
|
914
|
-
def initialize(requestid=nil)
|
915
|
-
@RequestId = requestid
|
916
|
-
end
|
917
|
-
|
918
|
-
def deserialize(params)
|
919
|
-
@RequestId = params['RequestId']
|
920
|
-
end
|
921
|
-
end
|
922
|
-
|
923
690
|
# CreateConfig请求参数结构体
|
924
691
|
class CreateConfigRequest < TencentCloud::Common::AbstractModel
|
925
692
|
# @param Name: 采集配置名称
|
@@ -1513,78 +1280,6 @@ module TencentCloud
|
|
1513
1280
|
end
|
1514
1281
|
end
|
1515
1282
|
|
1516
|
-
# DeleteAsyncContextTask请求参数结构体
|
1517
|
-
class DeleteAsyncContextTaskRequest < TencentCloud::Common::AbstractModel
|
1518
|
-
# @param TopicId: 日志主题ID
|
1519
|
-
# @type TopicId: String
|
1520
|
-
# @param AsyncContextTaskId: 异步上下文任务ID
|
1521
|
-
# @type AsyncContextTaskId: String
|
1522
|
-
|
1523
|
-
attr_accessor :TopicId, :AsyncContextTaskId
|
1524
|
-
|
1525
|
-
def initialize(topicid=nil, asynccontexttaskid=nil)
|
1526
|
-
@TopicId = topicid
|
1527
|
-
@AsyncContextTaskId = asynccontexttaskid
|
1528
|
-
end
|
1529
|
-
|
1530
|
-
def deserialize(params)
|
1531
|
-
@TopicId = params['TopicId']
|
1532
|
-
@AsyncContextTaskId = params['AsyncContextTaskId']
|
1533
|
-
end
|
1534
|
-
end
|
1535
|
-
|
1536
|
-
# DeleteAsyncContextTask返回参数结构体
|
1537
|
-
class DeleteAsyncContextTaskResponse < TencentCloud::Common::AbstractModel
|
1538
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1539
|
-
# @type RequestId: String
|
1540
|
-
|
1541
|
-
attr_accessor :RequestId
|
1542
|
-
|
1543
|
-
def initialize(requestid=nil)
|
1544
|
-
@RequestId = requestid
|
1545
|
-
end
|
1546
|
-
|
1547
|
-
def deserialize(params)
|
1548
|
-
@RequestId = params['RequestId']
|
1549
|
-
end
|
1550
|
-
end
|
1551
|
-
|
1552
|
-
# DeleteAsyncSearchTask请求参数结构体
|
1553
|
-
class DeleteAsyncSearchTaskRequest < TencentCloud::Common::AbstractModel
|
1554
|
-
# @param AsyncSearchTaskId: 异步检索任务ID
|
1555
|
-
# @type AsyncSearchTaskId: String
|
1556
|
-
# @param TopicId: 日志主题ID
|
1557
|
-
# @type TopicId: String
|
1558
|
-
|
1559
|
-
attr_accessor :AsyncSearchTaskId, :TopicId
|
1560
|
-
|
1561
|
-
def initialize(asyncsearchtaskid=nil, topicid=nil)
|
1562
|
-
@AsyncSearchTaskId = asyncsearchtaskid
|
1563
|
-
@TopicId = topicid
|
1564
|
-
end
|
1565
|
-
|
1566
|
-
def deserialize(params)
|
1567
|
-
@AsyncSearchTaskId = params['AsyncSearchTaskId']
|
1568
|
-
@TopicId = params['TopicId']
|
1569
|
-
end
|
1570
|
-
end
|
1571
|
-
|
1572
|
-
# DeleteAsyncSearchTask返回参数结构体
|
1573
|
-
class DeleteAsyncSearchTaskResponse < TencentCloud::Common::AbstractModel
|
1574
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1575
|
-
# @type RequestId: String
|
1576
|
-
|
1577
|
-
attr_accessor :RequestId
|
1578
|
-
|
1579
|
-
def initialize(requestid=nil)
|
1580
|
-
@RequestId = requestid
|
1581
|
-
end
|
1582
|
-
|
1583
|
-
def deserialize(params)
|
1584
|
-
@RequestId = params['RequestId']
|
1585
|
-
end
|
1586
|
-
end
|
1587
|
-
|
1588
1283
|
# DeleteConfigFromMachineGroup请求参数结构体
|
1589
1284
|
class DeleteConfigFromMachineGroupRequest < TencentCloud::Common::AbstractModel
|
1590
1285
|
# @param GroupId: 机器组ID
|
@@ -2064,298 +1759,6 @@ module TencentCloud
|
|
2064
1759
|
end
|
2065
1760
|
end
|
2066
1761
|
|
2067
|
-
# DescribeAsyncContextResult请求参数结构体
|
2068
|
-
class DescribeAsyncContextResultRequest < TencentCloud::Common::AbstractModel
|
2069
|
-
# @param AsyncContextTaskId: 异步检索任务ID
|
2070
|
-
# @type AsyncContextTaskId: String
|
2071
|
-
# @param PkgId: 日志包序号
|
2072
|
-
# @type PkgId: String
|
2073
|
-
# @param PkgLogId: 日志在日志包内的序号
|
2074
|
-
# @type PkgLogId: String
|
2075
|
-
# @param TopicId: 日志主题ID
|
2076
|
-
# @type TopicId: String
|
2077
|
-
# @param PrevLogs: 上文日志条数,默认值10
|
2078
|
-
# @type PrevLogs: Integer
|
2079
|
-
# @param NextLogs: 下文日志条数,默认值10
|
2080
|
-
# @type NextLogs: Integer
|
2081
|
-
|
2082
|
-
attr_accessor :AsyncContextTaskId, :PkgId, :PkgLogId, :TopicId, :PrevLogs, :NextLogs
|
2083
|
-
|
2084
|
-
def initialize(asynccontexttaskid=nil, pkgid=nil, pkglogid=nil, topicid=nil, prevlogs=nil, nextlogs=nil)
|
2085
|
-
@AsyncContextTaskId = asynccontexttaskid
|
2086
|
-
@PkgId = pkgid
|
2087
|
-
@PkgLogId = pkglogid
|
2088
|
-
@TopicId = topicid
|
2089
|
-
@PrevLogs = prevlogs
|
2090
|
-
@NextLogs = nextlogs
|
2091
|
-
end
|
2092
|
-
|
2093
|
-
def deserialize(params)
|
2094
|
-
@AsyncContextTaskId = params['AsyncContextTaskId']
|
2095
|
-
@PkgId = params['PkgId']
|
2096
|
-
@PkgLogId = params['PkgLogId']
|
2097
|
-
@TopicId = params['TopicId']
|
2098
|
-
@PrevLogs = params['PrevLogs']
|
2099
|
-
@NextLogs = params['NextLogs']
|
2100
|
-
end
|
2101
|
-
end
|
2102
|
-
|
2103
|
-
# DescribeAsyncContextResult返回参数结构体
|
2104
|
-
class DescribeAsyncContextResultResponse < TencentCloud::Common::AbstractModel
|
2105
|
-
# @param PrevOver: 上文日志是否已经返回
|
2106
|
-
# @type PrevOver: Boolean
|
2107
|
-
# @param NextOver: 下文日志是否已经返回
|
2108
|
-
# @type NextOver: Boolean
|
2109
|
-
# @param Results: 日志内容
|
2110
|
-
# @type Results: Array
|
2111
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2112
|
-
# @type RequestId: String
|
2113
|
-
|
2114
|
-
attr_accessor :PrevOver, :NextOver, :Results, :RequestId
|
2115
|
-
|
2116
|
-
def initialize(prevover=nil, nextover=nil, results=nil, requestid=nil)
|
2117
|
-
@PrevOver = prevover
|
2118
|
-
@NextOver = nextover
|
2119
|
-
@Results = results
|
2120
|
-
@RequestId = requestid
|
2121
|
-
end
|
2122
|
-
|
2123
|
-
def deserialize(params)
|
2124
|
-
@PrevOver = params['PrevOver']
|
2125
|
-
@NextOver = params['NextOver']
|
2126
|
-
unless params['Results'].nil?
|
2127
|
-
@Results = []
|
2128
|
-
params['Results'].each do |i|
|
2129
|
-
loginfo_tmp = LogInfo.new
|
2130
|
-
loginfo_tmp.deserialize(i)
|
2131
|
-
@Results << loginfo_tmp
|
2132
|
-
end
|
2133
|
-
end
|
2134
|
-
@RequestId = params['RequestId']
|
2135
|
-
end
|
2136
|
-
end
|
2137
|
-
|
2138
|
-
# DescribeAsyncContextTasks请求参数结构体
|
2139
|
-
class DescribeAsyncContextTasksRequest < TencentCloud::Common::AbstractModel
|
2140
|
-
# @param Offset: 分页的偏移量,默认值为0
|
2141
|
-
# @type Offset: Integer
|
2142
|
-
# @param Limit: 分页单页限制数目,默认值为20,最大值100
|
2143
|
-
# @type Limit: Integer
|
2144
|
-
# @param Filters: <br><li> topicId
|
2145
|
-
|
2146
|
-
# 按照【日志主题ID】进行过滤。
|
2147
|
-
# 类型:String
|
2148
|
-
|
2149
|
-
# 必选:否
|
2150
|
-
|
2151
|
-
# <br><li> logsetId
|
2152
|
-
|
2153
|
-
# 按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。
|
2154
|
-
|
2155
|
-
# 类型:String
|
2156
|
-
|
2157
|
-
# 必选:否
|
2158
|
-
|
2159
|
-
# 每次请求的Filters的上限为10,Filter.Values的上限为5
|
2160
|
-
# @type Filters: Array
|
2161
|
-
|
2162
|
-
attr_accessor :Offset, :Limit, :Filters
|
2163
|
-
|
2164
|
-
def initialize(offset=nil, limit=nil, filters=nil)
|
2165
|
-
@Offset = offset
|
2166
|
-
@Limit = limit
|
2167
|
-
@Filters = filters
|
2168
|
-
end
|
2169
|
-
|
2170
|
-
def deserialize(params)
|
2171
|
-
@Offset = params['Offset']
|
2172
|
-
@Limit = params['Limit']
|
2173
|
-
unless params['Filters'].nil?
|
2174
|
-
@Filters = []
|
2175
|
-
params['Filters'].each do |i|
|
2176
|
-
filter_tmp = Filter.new
|
2177
|
-
filter_tmp.deserialize(i)
|
2178
|
-
@Filters << filter_tmp
|
2179
|
-
end
|
2180
|
-
end
|
2181
|
-
end
|
2182
|
-
end
|
2183
|
-
|
2184
|
-
# DescribeAsyncContextTasks返回参数结构体
|
2185
|
-
class DescribeAsyncContextTasksResponse < TencentCloud::Common::AbstractModel
|
2186
|
-
# @param AsyncContextTasks: 异步上下文任务列表
|
2187
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2188
|
-
# @type AsyncContextTasks: Array
|
2189
|
-
# @param TotalCount: 异步上下文任务的总数
|
2190
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2191
|
-
# @type TotalCount: Integer
|
2192
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2193
|
-
# @type RequestId: String
|
2194
|
-
|
2195
|
-
attr_accessor :AsyncContextTasks, :TotalCount, :RequestId
|
2196
|
-
|
2197
|
-
def initialize(asynccontexttasks=nil, totalcount=nil, requestid=nil)
|
2198
|
-
@AsyncContextTasks = asynccontexttasks
|
2199
|
-
@TotalCount = totalcount
|
2200
|
-
@RequestId = requestid
|
2201
|
-
end
|
2202
|
-
|
2203
|
-
def deserialize(params)
|
2204
|
-
unless params['AsyncContextTasks'].nil?
|
2205
|
-
@AsyncContextTasks = []
|
2206
|
-
params['AsyncContextTasks'].each do |i|
|
2207
|
-
asynccontexttask_tmp = AsyncContextTask.new
|
2208
|
-
asynccontexttask_tmp.deserialize(i)
|
2209
|
-
@AsyncContextTasks << asynccontexttask_tmp
|
2210
|
-
end
|
2211
|
-
end
|
2212
|
-
@TotalCount = params['TotalCount']
|
2213
|
-
@RequestId = params['RequestId']
|
2214
|
-
end
|
2215
|
-
end
|
2216
|
-
|
2217
|
-
# DescribeAsyncSearchResult请求参数结构体
|
2218
|
-
class DescribeAsyncSearchResultRequest < TencentCloud::Common::AbstractModel
|
2219
|
-
# @param AsyncSearchTaskId: 异步检索任务ID
|
2220
|
-
# @type AsyncSearchTaskId: String
|
2221
|
-
# @param TopicId: 日志集ID
|
2222
|
-
# @type TopicId: String
|
2223
|
-
# @param Context: 加载更多日志时使用,透传上次返回的Context值,获取后续的日志内容
|
2224
|
-
# @type Context: String
|
2225
|
-
# @param Limit: 单次调用返回的日志条数,默认为20,最大为500
|
2226
|
-
# @type Limit: Integer
|
2227
|
-
|
2228
|
-
attr_accessor :AsyncSearchTaskId, :TopicId, :Context, :Limit
|
2229
|
-
|
2230
|
-
def initialize(asyncsearchtaskid=nil, topicid=nil, context=nil, limit=nil)
|
2231
|
-
@AsyncSearchTaskId = asyncsearchtaskid
|
2232
|
-
@TopicId = topicid
|
2233
|
-
@Context = context
|
2234
|
-
@Limit = limit
|
2235
|
-
end
|
2236
|
-
|
2237
|
-
def deserialize(params)
|
2238
|
-
@AsyncSearchTaskId = params['AsyncSearchTaskId']
|
2239
|
-
@TopicId = params['TopicId']
|
2240
|
-
@Context = params['Context']
|
2241
|
-
@Limit = params['Limit']
|
2242
|
-
end
|
2243
|
-
end
|
2244
|
-
|
2245
|
-
# DescribeAsyncSearchResult返回参数结构体
|
2246
|
-
class DescribeAsyncSearchResultResponse < TencentCloud::Common::AbstractModel
|
2247
|
-
# @param Context: 加载后续内容的Context
|
2248
|
-
# @type Context: String
|
2249
|
-
# @param ListOver: 日志查询结果是否全部返回
|
2250
|
-
# @type ListOver: Boolean
|
2251
|
-
# @param Results: 日志内容
|
2252
|
-
# @type Results: Array
|
2253
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2254
|
-
# @type RequestId: String
|
2255
|
-
|
2256
|
-
attr_accessor :Context, :ListOver, :Results, :RequestId
|
2257
|
-
|
2258
|
-
def initialize(context=nil, listover=nil, results=nil, requestid=nil)
|
2259
|
-
@Context = context
|
2260
|
-
@ListOver = listover
|
2261
|
-
@Results = results
|
2262
|
-
@RequestId = requestid
|
2263
|
-
end
|
2264
|
-
|
2265
|
-
def deserialize(params)
|
2266
|
-
@Context = params['Context']
|
2267
|
-
@ListOver = params['ListOver']
|
2268
|
-
unless params['Results'].nil?
|
2269
|
-
@Results = []
|
2270
|
-
params['Results'].each do |i|
|
2271
|
-
loginfo_tmp = LogInfo.new
|
2272
|
-
loginfo_tmp.deserialize(i)
|
2273
|
-
@Results << loginfo_tmp
|
2274
|
-
end
|
2275
|
-
end
|
2276
|
-
@RequestId = params['RequestId']
|
2277
|
-
end
|
2278
|
-
end
|
2279
|
-
|
2280
|
-
# DescribeAsyncSearchTasks请求参数结构体
|
2281
|
-
class DescribeAsyncSearchTasksRequest < TencentCloud::Common::AbstractModel
|
2282
|
-
# @param Offset: 分页的偏移量,默认值为0
|
2283
|
-
# @type Offset: Integer
|
2284
|
-
# @param Limit: 分页单页限制数目,默认值为20,最大值100
|
2285
|
-
# @type Limit: Integer
|
2286
|
-
# @param Filters: <br><li> topicId
|
2287
|
-
|
2288
|
-
# 按照【日志主题ID】进行过滤。
|
2289
|
-
# 类型:String
|
2290
|
-
|
2291
|
-
# 必选:否
|
2292
|
-
|
2293
|
-
# <br><li> logsetId
|
2294
|
-
|
2295
|
-
# 按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。
|
2296
|
-
|
2297
|
-
# 类型:String
|
2298
|
-
|
2299
|
-
# 必选:否
|
2300
|
-
|
2301
|
-
# 每次请求的Filters的上限为10,Filter.Values的上限为5
|
2302
|
-
# @type Filters: Array
|
2303
|
-
|
2304
|
-
attr_accessor :Offset, :Limit, :Filters
|
2305
|
-
|
2306
|
-
def initialize(offset=nil, limit=nil, filters=nil)
|
2307
|
-
@Offset = offset
|
2308
|
-
@Limit = limit
|
2309
|
-
@Filters = filters
|
2310
|
-
end
|
2311
|
-
|
2312
|
-
def deserialize(params)
|
2313
|
-
@Offset = params['Offset']
|
2314
|
-
@Limit = params['Limit']
|
2315
|
-
unless params['Filters'].nil?
|
2316
|
-
@Filters = []
|
2317
|
-
params['Filters'].each do |i|
|
2318
|
-
filter_tmp = Filter.new
|
2319
|
-
filter_tmp.deserialize(i)
|
2320
|
-
@Filters << filter_tmp
|
2321
|
-
end
|
2322
|
-
end
|
2323
|
-
end
|
2324
|
-
end
|
2325
|
-
|
2326
|
-
# DescribeAsyncSearchTasks返回参数结构体
|
2327
|
-
class DescribeAsyncSearchTasksResponse < TencentCloud::Common::AbstractModel
|
2328
|
-
# @param AsyncSearchTasks: 异步检索任务列表
|
2329
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2330
|
-
# @type AsyncSearchTasks: Array
|
2331
|
-
# @param TotalCount: 异步检索任务的总数
|
2332
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2333
|
-
# @type TotalCount: Integer
|
2334
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2335
|
-
# @type RequestId: String
|
2336
|
-
|
2337
|
-
attr_accessor :AsyncSearchTasks, :TotalCount, :RequestId
|
2338
|
-
|
2339
|
-
def initialize(asyncsearchtasks=nil, totalcount=nil, requestid=nil)
|
2340
|
-
@AsyncSearchTasks = asyncsearchtasks
|
2341
|
-
@TotalCount = totalcount
|
2342
|
-
@RequestId = requestid
|
2343
|
-
end
|
2344
|
-
|
2345
|
-
def deserialize(params)
|
2346
|
-
unless params['AsyncSearchTasks'].nil?
|
2347
|
-
@AsyncSearchTasks = []
|
2348
|
-
params['AsyncSearchTasks'].each do |i|
|
2349
|
-
asyncsearchtask_tmp = AsyncSearchTask.new
|
2350
|
-
asyncsearchtask_tmp.deserialize(i)
|
2351
|
-
@AsyncSearchTasks << asyncsearchtask_tmp
|
2352
|
-
end
|
2353
|
-
end
|
2354
|
-
@TotalCount = params['TotalCount']
|
2355
|
-
@RequestId = params['RequestId']
|
2356
|
-
end
|
2357
|
-
end
|
2358
|
-
|
2359
1762
|
# DescribeConfigMachineGroups请求参数结构体
|
2360
1763
|
class DescribeConfigMachineGroupsRequest < TencentCloud::Common::AbstractModel
|
2361
1764
|
# @param ConfigId: 采集配置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: 1.0.
|
4
|
+
version: 1.0.235
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|