tencentcloud-sdk-rum 3.0.477 → 3.0.479
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 +72 -0
- data/lib/v20210622/models.rb +144 -0
- 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: a72f457a3dbb6ea911eb381b7840ae1de8c5b9df
|
4
|
+
data.tar.gz: 18715bddf35efbfd15d000d6da9b718326997166
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f856bcd572b0093741b96fcee075f4698d7b27701d88ccc7a9135f6e62e133202f6967fde1cedef57c395359bd568d9543f640efb5e9f42d70b38bb2e81370bf
|
7
|
+
data.tar.gz: 63e0c1c5ea0166b5e928dc9a97ea4e2ae15de3f0aeb039f45a73cc1d62eb2f22709094890aedcd1e183012363c050a68c54d37a86dd3f490cf625a2b9b87d5ed
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.479
|
data/lib/v20210622/client.rb
CHANGED
@@ -1098,6 +1098,54 @@ module TencentCloud
|
|
1098
1098
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1099
1099
|
end
|
1100
1100
|
|
1101
|
+
# 获取项目下的日志列表(实例创建的项目下的日志列表)
|
1102
|
+
|
1103
|
+
# @param request: Request instance for DescribeRumLogList.
|
1104
|
+
# @type request: :class:`Tencentcloud::rum::V20210622::DescribeRumLogListRequest`
|
1105
|
+
# @rtype: :class:`Tencentcloud::rum::V20210622::DescribeRumLogListResponse`
|
1106
|
+
def DescribeRumLogList(request)
|
1107
|
+
body = send_request('DescribeRumLogList', request.serialize)
|
1108
|
+
response = JSON.parse(body)
|
1109
|
+
if response['Response'].key?('Error') == false
|
1110
|
+
model = DescribeRumLogListResponse.new
|
1111
|
+
model.deserialize(response['Response'])
|
1112
|
+
model
|
1113
|
+
else
|
1114
|
+
code = response['Response']['Error']['Code']
|
1115
|
+
message = response['Response']['Error']['Message']
|
1116
|
+
reqid = response['Response']['RequestId']
|
1117
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1118
|
+
end
|
1119
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1120
|
+
raise e
|
1121
|
+
rescue StandardError => e
|
1122
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
# 获取项目下的日志列表,分钟级
|
1126
|
+
|
1127
|
+
# @param request: Request instance for DescribeRumStatsLogList.
|
1128
|
+
# @type request: :class:`Tencentcloud::rum::V20210622::DescribeRumStatsLogListRequest`
|
1129
|
+
# @rtype: :class:`Tencentcloud::rum::V20210622::DescribeRumStatsLogListResponse`
|
1130
|
+
def DescribeRumStatsLogList(request)
|
1131
|
+
body = send_request('DescribeRumStatsLogList', request.serialize)
|
1132
|
+
response = JSON.parse(body)
|
1133
|
+
if response['Response'].key?('Error') == false
|
1134
|
+
model = DescribeRumStatsLogListResponse.new
|
1135
|
+
model.deserialize(response['Response'])
|
1136
|
+
model
|
1137
|
+
else
|
1138
|
+
code = response['Response']['Error']['Code']
|
1139
|
+
message = response['Response']['Error']['Message']
|
1140
|
+
reqid = response['Response']['RequestId']
|
1141
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1142
|
+
end
|
1143
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1144
|
+
raise e
|
1145
|
+
rescue StandardError => e
|
1146
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1147
|
+
end
|
1148
|
+
|
1101
1149
|
# 获取首页分数列表
|
1102
1150
|
|
1103
1151
|
# @param request: Request instance for DescribeScores.
|
@@ -1338,6 +1386,30 @@ module TencentCloud
|
|
1338
1386
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1339
1387
|
end
|
1340
1388
|
|
1389
|
+
# 停止项目使用与上报数据
|
1390
|
+
|
1391
|
+
# @param request: Request instance for StopProject.
|
1392
|
+
# @type request: :class:`Tencentcloud::rum::V20210622::StopProjectRequest`
|
1393
|
+
# @rtype: :class:`Tencentcloud::rum::V20210622::StopProjectResponse`
|
1394
|
+
def StopProject(request)
|
1395
|
+
body = send_request('StopProject', request.serialize)
|
1396
|
+
response = JSON.parse(body)
|
1397
|
+
if response['Response'].key?('Error') == false
|
1398
|
+
model = StopProjectResponse.new
|
1399
|
+
model.deserialize(response['Response'])
|
1400
|
+
model
|
1401
|
+
else
|
1402
|
+
code = response['Response']['Error']['Code']
|
1403
|
+
message = response['Response']['Error']['Message']
|
1404
|
+
reqid = response['Response']['RequestId']
|
1405
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1406
|
+
end
|
1407
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1408
|
+
raise e
|
1409
|
+
rescue StandardError => e
|
1410
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1411
|
+
end
|
1412
|
+
|
1341
1413
|
|
1342
1414
|
end
|
1343
1415
|
end
|
data/lib/v20210622/models.rb
CHANGED
@@ -3241,6 +3241,118 @@ module TencentCloud
|
|
3241
3241
|
end
|
3242
3242
|
end
|
3243
3243
|
|
3244
|
+
# DescribeRumLogList请求参数结构体
|
3245
|
+
class DescribeRumLogListRequest < TencentCloud::Common::AbstractModel
|
3246
|
+
# @param OrderBy: 排序方式 desc asc(必填)
|
3247
|
+
# @type OrderBy: String
|
3248
|
+
# @param StartTime: 开始时间(必填)
|
3249
|
+
# @type StartTime: String
|
3250
|
+
# @param Limit: 单次查询返回的原始日志条数,最大值为100(必填)
|
3251
|
+
# @type Limit: Integer
|
3252
|
+
# @param Page: 页数,第几页
|
3253
|
+
# @type Page: Integer
|
3254
|
+
# @param Query: 查询语句,参考控制台请求参数,语句长度最大为4096(必填)
|
3255
|
+
# @type Query: String
|
3256
|
+
# @param EndTime: 结束时间(必填)
|
3257
|
+
# @type EndTime: String
|
3258
|
+
# @param ID: 项目ID(必填)
|
3259
|
+
# @type ID: Integer
|
3260
|
+
|
3261
|
+
attr_accessor :OrderBy, :StartTime, :Limit, :Page, :Query, :EndTime, :ID
|
3262
|
+
|
3263
|
+
def initialize(orderby=nil, starttime=nil, limit=nil, page=nil, query=nil, endtime=nil, id=nil)
|
3264
|
+
@OrderBy = orderby
|
3265
|
+
@StartTime = starttime
|
3266
|
+
@Limit = limit
|
3267
|
+
@Page = page
|
3268
|
+
@Query = query
|
3269
|
+
@EndTime = endtime
|
3270
|
+
@ID = id
|
3271
|
+
end
|
3272
|
+
|
3273
|
+
def deserialize(params)
|
3274
|
+
@OrderBy = params['OrderBy']
|
3275
|
+
@StartTime = params['StartTime']
|
3276
|
+
@Limit = params['Limit']
|
3277
|
+
@Page = params['Page']
|
3278
|
+
@Query = params['Query']
|
3279
|
+
@EndTime = params['EndTime']
|
3280
|
+
@ID = params['ID']
|
3281
|
+
end
|
3282
|
+
end
|
3283
|
+
|
3284
|
+
# DescribeRumLogList返回参数结构体
|
3285
|
+
class DescribeRumLogListResponse < TencentCloud::Common::AbstractModel
|
3286
|
+
# @param Result: 返回字符串
|
3287
|
+
# @type Result: String
|
3288
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3289
|
+
# @type RequestId: String
|
3290
|
+
|
3291
|
+
attr_accessor :Result, :RequestId
|
3292
|
+
|
3293
|
+
def initialize(result=nil, requestid=nil)
|
3294
|
+
@Result = result
|
3295
|
+
@RequestId = requestid
|
3296
|
+
end
|
3297
|
+
|
3298
|
+
def deserialize(params)
|
3299
|
+
@Result = params['Result']
|
3300
|
+
@RequestId = params['RequestId']
|
3301
|
+
end
|
3302
|
+
end
|
3303
|
+
|
3304
|
+
# DescribeRumStatsLogList请求参数结构体
|
3305
|
+
class DescribeRumStatsLogListRequest < TencentCloud::Common::AbstractModel
|
3306
|
+
# @param StartTime: 开始时间(必填)
|
3307
|
+
# @type StartTime: String
|
3308
|
+
# @param Limit: 单次查询返回的原始日志条数,最大值为100(必填)
|
3309
|
+
# @type Limit: Integer
|
3310
|
+
# @param Query: 查询语句,参考控制台请求参数,语句长度最大为4096(必填)
|
3311
|
+
# @type Query: String
|
3312
|
+
# @param EndTime: 结束时间(必填)
|
3313
|
+
# @type EndTime: String
|
3314
|
+
# @param ID: 项目ID(必填)
|
3315
|
+
# @type ID: Integer
|
3316
|
+
|
3317
|
+
attr_accessor :StartTime, :Limit, :Query, :EndTime, :ID
|
3318
|
+
|
3319
|
+
def initialize(starttime=nil, limit=nil, query=nil, endtime=nil, id=nil)
|
3320
|
+
@StartTime = starttime
|
3321
|
+
@Limit = limit
|
3322
|
+
@Query = query
|
3323
|
+
@EndTime = endtime
|
3324
|
+
@ID = id
|
3325
|
+
end
|
3326
|
+
|
3327
|
+
def deserialize(params)
|
3328
|
+
@StartTime = params['StartTime']
|
3329
|
+
@Limit = params['Limit']
|
3330
|
+
@Query = params['Query']
|
3331
|
+
@EndTime = params['EndTime']
|
3332
|
+
@ID = params['ID']
|
3333
|
+
end
|
3334
|
+
end
|
3335
|
+
|
3336
|
+
# DescribeRumStatsLogList返回参数结构体
|
3337
|
+
class DescribeRumStatsLogListResponse < TencentCloud::Common::AbstractModel
|
3338
|
+
# @param Result: 返回字符串
|
3339
|
+
# @type Result: String
|
3340
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3341
|
+
# @type RequestId: String
|
3342
|
+
|
3343
|
+
attr_accessor :Result, :RequestId
|
3344
|
+
|
3345
|
+
def initialize(result=nil, requestid=nil)
|
3346
|
+
@Result = result
|
3347
|
+
@RequestId = requestid
|
3348
|
+
end
|
3349
|
+
|
3350
|
+
def deserialize(params)
|
3351
|
+
@Result = params['Result']
|
3352
|
+
@RequestId = params['RequestId']
|
3353
|
+
end
|
3354
|
+
end
|
3355
|
+
|
3244
3356
|
# DescribeScores请求参数结构体
|
3245
3357
|
class DescribeScoresRequest < TencentCloud::Common::AbstractModel
|
3246
3358
|
# @param EndTime: 结束时间
|
@@ -4221,6 +4333,38 @@ module TencentCloud
|
|
4221
4333
|
end
|
4222
4334
|
end
|
4223
4335
|
|
4336
|
+
# StopProject请求参数结构体
|
4337
|
+
class StopProjectRequest < TencentCloud::Common::AbstractModel
|
4338
|
+
# @param ProjectId: 项目 id
|
4339
|
+
# @type ProjectId: Integer
|
4340
|
+
|
4341
|
+
attr_accessor :ProjectId
|
4342
|
+
|
4343
|
+
def initialize(projectid=nil)
|
4344
|
+
@ProjectId = projectid
|
4345
|
+
end
|
4346
|
+
|
4347
|
+
def deserialize(params)
|
4348
|
+
@ProjectId = params['ProjectId']
|
4349
|
+
end
|
4350
|
+
end
|
4351
|
+
|
4352
|
+
# StopProject返回参数结构体
|
4353
|
+
class StopProjectResponse < TencentCloud::Common::AbstractModel
|
4354
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4355
|
+
# @type RequestId: String
|
4356
|
+
|
4357
|
+
attr_accessor :RequestId
|
4358
|
+
|
4359
|
+
def initialize(requestid=nil)
|
4360
|
+
@RequestId = requestid
|
4361
|
+
end
|
4362
|
+
|
4363
|
+
def deserialize(params)
|
4364
|
+
@RequestId = params['RequestId']
|
4365
|
+
end
|
4366
|
+
end
|
4367
|
+
|
4224
4368
|
# 标签
|
4225
4369
|
class Tag < TencentCloud::Common::AbstractModel
|
4226
4370
|
# @param Key: 标签key
|
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.479
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|