tencentcloud-sdk-rum 3.0.505 → 3.0.506
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 +132 -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: b6f9e8b25b8cf20cf751885a5c5236c7a021d061
|
4
|
+
data.tar.gz: 1b82bdaa6f12d6c1c5e5dc8a91ad629b9d6d2ea0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 532abbbdb46c438c7543a0dfb402347e2a986dc916c07ed49acbaf6df711baa02a9a9b4853d44f4e9087562a5900bb46cc17f7ad4a229d3f44ebd73a423fe183
|
7
|
+
data.tar.gz: 5a0b36bb72780ca52c2822d187b3be38da6ce2d044e41f02bef8665f8956f590088b0a76e4437440a9fb89109087346672dc932daa06194e44a343524befbe77
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.506
|
data/lib/v20210622/client.rb
CHANGED
@@ -1124,6 +1124,54 @@ module TencentCloud
|
|
1124
1124
|
|
1125
1125
|
# 获取项目下的日志列表(实例创建的项目下的日志列表)
|
1126
1126
|
|
1127
|
+
# @param request: Request instance for DescribeRumLogExport.
|
1128
|
+
# @type request: :class:`Tencentcloud::rum::V20210622::DescribeRumLogExportRequest`
|
1129
|
+
# @rtype: :class:`Tencentcloud::rum::V20210622::DescribeRumLogExportResponse`
|
1130
|
+
def DescribeRumLogExport(request)
|
1131
|
+
body = send_request('DescribeRumLogExport', request.serialize)
|
1132
|
+
response = JSON.parse(body)
|
1133
|
+
if response['Response'].key?('Error') == false
|
1134
|
+
model = DescribeRumLogExportResponse.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
|
+
|
1149
|
+
# 获取项目下的日志导出列表
|
1150
|
+
|
1151
|
+
# @param request: Request instance for DescribeRumLogExports.
|
1152
|
+
# @type request: :class:`Tencentcloud::rum::V20210622::DescribeRumLogExportsRequest`
|
1153
|
+
# @rtype: :class:`Tencentcloud::rum::V20210622::DescribeRumLogExportsResponse`
|
1154
|
+
def DescribeRumLogExports(request)
|
1155
|
+
body = send_request('DescribeRumLogExports', request.serialize)
|
1156
|
+
response = JSON.parse(body)
|
1157
|
+
if response['Response'].key?('Error') == false
|
1158
|
+
model = DescribeRumLogExportsResponse.new
|
1159
|
+
model.deserialize(response['Response'])
|
1160
|
+
model
|
1161
|
+
else
|
1162
|
+
code = response['Response']['Error']['Code']
|
1163
|
+
message = response['Response']['Error']['Message']
|
1164
|
+
reqid = response['Response']['RequestId']
|
1165
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1166
|
+
end
|
1167
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1168
|
+
raise e
|
1169
|
+
rescue StandardError => e
|
1170
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
# 获取项目下的日志列表(实例创建的项目下的日志列表)
|
1174
|
+
|
1127
1175
|
# @param request: Request instance for DescribeRumLogList.
|
1128
1176
|
# @type request: :class:`Tencentcloud::rum::V20210622::DescribeRumLogListRequest`
|
1129
1177
|
# @rtype: :class:`Tencentcloud::rum::V20210622::DescribeRumLogListResponse`
|
@@ -1386,6 +1434,30 @@ module TencentCloud
|
|
1386
1434
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1387
1435
|
end
|
1388
1436
|
|
1437
|
+
# 恢复应用使用与上报数据
|
1438
|
+
|
1439
|
+
# @param request: Request instance for ResumeProject.
|
1440
|
+
# @type request: :class:`Tencentcloud::rum::V20210622::ResumeProjectRequest`
|
1441
|
+
# @rtype: :class:`Tencentcloud::rum::V20210622::ResumeProjectResponse`
|
1442
|
+
def ResumeProject(request)
|
1443
|
+
body = send_request('ResumeProject', request.serialize)
|
1444
|
+
response = JSON.parse(body)
|
1445
|
+
if response['Response'].key?('Error') == false
|
1446
|
+
model = ResumeProjectResponse.new
|
1447
|
+
model.deserialize(response['Response'])
|
1448
|
+
model
|
1449
|
+
else
|
1450
|
+
code = response['Response']['Error']['Code']
|
1451
|
+
message = response['Response']['Error']['Message']
|
1452
|
+
reqid = response['Response']['RequestId']
|
1453
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1454
|
+
end
|
1455
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1456
|
+
raise e
|
1457
|
+
rescue StandardError => e
|
1458
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1459
|
+
end
|
1460
|
+
|
1389
1461
|
# 停止实例
|
1390
1462
|
|
1391
1463
|
# @param request: Request instance for StopInstance.
|
data/lib/v20210622/models.rb
CHANGED
@@ -3305,6 +3305,106 @@ module TencentCloud
|
|
3305
3305
|
end
|
3306
3306
|
end
|
3307
3307
|
|
3308
|
+
# DescribeRumLogExport请求参数结构体
|
3309
|
+
class DescribeRumLogExportRequest < TencentCloud::Common::AbstractModel
|
3310
|
+
# @param Name: 导出标识name
|
3311
|
+
# @type Name: String
|
3312
|
+
# @param StartTime: 开始时间(必填)
|
3313
|
+
# @type StartTime: String
|
3314
|
+
# @param Query: 查询语句,参考控制台请求参数,语句长度最大为4096(必填)
|
3315
|
+
# @type Query: String
|
3316
|
+
# @param EndTime: 结束时间(必填)
|
3317
|
+
# @type EndTime: String
|
3318
|
+
# @param ID: 项目ID(必填)
|
3319
|
+
# @type ID: Integer
|
3320
|
+
# @param Fields: field条件
|
3321
|
+
# @type Fields: Array
|
3322
|
+
|
3323
|
+
attr_accessor :Name, :StartTime, :Query, :EndTime, :ID, :Fields
|
3324
|
+
|
3325
|
+
def initialize(name=nil, starttime=nil, query=nil, endtime=nil, id=nil, fields=nil)
|
3326
|
+
@Name = name
|
3327
|
+
@StartTime = starttime
|
3328
|
+
@Query = query
|
3329
|
+
@EndTime = endtime
|
3330
|
+
@ID = id
|
3331
|
+
@Fields = fields
|
3332
|
+
end
|
3333
|
+
|
3334
|
+
def deserialize(params)
|
3335
|
+
@Name = params['Name']
|
3336
|
+
@StartTime = params['StartTime']
|
3337
|
+
@Query = params['Query']
|
3338
|
+
@EndTime = params['EndTime']
|
3339
|
+
@ID = params['ID']
|
3340
|
+
@Fields = params['Fields']
|
3341
|
+
end
|
3342
|
+
end
|
3343
|
+
|
3344
|
+
# DescribeRumLogExport返回参数结构体
|
3345
|
+
class DescribeRumLogExportResponse < TencentCloud::Common::AbstractModel
|
3346
|
+
# @param Result: 返回字符串
|
3347
|
+
# @type Result: String
|
3348
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3349
|
+
# @type RequestId: String
|
3350
|
+
|
3351
|
+
attr_accessor :Result, :RequestId
|
3352
|
+
|
3353
|
+
def initialize(result=nil, requestid=nil)
|
3354
|
+
@Result = result
|
3355
|
+
@RequestId = requestid
|
3356
|
+
end
|
3357
|
+
|
3358
|
+
def deserialize(params)
|
3359
|
+
@Result = params['Result']
|
3360
|
+
@RequestId = params['RequestId']
|
3361
|
+
end
|
3362
|
+
end
|
3363
|
+
|
3364
|
+
# DescribeRumLogExports请求参数结构体
|
3365
|
+
class DescribeRumLogExportsRequest < TencentCloud::Common::AbstractModel
|
3366
|
+
# @param PageSize: 页面大小
|
3367
|
+
# @type PageSize: Integer
|
3368
|
+
# @param PageNum: 页数,第几页
|
3369
|
+
# @type PageNum: Integer
|
3370
|
+
# @param ID: 项目ID(必填)
|
3371
|
+
# @type ID: Integer
|
3372
|
+
|
3373
|
+
attr_accessor :PageSize, :PageNum, :ID
|
3374
|
+
|
3375
|
+
def initialize(pagesize=nil, pagenum=nil, id=nil)
|
3376
|
+
@PageSize = pagesize
|
3377
|
+
@PageNum = pagenum
|
3378
|
+
@ID = id
|
3379
|
+
end
|
3380
|
+
|
3381
|
+
def deserialize(params)
|
3382
|
+
@PageSize = params['PageSize']
|
3383
|
+
@PageNum = params['PageNum']
|
3384
|
+
@ID = params['ID']
|
3385
|
+
end
|
3386
|
+
end
|
3387
|
+
|
3388
|
+
# DescribeRumLogExports返回参数结构体
|
3389
|
+
class DescribeRumLogExportsResponse < TencentCloud::Common::AbstractModel
|
3390
|
+
# @param Result: 返回字符串
|
3391
|
+
# @type Result: String
|
3392
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3393
|
+
# @type RequestId: String
|
3394
|
+
|
3395
|
+
attr_accessor :Result, :RequestId
|
3396
|
+
|
3397
|
+
def initialize(result=nil, requestid=nil)
|
3398
|
+
@Result = result
|
3399
|
+
@RequestId = requestid
|
3400
|
+
end
|
3401
|
+
|
3402
|
+
def deserialize(params)
|
3403
|
+
@Result = params['Result']
|
3404
|
+
@RequestId = params['RequestId']
|
3405
|
+
end
|
3406
|
+
end
|
3407
|
+
|
3308
3408
|
# DescribeRumLogList请求参数结构体
|
3309
3409
|
class DescribeRumLogListRequest < TencentCloud::Common::AbstractModel
|
3310
3410
|
# @param OrderBy: 排序方式 desc asc(必填)
|
@@ -4064,6 +4164,38 @@ module TencentCloud
|
|
4064
4164
|
end
|
4065
4165
|
end
|
4066
4166
|
|
4167
|
+
# ResumeProject请求参数结构体
|
4168
|
+
class ResumeProjectRequest < TencentCloud::Common::AbstractModel
|
4169
|
+
# @param ProjectId: 项目 id
|
4170
|
+
# @type ProjectId: Integer
|
4171
|
+
|
4172
|
+
attr_accessor :ProjectId
|
4173
|
+
|
4174
|
+
def initialize(projectid=nil)
|
4175
|
+
@ProjectId = projectid
|
4176
|
+
end
|
4177
|
+
|
4178
|
+
def deserialize(params)
|
4179
|
+
@ProjectId = params['ProjectId']
|
4180
|
+
end
|
4181
|
+
end
|
4182
|
+
|
4183
|
+
# ResumeProject返回参数结构体
|
4184
|
+
class ResumeProjectResponse < TencentCloud::Common::AbstractModel
|
4185
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4186
|
+
# @type RequestId: String
|
4187
|
+
|
4188
|
+
attr_accessor :RequestId
|
4189
|
+
|
4190
|
+
def initialize(requestid=nil)
|
4191
|
+
@RequestId = requestid
|
4192
|
+
end
|
4193
|
+
|
4194
|
+
def deserialize(params)
|
4195
|
+
@RequestId = params['RequestId']
|
4196
|
+
end
|
4197
|
+
end
|
4198
|
+
|
4067
4199
|
# Rum片区信息
|
4068
4200
|
class RumAreaInfo < TencentCloud::Common::AbstractModel
|
4069
4201
|
# @param AreaId: 片区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.506
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|