tencentcloud-sdk-rum 3.0.754 → 3.0.755
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/v20210622/client.rb +0 -108
- data/lib/v20210622/models.rb +0 -268
- 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: d0f8cf2c29cd5f51ec10ac1df8fbd8660ee0a2f1
|
4
|
+
data.tar.gz: 7bc505f67934be3ba83c35b03ec90d7e4e294ce8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35ac85dd6cba7683078615814ddc341db52f94d684eecc6c8d49c285a88e11470ec61064b06397df297044476ba5f30de3f9c838939352a46f2981af2d61f8f4
|
7
|
+
data.tar.gz: 5fba5a27df79d2b345d20b29c2d1211f32391727e8dc3e4fd78d57446fa9109b90047df7ee51e42f4c11c34a05a2a255215156ede5e69119e1410804da44c3c1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.755
|
data/lib/v20210622/client.rb
CHANGED
@@ -29,34 +29,6 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
-
# 接口请求域名: rum.tencentcloudapi.com 。
|
33
|
-
|
34
|
-
# 本接口用于创建日志下载任务
|
35
|
-
|
36
|
-
# 默认接口请求频率限制:20次/秒。
|
37
|
-
|
38
|
-
# @param request: Request instance for CreateLogExport.
|
39
|
-
# @type request: :class:`Tencentcloud::rum::V20210622::CreateLogExportRequest`
|
40
|
-
# @rtype: :class:`Tencentcloud::rum::V20210622::CreateLogExportResponse`
|
41
|
-
def CreateLogExport(request)
|
42
|
-
body = send_request('CreateLogExport', request.serialize)
|
43
|
-
response = JSON.parse(body)
|
44
|
-
if response['Response'].key?('Error') == false
|
45
|
-
model = CreateLogExportResponse.new
|
46
|
-
model.deserialize(response['Response'])
|
47
|
-
model
|
48
|
-
else
|
49
|
-
code = response['Response']['Error']['Code']
|
50
|
-
message = response['Response']['Error']['Message']
|
51
|
-
reqid = response['Response']['RequestId']
|
52
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
53
|
-
end
|
54
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
55
|
-
raise e
|
56
|
-
rescue StandardError => e
|
57
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
58
|
-
end
|
59
|
-
|
60
32
|
# 创建 RUM 应用(归属于某个团队)
|
61
33
|
|
62
34
|
# @param request: Request instance for CreateProject.
|
@@ -201,34 +173,6 @@ module TencentCloud
|
|
201
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
202
174
|
end
|
203
175
|
|
204
|
-
# 接口请求域名: rum.tencentcloudapi.com 。
|
205
|
-
|
206
|
-
# 本接口用于删除日志下载任务
|
207
|
-
|
208
|
-
# 默认接口请求频率限制:20次/秒。
|
209
|
-
|
210
|
-
# @param request: Request instance for DeleteLogExport.
|
211
|
-
# @type request: :class:`Tencentcloud::rum::V20210622::DeleteLogExportRequest`
|
212
|
-
# @rtype: :class:`Tencentcloud::rum::V20210622::DeleteLogExportResponse`
|
213
|
-
def DeleteLogExport(request)
|
214
|
-
body = send_request('DeleteLogExport', request.serialize)
|
215
|
-
response = JSON.parse(body)
|
216
|
-
if response['Response'].key?('Error') == false
|
217
|
-
model = DeleteLogExportResponse.new
|
218
|
-
model.deserialize(response['Response'])
|
219
|
-
model
|
220
|
-
else
|
221
|
-
code = response['Response']['Error']['Code']
|
222
|
-
message = response['Response']['Error']['Message']
|
223
|
-
reqid = response['Response']['RequestId']
|
224
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
225
|
-
end
|
226
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
227
|
-
raise e
|
228
|
-
rescue StandardError => e
|
229
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
230
|
-
end
|
231
|
-
|
232
176
|
# 删除给定的 rum 的项目
|
233
177
|
|
234
178
|
# @param request: Request instance for DeleteProject.
|
@@ -878,58 +822,6 @@ module TencentCloud
|
|
878
822
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
879
823
|
end
|
880
824
|
|
881
|
-
# 接口请求域名: rum.tencentcloudapi.com 。
|
882
|
-
|
883
|
-
# 本接口用于获取日志下载任务列表
|
884
|
-
|
885
|
-
# 默认接口请求频率限制:20次/秒
|
886
|
-
|
887
|
-
# @param request: Request instance for DescribeLogExports.
|
888
|
-
# @type request: :class:`Tencentcloud::rum::V20210622::DescribeLogExportsRequest`
|
889
|
-
# @rtype: :class:`Tencentcloud::rum::V20210622::DescribeLogExportsResponse`
|
890
|
-
def DescribeLogExports(request)
|
891
|
-
body = send_request('DescribeLogExports', request.serialize)
|
892
|
-
response = JSON.parse(body)
|
893
|
-
if response['Response'].key?('Error') == false
|
894
|
-
model = DescribeLogExportsResponse.new
|
895
|
-
model.deserialize(response['Response'])
|
896
|
-
model
|
897
|
-
else
|
898
|
-
code = response['Response']['Error']['Code']
|
899
|
-
message = response['Response']['Error']['Message']
|
900
|
-
reqid = response['Response']['RequestId']
|
901
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
902
|
-
end
|
903
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
904
|
-
raise e
|
905
|
-
rescue StandardError => e
|
906
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
907
|
-
end
|
908
|
-
|
909
|
-
# (已下线,请用DescribeRumLogList)
|
910
|
-
|
911
|
-
# @param request: Request instance for DescribeLogList.
|
912
|
-
# @type request: :class:`Tencentcloud::rum::V20210622::DescribeLogListRequest`
|
913
|
-
# @rtype: :class:`Tencentcloud::rum::V20210622::DescribeLogListResponse`
|
914
|
-
def DescribeLogList(request)
|
915
|
-
body = send_request('DescribeLogList', request.serialize)
|
916
|
-
response = JSON.parse(body)
|
917
|
-
if response['Response'].key?('Error') == false
|
918
|
-
model = DescribeLogListResponse.new
|
919
|
-
model.deserialize(response['Response'])
|
920
|
-
model
|
921
|
-
else
|
922
|
-
code = response['Response']['Error']['Code']
|
923
|
-
message = response['Response']['Error']['Message']
|
924
|
-
reqid = response['Response']['RequestId']
|
925
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
926
|
-
end
|
927
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
928
|
-
raise e
|
929
|
-
rescue StandardError => e
|
930
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
931
|
-
end
|
932
|
-
|
933
825
|
# 获取应用上报抽样信息
|
934
826
|
|
935
827
|
# @param request: Request instance for DescribeProjectLimits.
|
data/lib/v20210622/models.rb
CHANGED
@@ -17,66 +17,6 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Rum
|
19
19
|
module V20210622
|
20
|
-
# CreateLogExport请求参数结构体
|
21
|
-
class CreateLogExportRequest < TencentCloud::Common::AbstractModel
|
22
|
-
# @param ID: 项目ID
|
23
|
-
# @type ID: Integer
|
24
|
-
# @param StartTime: 日志导出起始时间
|
25
|
-
# @type StartTime: String
|
26
|
-
# @param EndTime: 日志导出结束时间
|
27
|
-
# @type EndTime: String
|
28
|
-
# @param Query: 日志导出检索语句
|
29
|
-
# @type Query: String
|
30
|
-
# @param Count: 日志导出数量, 最大值1000万
|
31
|
-
# @type Count: Integer
|
32
|
-
# @param Order: 日志导出时间排序。desc,asc,默认为desc
|
33
|
-
# @type Order: String
|
34
|
-
# @param Format: 日志导出数据格式。json,csv,默认为json
|
35
|
-
# @type Format: String
|
36
|
-
|
37
|
-
attr_accessor :ID, :StartTime, :EndTime, :Query, :Count, :Order, :Format
|
38
|
-
|
39
|
-
def initialize(id=nil, starttime=nil, endtime=nil, query=nil, count=nil, order=nil, format=nil)
|
40
|
-
@ID = id
|
41
|
-
@StartTime = starttime
|
42
|
-
@EndTime = endtime
|
43
|
-
@Query = query
|
44
|
-
@Count = count
|
45
|
-
@Order = order
|
46
|
-
@Format = format
|
47
|
-
end
|
48
|
-
|
49
|
-
def deserialize(params)
|
50
|
-
@ID = params['ID']
|
51
|
-
@StartTime = params['StartTime']
|
52
|
-
@EndTime = params['EndTime']
|
53
|
-
@Query = params['Query']
|
54
|
-
@Count = params['Count']
|
55
|
-
@Order = params['Order']
|
56
|
-
@Format = params['Format']
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
# CreateLogExport返回参数结构体
|
61
|
-
class CreateLogExportResponse < TencentCloud::Common::AbstractModel
|
62
|
-
# @param ExportID: 日志导出ID
|
63
|
-
# @type ExportID: String
|
64
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
65
|
-
# @type RequestId: String
|
66
|
-
|
67
|
-
attr_accessor :ExportID, :RequestId
|
68
|
-
|
69
|
-
def initialize(exportid=nil, requestid=nil)
|
70
|
-
@ExportID = exportid
|
71
|
-
@RequestId = requestid
|
72
|
-
end
|
73
|
-
|
74
|
-
def deserialize(params)
|
75
|
-
@ExportID = params['ExportID']
|
76
|
-
@RequestId = params['RequestId']
|
77
|
-
end
|
78
|
-
end
|
79
|
-
|
80
20
|
# CreateProject请求参数结构体
|
81
21
|
class CreateProjectRequest < TencentCloud::Common::AbstractModel
|
82
22
|
# @param Name: 创建的项目名(不为空且最长为 200)
|
@@ -408,47 +348,6 @@ module TencentCloud
|
|
408
348
|
end
|
409
349
|
end
|
410
350
|
|
411
|
-
# DeleteLogExport请求参数结构体
|
412
|
-
class DeleteLogExportRequest < TencentCloud::Common::AbstractModel
|
413
|
-
# @param ID: 项目ID
|
414
|
-
# @type ID: Integer
|
415
|
-
# @param ExportID: 日志导出ID
|
416
|
-
# @type ExportID: String
|
417
|
-
|
418
|
-
attr_accessor :ID, :ExportID
|
419
|
-
|
420
|
-
def initialize(id=nil, exportid=nil)
|
421
|
-
@ID = id
|
422
|
-
@ExportID = exportid
|
423
|
-
end
|
424
|
-
|
425
|
-
def deserialize(params)
|
426
|
-
@ID = params['ID']
|
427
|
-
@ExportID = params['ExportID']
|
428
|
-
end
|
429
|
-
end
|
430
|
-
|
431
|
-
# DeleteLogExport返回参数结构体
|
432
|
-
class DeleteLogExportResponse < TencentCloud::Common::AbstractModel
|
433
|
-
# @param Msg: 是否成功,成功则为success;失败则直接返回Error,不返回该参数
|
434
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
435
|
-
# @type Msg: String
|
436
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
437
|
-
# @type RequestId: String
|
438
|
-
|
439
|
-
attr_accessor :Msg, :RequestId
|
440
|
-
|
441
|
-
def initialize(msg=nil, requestid=nil)
|
442
|
-
@Msg = msg
|
443
|
-
@RequestId = requestid
|
444
|
-
end
|
445
|
-
|
446
|
-
def deserialize(params)
|
447
|
-
@Msg = params['Msg']
|
448
|
-
@RequestId = params['RequestId']
|
449
|
-
end
|
450
|
-
end
|
451
|
-
|
452
351
|
# DeleteProject请求参数结构体
|
453
352
|
class DeleteProjectRequest < TencentCloud::Common::AbstractModel
|
454
353
|
# @param ID: 需要删除的项目 ID
|
@@ -2919,113 +2818,6 @@ module TencentCloud
|
|
2919
2818
|
end
|
2920
2819
|
end
|
2921
2820
|
|
2922
|
-
# DescribeLogExports请求参数结构体
|
2923
|
-
class DescribeLogExportsRequest < TencentCloud::Common::AbstractModel
|
2924
|
-
# @param ID: 项目ID
|
2925
|
-
# @type ID: Integer
|
2926
|
-
|
2927
|
-
attr_accessor :ID
|
2928
|
-
|
2929
|
-
def initialize(id=nil)
|
2930
|
-
@ID = id
|
2931
|
-
end
|
2932
|
-
|
2933
|
-
def deserialize(params)
|
2934
|
-
@ID = params['ID']
|
2935
|
-
end
|
2936
|
-
end
|
2937
|
-
|
2938
|
-
# DescribeLogExports返回参数结构体
|
2939
|
-
class DescribeLogExportsResponse < TencentCloud::Common::AbstractModel
|
2940
|
-
# @param LogExportSet: 日志导出记录列表
|
2941
|
-
# @type LogExportSet: Array
|
2942
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2943
|
-
# @type RequestId: String
|
2944
|
-
|
2945
|
-
attr_accessor :LogExportSet, :RequestId
|
2946
|
-
|
2947
|
-
def initialize(logexportset=nil, requestid=nil)
|
2948
|
-
@LogExportSet = logexportset
|
2949
|
-
@RequestId = requestid
|
2950
|
-
end
|
2951
|
-
|
2952
|
-
def deserialize(params)
|
2953
|
-
unless params['LogExportSet'].nil?
|
2954
|
-
@LogExportSet = []
|
2955
|
-
params['LogExportSet'].each do |i|
|
2956
|
-
logexport_tmp = LogExport.new
|
2957
|
-
logexport_tmp.deserialize(i)
|
2958
|
-
@LogExportSet << logexport_tmp
|
2959
|
-
end
|
2960
|
-
end
|
2961
|
-
@RequestId = params['RequestId']
|
2962
|
-
end
|
2963
|
-
end
|
2964
|
-
|
2965
|
-
# DescribeLogList请求参数结构体
|
2966
|
-
class DescribeLogListRequest < TencentCloud::Common::AbstractModel
|
2967
|
-
# @param Sort: 排序方式 desc asc(必填)
|
2968
|
-
# @type Sort: String
|
2969
|
-
# @param ActionType: searchlog histogram(必填)
|
2970
|
-
# @type ActionType: String
|
2971
|
-
# @param ID: 项目ID(必填)
|
2972
|
-
# @type ID: Integer
|
2973
|
-
# @param StartTime: 开始时间(必填)
|
2974
|
-
# @type StartTime: String
|
2975
|
-
# @param Limit: 单次查询返回的原始日志条数,最大值为100(必填)
|
2976
|
-
# @type Limit: Integer
|
2977
|
-
# @param Context: 上下文,加载更多日志时使用,透传上次返回的 Context 值,获取后续的日志内容,总计最多可获取1万条原始日志。过期时间1小时
|
2978
|
-
# @type Context: String
|
2979
|
-
# @param Query: 查询语句,参考控制台请求参数,语句长度最大为4096(必填)例:"id:120001 AND type:\"log\""
|
2980
|
-
# @type Query: String
|
2981
|
-
# @param EndTime: 结束时间(必填)
|
2982
|
-
# @type EndTime: String
|
2983
|
-
|
2984
|
-
attr_accessor :Sort, :ActionType, :ID, :StartTime, :Limit, :Context, :Query, :EndTime
|
2985
|
-
|
2986
|
-
def initialize(sort=nil, actiontype=nil, id=nil, starttime=nil, limit=nil, context=nil, query=nil, endtime=nil)
|
2987
|
-
@Sort = sort
|
2988
|
-
@ActionType = actiontype
|
2989
|
-
@ID = id
|
2990
|
-
@StartTime = starttime
|
2991
|
-
@Limit = limit
|
2992
|
-
@Context = context
|
2993
|
-
@Query = query
|
2994
|
-
@EndTime = endtime
|
2995
|
-
end
|
2996
|
-
|
2997
|
-
def deserialize(params)
|
2998
|
-
@Sort = params['Sort']
|
2999
|
-
@ActionType = params['ActionType']
|
3000
|
-
@ID = params['ID']
|
3001
|
-
@StartTime = params['StartTime']
|
3002
|
-
@Limit = params['Limit']
|
3003
|
-
@Context = params['Context']
|
3004
|
-
@Query = params['Query']
|
3005
|
-
@EndTime = params['EndTime']
|
3006
|
-
end
|
3007
|
-
end
|
3008
|
-
|
3009
|
-
# DescribeLogList返回参数结构体
|
3010
|
-
class DescribeLogListResponse < TencentCloud::Common::AbstractModel
|
3011
|
-
# @param Result: 返回字符串
|
3012
|
-
# @type Result: String
|
3013
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3014
|
-
# @type RequestId: String
|
3015
|
-
|
3016
|
-
attr_accessor :Result, :RequestId
|
3017
|
-
|
3018
|
-
def initialize(result=nil, requestid=nil)
|
3019
|
-
@Result = result
|
3020
|
-
@RequestId = requestid
|
3021
|
-
end
|
3022
|
-
|
3023
|
-
def deserialize(params)
|
3024
|
-
@Result = params['Result']
|
3025
|
-
@RequestId = params['RequestId']
|
3026
|
-
end
|
3027
|
-
end
|
3028
|
-
|
3029
2821
|
# DescribeProjectLimits请求参数结构体
|
3030
2822
|
class DescribeProjectLimitsRequest < TencentCloud::Common::AbstractModel
|
3031
2823
|
# @param ProjectID: 项目ID
|
@@ -3895,66 +3687,6 @@ module TencentCloud
|
|
3895
3687
|
end
|
3896
3688
|
end
|
3897
3689
|
|
3898
|
-
# 日志导出记录
|
3899
|
-
class LogExport < TencentCloud::Common::AbstractModel
|
3900
|
-
# @param CosPath: 日志导出路径
|
3901
|
-
# @type CosPath: String
|
3902
|
-
# @param Count: 日志导出数量
|
3903
|
-
# @type Count: Integer
|
3904
|
-
# @param CreateTime: 日志导出任务创建时间
|
3905
|
-
# @type CreateTime: String
|
3906
|
-
# @param ExportID: 日志导出任务ID
|
3907
|
-
# @type ExportID: String
|
3908
|
-
# @param FileName: 日志导出文件名
|
3909
|
-
# @type FileName: String
|
3910
|
-
# @param FileSize: 日志文件大小
|
3911
|
-
# @type FileSize: Integer
|
3912
|
-
# @param Format: 日志导出格式
|
3913
|
-
# @type Format: String
|
3914
|
-
# @param Order: 日志导出时间排序
|
3915
|
-
# @type Order: String
|
3916
|
-
# @param Query: 日志导出查询语句
|
3917
|
-
# @type Query: String
|
3918
|
-
# @param StartTime: 日志导出起始时间
|
3919
|
-
# @type StartTime: String
|
3920
|
-
# @param EndTime: 日志导出结束时间
|
3921
|
-
# @type EndTime: String
|
3922
|
-
# @param Status: 日志下载状态。Queuing:导出正在排队中,Processing:导出正在进行中,Complete:导出完成,Failed:导出失败,Expired:日志导出已过期(三天有效期)。
|
3923
|
-
# @type Status: String
|
3924
|
-
|
3925
|
-
attr_accessor :CosPath, :Count, :CreateTime, :ExportID, :FileName, :FileSize, :Format, :Order, :Query, :StartTime, :EndTime, :Status
|
3926
|
-
|
3927
|
-
def initialize(cospath=nil, count=nil, createtime=nil, exportid=nil, filename=nil, filesize=nil, format=nil, order=nil, query=nil, starttime=nil, endtime=nil, status=nil)
|
3928
|
-
@CosPath = cospath
|
3929
|
-
@Count = count
|
3930
|
-
@CreateTime = createtime
|
3931
|
-
@ExportID = exportid
|
3932
|
-
@FileName = filename
|
3933
|
-
@FileSize = filesize
|
3934
|
-
@Format = format
|
3935
|
-
@Order = order
|
3936
|
-
@Query = query
|
3937
|
-
@StartTime = starttime
|
3938
|
-
@EndTime = endtime
|
3939
|
-
@Status = status
|
3940
|
-
end
|
3941
|
-
|
3942
|
-
def deserialize(params)
|
3943
|
-
@CosPath = params['CosPath']
|
3944
|
-
@Count = params['Count']
|
3945
|
-
@CreateTime = params['CreateTime']
|
3946
|
-
@ExportID = params['ExportID']
|
3947
|
-
@FileName = params['FileName']
|
3948
|
-
@FileSize = params['FileSize']
|
3949
|
-
@Format = params['Format']
|
3950
|
-
@Order = params['Order']
|
3951
|
-
@Query = params['Query']
|
3952
|
-
@StartTime = params['StartTime']
|
3953
|
-
@EndTime = params['EndTime']
|
3954
|
-
@Status = params['Status']
|
3955
|
-
end
|
3956
|
-
end
|
3957
|
-
|
3958
3690
|
# ModifyInstance请求参数结构体
|
3959
3691
|
class ModifyInstanceRequest < TencentCloud::Common::AbstractModel
|
3960
3692
|
# @param InstanceId: 要修改的实例id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-rum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.755
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|