tencentcloud-sdk-nodejs-intl-en 3.0.498 → 3.0.501
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.
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.501";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -2576,6 +2576,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2576
2576
|
*/
|
|
2577
2577
|
this.ResourceTags = null;
|
|
2578
2578
|
|
|
2579
|
+
/**
|
|
2580
|
+
* Database engine version
|
|
2581
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2582
|
+
* @type {string || null}
|
|
2583
|
+
*/
|
|
2584
|
+
this.DbVersionId = null;
|
|
2585
|
+
|
|
2579
2586
|
}
|
|
2580
2587
|
|
|
2581
2588
|
/**
|
|
@@ -2650,6 +2657,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2650
2657
|
this.ResourceTags.push(obj);
|
|
2651
2658
|
}
|
|
2652
2659
|
}
|
|
2660
|
+
this.DbVersionId = 'DbVersionId' in params ? params.DbVersionId : null;
|
|
2653
2661
|
|
|
2654
2662
|
}
|
|
2655
2663
|
}
|
|
@@ -31,7 +31,7 @@ class CreateTawInstanceRequest extends AbstractModel {
|
|
|
31
31
|
this.AreaId = null;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Billing
|
|
34
|
+
* Billing type (1: Pay-as-you-go).
|
|
35
35
|
* @type {number || null}
|
|
36
36
|
*/
|
|
37
37
|
this.ChargeType = null;
|
|
@@ -254,6 +254,18 @@ class DescribeDataFetchProjectRequest extends AbstractModel {
|
|
|
254
254
|
*/
|
|
255
255
|
this.Env = null;
|
|
256
256
|
|
|
257
|
+
/**
|
|
258
|
+
* HTTP status code.
|
|
259
|
+
* @type {string || null}
|
|
260
|
+
*/
|
|
261
|
+
this.Status = null;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* retcode
|
|
265
|
+
* @type {string || null}
|
|
266
|
+
*/
|
|
267
|
+
this.Ret = null;
|
|
268
|
+
|
|
257
269
|
}
|
|
258
270
|
|
|
259
271
|
/**
|
|
@@ -286,6 +298,8 @@ class DescribeDataFetchProjectRequest extends AbstractModel {
|
|
|
286
298
|
this.CostType = 'CostType' in params ? params.CostType : null;
|
|
287
299
|
this.Url = 'Url' in params ? params.Url : null;
|
|
288
300
|
this.Env = 'Env' in params ? params.Env : null;
|
|
301
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
302
|
+
this.Ret = 'Ret' in params ? params.Ret : null;
|
|
289
303
|
|
|
290
304
|
}
|
|
291
305
|
}
|
|
@@ -993,6 +1007,55 @@ class DescribeOfflineLogsRequest extends AbstractModel {
|
|
|
993
1007
|
}
|
|
994
1008
|
}
|
|
995
1009
|
|
|
1010
|
+
/**
|
|
1011
|
+
* DescribeScores request structure.
|
|
1012
|
+
* @class
|
|
1013
|
+
*/
|
|
1014
|
+
class DescribeScoresRequest extends AbstractModel {
|
|
1015
|
+
constructor(){
|
|
1016
|
+
super();
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* End time
|
|
1020
|
+
* @type {string || null}
|
|
1021
|
+
*/
|
|
1022
|
+
this.EndTime = null;
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* Start time
|
|
1026
|
+
* @type {string || null}
|
|
1027
|
+
*/
|
|
1028
|
+
this.StartTime = null;
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Project ID
|
|
1032
|
+
* @type {number || null}
|
|
1033
|
+
*/
|
|
1034
|
+
this.ID = null;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* This parameter has been disused.
|
|
1038
|
+
* @type {number || null}
|
|
1039
|
+
*/
|
|
1040
|
+
this.IsDemo = null;
|
|
1041
|
+
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* @private
|
|
1046
|
+
*/
|
|
1047
|
+
deserialize(params) {
|
|
1048
|
+
if (!params) {
|
|
1049
|
+
return;
|
|
1050
|
+
}
|
|
1051
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1052
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1053
|
+
this.ID = 'ID' in params ? params.ID : null;
|
|
1054
|
+
this.IsDemo = 'IsDemo' in params ? params.IsDemo : null;
|
|
1055
|
+
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
|
|
996
1059
|
/**
|
|
997
1060
|
* DescribeDataReportCount request structure.
|
|
998
1061
|
* @class
|
|
@@ -2522,6 +2585,18 @@ class DescribeDataFetchUrlRequest extends AbstractModel {
|
|
|
2522
2585
|
*/
|
|
2523
2586
|
this.Env = null;
|
|
2524
2587
|
|
|
2588
|
+
/**
|
|
2589
|
+
* HTTP status code.
|
|
2590
|
+
* @type {string || null}
|
|
2591
|
+
*/
|
|
2592
|
+
this.Status = null;
|
|
2593
|
+
|
|
2594
|
+
/**
|
|
2595
|
+
* retcode
|
|
2596
|
+
* @type {string || null}
|
|
2597
|
+
*/
|
|
2598
|
+
this.Ret = null;
|
|
2599
|
+
|
|
2525
2600
|
}
|
|
2526
2601
|
|
|
2527
2602
|
/**
|
|
@@ -2554,6 +2629,8 @@ class DescribeDataFetchUrlRequest extends AbstractModel {
|
|
|
2554
2629
|
this.CostType = 'CostType' in params ? params.CostType : null;
|
|
2555
2630
|
this.Url = 'Url' in params ? params.Url : null;
|
|
2556
2631
|
this.Env = 'Env' in params ? params.Env : null;
|
|
2632
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2633
|
+
this.Ret = 'Ret' in params ? params.Ret : null;
|
|
2557
2634
|
|
|
2558
2635
|
}
|
|
2559
2636
|
}
|
|
@@ -3716,6 +3793,12 @@ class DescribeDataSetUrlStatisticsRequest extends AbstractModel {
|
|
|
3716
3793
|
*/
|
|
3717
3794
|
this.Env = null;
|
|
3718
3795
|
|
|
3796
|
+
/**
|
|
3797
|
+
* The obtained package.
|
|
3798
|
+
* @type {string || null}
|
|
3799
|
+
*/
|
|
3800
|
+
this.PackageType = null;
|
|
3801
|
+
|
|
3719
3802
|
}
|
|
3720
3803
|
|
|
3721
3804
|
/**
|
|
@@ -3747,6 +3830,7 @@ class DescribeDataSetUrlStatisticsRequest extends AbstractModel {
|
|
|
3747
3830
|
this.Browser = 'Browser' in params ? params.Browser : null;
|
|
3748
3831
|
this.CostType = 'CostType' in params ? params.CostType : null;
|
|
3749
3832
|
this.Env = 'Env' in params ? params.Env : null;
|
|
3833
|
+
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
3750
3834
|
|
|
3751
3835
|
}
|
|
3752
3836
|
}
|
|
@@ -4095,6 +4179,49 @@ class DeleteReleaseFileResponse extends AbstractModel {
|
|
|
4095
4179
|
}
|
|
4096
4180
|
}
|
|
4097
4181
|
|
|
4182
|
+
/**
|
|
4183
|
+
* DescribeScores response structure.
|
|
4184
|
+
* @class
|
|
4185
|
+
*/
|
|
4186
|
+
class DescribeScoresResponse extends AbstractModel {
|
|
4187
|
+
constructor(){
|
|
4188
|
+
super();
|
|
4189
|
+
|
|
4190
|
+
/**
|
|
4191
|
+
* Array
|
|
4192
|
+
* @type {Array.<ScoreInfo> || null}
|
|
4193
|
+
*/
|
|
4194
|
+
this.ScoreSet = null;
|
|
4195
|
+
|
|
4196
|
+
/**
|
|
4197
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
4198
|
+
* @type {string || null}
|
|
4199
|
+
*/
|
|
4200
|
+
this.RequestId = null;
|
|
4201
|
+
|
|
4202
|
+
}
|
|
4203
|
+
|
|
4204
|
+
/**
|
|
4205
|
+
* @private
|
|
4206
|
+
*/
|
|
4207
|
+
deserialize(params) {
|
|
4208
|
+
if (!params) {
|
|
4209
|
+
return;
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4212
|
+
if (params.ScoreSet) {
|
|
4213
|
+
this.ScoreSet = new Array();
|
|
4214
|
+
for (let z in params.ScoreSet) {
|
|
4215
|
+
let obj = new ScoreInfo();
|
|
4216
|
+
obj.deserialize(params.ScoreSet[z]);
|
|
4217
|
+
this.ScoreSet.push(obj);
|
|
4218
|
+
}
|
|
4219
|
+
}
|
|
4220
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4221
|
+
|
|
4222
|
+
}
|
|
4223
|
+
}
|
|
4224
|
+
|
|
4098
4225
|
/**
|
|
4099
4226
|
* DescribeOfflineLogConfigs response structure.
|
|
4100
4227
|
* @class
|
|
@@ -4334,6 +4461,44 @@ class DescribeTawAreasRequest extends AbstractModel {
|
|
|
4334
4461
|
}
|
|
4335
4462
|
}
|
|
4336
4463
|
|
|
4464
|
+
/**
|
|
4465
|
+
* Key-Value pair filter for conditional filtering queries, such as filtering ID, name, status, etc.
|
|
4466
|
+
|
|
4467
|
+
· If more than one filter exists, the logical relationship between these filters is `AND`.
|
|
4468
|
+
· If multiple values exist in one filter, the logical relationship between these values is `OR`.
|
|
4469
|
+
* @class
|
|
4470
|
+
*/
|
|
4471
|
+
class Filter extends AbstractModel {
|
|
4472
|
+
constructor(){
|
|
4473
|
+
super();
|
|
4474
|
+
|
|
4475
|
+
/**
|
|
4476
|
+
* One or more filter values.
|
|
4477
|
+
* @type {Array.<string> || null}
|
|
4478
|
+
*/
|
|
4479
|
+
this.Values = null;
|
|
4480
|
+
|
|
4481
|
+
/**
|
|
4482
|
+
* Filter name.
|
|
4483
|
+
* @type {string || null}
|
|
4484
|
+
*/
|
|
4485
|
+
this.Name = null;
|
|
4486
|
+
|
|
4487
|
+
}
|
|
4488
|
+
|
|
4489
|
+
/**
|
|
4490
|
+
* @private
|
|
4491
|
+
*/
|
|
4492
|
+
deserialize(params) {
|
|
4493
|
+
if (!params) {
|
|
4494
|
+
return;
|
|
4495
|
+
}
|
|
4496
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
4497
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
4498
|
+
|
|
4499
|
+
}
|
|
4500
|
+
}
|
|
4501
|
+
|
|
4337
4502
|
/**
|
|
4338
4503
|
* DescribeDataLogUrlStatistics request structure.
|
|
4339
4504
|
* @class
|
|
@@ -5316,6 +5481,118 @@ class CreateWhitelistResponse extends AbstractModel {
|
|
|
5316
5481
|
}
|
|
5317
5482
|
}
|
|
5318
5483
|
|
|
5484
|
+
/**
|
|
5485
|
+
* Project score entity
|
|
5486
|
+
* @class
|
|
5487
|
+
*/
|
|
5488
|
+
class ScoreInfo extends AbstractModel {
|
|
5489
|
+
constructor(){
|
|
5490
|
+
super();
|
|
5491
|
+
|
|
5492
|
+
/**
|
|
5493
|
+
* duration
|
|
5494
|
+
* @type {string || null}
|
|
5495
|
+
*/
|
|
5496
|
+
this.StaticDuration = null;
|
|
5497
|
+
|
|
5498
|
+
/**
|
|
5499
|
+
* pv
|
|
5500
|
+
* @type {string || null}
|
|
5501
|
+
*/
|
|
5502
|
+
this.PagePv = null;
|
|
5503
|
+
|
|
5504
|
+
/**
|
|
5505
|
+
* Failure
|
|
5506
|
+
* @type {string || null}
|
|
5507
|
+
*/
|
|
5508
|
+
this.ApiFail = null;
|
|
5509
|
+
|
|
5510
|
+
/**
|
|
5511
|
+
* Request
|
|
5512
|
+
* @type {string || null}
|
|
5513
|
+
*/
|
|
5514
|
+
this.ApiNum = null;
|
|
5515
|
+
|
|
5516
|
+
/**
|
|
5517
|
+
* fail
|
|
5518
|
+
* @type {string || null}
|
|
5519
|
+
*/
|
|
5520
|
+
this.StaticFail = null;
|
|
5521
|
+
|
|
5522
|
+
/**
|
|
5523
|
+
* Project ID
|
|
5524
|
+
* @type {number || null}
|
|
5525
|
+
*/
|
|
5526
|
+
this.ProjectID = null;
|
|
5527
|
+
|
|
5528
|
+
/**
|
|
5529
|
+
* uv
|
|
5530
|
+
* @type {string || null}
|
|
5531
|
+
*/
|
|
5532
|
+
this.PageUv = null;
|
|
5533
|
+
|
|
5534
|
+
/**
|
|
5535
|
+
* Number of requests
|
|
5536
|
+
* @type {string || null}
|
|
5537
|
+
*/
|
|
5538
|
+
this.ApiDuration = null;
|
|
5539
|
+
|
|
5540
|
+
/**
|
|
5541
|
+
* Score
|
|
5542
|
+
* @type {string || null}
|
|
5543
|
+
*/
|
|
5544
|
+
this.Score = null;
|
|
5545
|
+
|
|
5546
|
+
/**
|
|
5547
|
+
* error
|
|
5548
|
+
* @type {string || null}
|
|
5549
|
+
*/
|
|
5550
|
+
this.PageError = null;
|
|
5551
|
+
|
|
5552
|
+
/**
|
|
5553
|
+
* num
|
|
5554
|
+
* @type {string || null}
|
|
5555
|
+
*/
|
|
5556
|
+
this.StaticNum = null;
|
|
5557
|
+
|
|
5558
|
+
/**
|
|
5559
|
+
* num
|
|
5560
|
+
* @type {number || null}
|
|
5561
|
+
*/
|
|
5562
|
+
this.RecordNum = null;
|
|
5563
|
+
|
|
5564
|
+
/**
|
|
5565
|
+
* Duration
|
|
5566
|
+
* @type {string || null}
|
|
5567
|
+
*/
|
|
5568
|
+
this.PageDuration = null;
|
|
5569
|
+
|
|
5570
|
+
}
|
|
5571
|
+
|
|
5572
|
+
/**
|
|
5573
|
+
* @private
|
|
5574
|
+
*/
|
|
5575
|
+
deserialize(params) {
|
|
5576
|
+
if (!params) {
|
|
5577
|
+
return;
|
|
5578
|
+
}
|
|
5579
|
+
this.StaticDuration = 'StaticDuration' in params ? params.StaticDuration : null;
|
|
5580
|
+
this.PagePv = 'PagePv' in params ? params.PagePv : null;
|
|
5581
|
+
this.ApiFail = 'ApiFail' in params ? params.ApiFail : null;
|
|
5582
|
+
this.ApiNum = 'ApiNum' in params ? params.ApiNum : null;
|
|
5583
|
+
this.StaticFail = 'StaticFail' in params ? params.StaticFail : null;
|
|
5584
|
+
this.ProjectID = 'ProjectID' in params ? params.ProjectID : null;
|
|
5585
|
+
this.PageUv = 'PageUv' in params ? params.PageUv : null;
|
|
5586
|
+
this.ApiDuration = 'ApiDuration' in params ? params.ApiDuration : null;
|
|
5587
|
+
this.Score = 'Score' in params ? params.Score : null;
|
|
5588
|
+
this.PageError = 'PageError' in params ? params.PageError : null;
|
|
5589
|
+
this.StaticNum = 'StaticNum' in params ? params.StaticNum : null;
|
|
5590
|
+
this.RecordNum = 'RecordNum' in params ? params.RecordNum : null;
|
|
5591
|
+
this.PageDuration = 'PageDuration' in params ? params.PageDuration : null;
|
|
5592
|
+
|
|
5593
|
+
}
|
|
5594
|
+
}
|
|
5595
|
+
|
|
5319
5596
|
/**
|
|
5320
5597
|
* DescribeDataWebVitalsPage response structure.
|
|
5321
5598
|
* @class
|
|
@@ -5351,6 +5628,63 @@ class DescribeDataWebVitalsPageResponse extends AbstractModel {
|
|
|
5351
5628
|
}
|
|
5352
5629
|
}
|
|
5353
5630
|
|
|
5631
|
+
/**
|
|
5632
|
+
* DescribeProjects request structure.
|
|
5633
|
+
* @class
|
|
5634
|
+
*/
|
|
5635
|
+
class DescribeProjectsRequest extends AbstractModel {
|
|
5636
|
+
constructor(){
|
|
5637
|
+
super();
|
|
5638
|
+
|
|
5639
|
+
/**
|
|
5640
|
+
* Number of items per page (integer)
|
|
5641
|
+
* @type {number || null}
|
|
5642
|
+
*/
|
|
5643
|
+
this.Limit = null;
|
|
5644
|
+
|
|
5645
|
+
/**
|
|
5646
|
+
* Page number (integer)
|
|
5647
|
+
* @type {number || null}
|
|
5648
|
+
*/
|
|
5649
|
+
this.Offset = null;
|
|
5650
|
+
|
|
5651
|
+
/**
|
|
5652
|
+
* Filter parameter. Pass in {"Name": "IsDemo", "Values":["1"]} for the demo mode.
|
|
5653
|
+
* @type {Array.<Filter> || null}
|
|
5654
|
+
*/
|
|
5655
|
+
this.Filters = null;
|
|
5656
|
+
|
|
5657
|
+
/**
|
|
5658
|
+
* This parameter has been disused. You need to indicate whether the demo mode is used in `Filters`.
|
|
5659
|
+
* @type {number || null}
|
|
5660
|
+
*/
|
|
5661
|
+
this.IsDemo = null;
|
|
5662
|
+
|
|
5663
|
+
}
|
|
5664
|
+
|
|
5665
|
+
/**
|
|
5666
|
+
* @private
|
|
5667
|
+
*/
|
|
5668
|
+
deserialize(params) {
|
|
5669
|
+
if (!params) {
|
|
5670
|
+
return;
|
|
5671
|
+
}
|
|
5672
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
5673
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
5674
|
+
|
|
5675
|
+
if (params.Filters) {
|
|
5676
|
+
this.Filters = new Array();
|
|
5677
|
+
for (let z in params.Filters) {
|
|
5678
|
+
let obj = new Filter();
|
|
5679
|
+
obj.deserialize(params.Filters[z]);
|
|
5680
|
+
this.Filters.push(obj);
|
|
5681
|
+
}
|
|
5682
|
+
}
|
|
5683
|
+
this.IsDemo = 'IsDemo' in params ? params.IsDemo : null;
|
|
5684
|
+
|
|
5685
|
+
}
|
|
5686
|
+
}
|
|
5687
|
+
|
|
5354
5688
|
/**
|
|
5355
5689
|
* DescribeDataEventUrl request structure.
|
|
5356
5690
|
* @class
|
|
@@ -5589,6 +5923,56 @@ class DeleteOfflineLogConfigRequest extends AbstractModel {
|
|
|
5589
5923
|
}
|
|
5590
5924
|
}
|
|
5591
5925
|
|
|
5926
|
+
/**
|
|
5927
|
+
* DescribeProjects response structure.
|
|
5928
|
+
* @class
|
|
5929
|
+
*/
|
|
5930
|
+
class DescribeProjectsResponse extends AbstractModel {
|
|
5931
|
+
constructor(){
|
|
5932
|
+
super();
|
|
5933
|
+
|
|
5934
|
+
/**
|
|
5935
|
+
* Total number of items in the list
|
|
5936
|
+
* @type {number || null}
|
|
5937
|
+
*/
|
|
5938
|
+
this.TotalCount = null;
|
|
5939
|
+
|
|
5940
|
+
/**
|
|
5941
|
+
* Project list
|
|
5942
|
+
* @type {Array.<RumProject> || null}
|
|
5943
|
+
*/
|
|
5944
|
+
this.ProjectSet = null;
|
|
5945
|
+
|
|
5946
|
+
/**
|
|
5947
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5948
|
+
* @type {string || null}
|
|
5949
|
+
*/
|
|
5950
|
+
this.RequestId = null;
|
|
5951
|
+
|
|
5952
|
+
}
|
|
5953
|
+
|
|
5954
|
+
/**
|
|
5955
|
+
* @private
|
|
5956
|
+
*/
|
|
5957
|
+
deserialize(params) {
|
|
5958
|
+
if (!params) {
|
|
5959
|
+
return;
|
|
5960
|
+
}
|
|
5961
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
5962
|
+
|
|
5963
|
+
if (params.ProjectSet) {
|
|
5964
|
+
this.ProjectSet = new Array();
|
|
5965
|
+
for (let z in params.ProjectSet) {
|
|
5966
|
+
let obj = new RumProject();
|
|
5967
|
+
obj.deserialize(params.ProjectSet[z]);
|
|
5968
|
+
this.ProjectSet.push(obj);
|
|
5969
|
+
}
|
|
5970
|
+
}
|
|
5971
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5972
|
+
|
|
5973
|
+
}
|
|
5974
|
+
}
|
|
5975
|
+
|
|
5592
5976
|
/**
|
|
5593
5977
|
* ModifyProject response structure.
|
|
5594
5978
|
* @class
|
|
@@ -6534,6 +6918,144 @@ class Whitelist extends AbstractModel {
|
|
|
6534
6918
|
}
|
|
6535
6919
|
}
|
|
6536
6920
|
|
|
6921
|
+
/**
|
|
6922
|
+
* RUM project information
|
|
6923
|
+
* @class
|
|
6924
|
+
*/
|
|
6925
|
+
class RumProject extends AbstractModel {
|
|
6926
|
+
constructor(){
|
|
6927
|
+
super();
|
|
6928
|
+
|
|
6929
|
+
/**
|
|
6930
|
+
* Project name
|
|
6931
|
+
* @type {string || null}
|
|
6932
|
+
*/
|
|
6933
|
+
this.Name = null;
|
|
6934
|
+
|
|
6935
|
+
/**
|
|
6936
|
+
* Creator ID
|
|
6937
|
+
* @type {string || null}
|
|
6938
|
+
*/
|
|
6939
|
+
this.Creator = null;
|
|
6940
|
+
|
|
6941
|
+
/**
|
|
6942
|
+
* Instance ID
|
|
6943
|
+
* @type {string || null}
|
|
6944
|
+
*/
|
|
6945
|
+
this.InstanceID = null;
|
|
6946
|
+
|
|
6947
|
+
/**
|
|
6948
|
+
* Project type
|
|
6949
|
+
* @type {string || null}
|
|
6950
|
+
*/
|
|
6951
|
+
this.Type = null;
|
|
6952
|
+
|
|
6953
|
+
/**
|
|
6954
|
+
* Creation time
|
|
6955
|
+
* @type {string || null}
|
|
6956
|
+
*/
|
|
6957
|
+
this.CreateTime = null;
|
|
6958
|
+
|
|
6959
|
+
/**
|
|
6960
|
+
* Project repository address
|
|
6961
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
6962
|
+
* @type {string || null}
|
|
6963
|
+
*/
|
|
6964
|
+
this.Repo = null;
|
|
6965
|
+
|
|
6966
|
+
/**
|
|
6967
|
+
* Project URL
|
|
6968
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
6969
|
+
* @type {string || null}
|
|
6970
|
+
*/
|
|
6971
|
+
this.URL = null;
|
|
6972
|
+
|
|
6973
|
+
/**
|
|
6974
|
+
* Project sample rate
|
|
6975
|
+
* @type {string || null}
|
|
6976
|
+
*/
|
|
6977
|
+
this.Rate = null;
|
|
6978
|
+
|
|
6979
|
+
/**
|
|
6980
|
+
* Unique project key (12 characters)
|
|
6981
|
+
* @type {string || null}
|
|
6982
|
+
*/
|
|
6983
|
+
this.Key = null;
|
|
6984
|
+
|
|
6985
|
+
/**
|
|
6986
|
+
* Whether to enable URL aggregation
|
|
6987
|
+
* @type {number || null}
|
|
6988
|
+
*/
|
|
6989
|
+
this.EnableURLGroup = null;
|
|
6990
|
+
|
|
6991
|
+
/**
|
|
6992
|
+
* Instance name
|
|
6993
|
+
* @type {string || null}
|
|
6994
|
+
*/
|
|
6995
|
+
this.InstanceName = null;
|
|
6996
|
+
|
|
6997
|
+
/**
|
|
6998
|
+
* Project ID
|
|
6999
|
+
* @type {number || null}
|
|
7000
|
+
*/
|
|
7001
|
+
this.ID = null;
|
|
7002
|
+
|
|
7003
|
+
/**
|
|
7004
|
+
* Instance key
|
|
7005
|
+
* @type {string || null}
|
|
7006
|
+
*/
|
|
7007
|
+
this.InstanceKey = null;
|
|
7008
|
+
|
|
7009
|
+
/**
|
|
7010
|
+
* Project description
|
|
7011
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
7012
|
+
* @type {string || null}
|
|
7013
|
+
*/
|
|
7014
|
+
this.Desc = null;
|
|
7015
|
+
|
|
7016
|
+
/**
|
|
7017
|
+
* Starred status. 1: yes; 0: no
|
|
7018
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
7019
|
+
* @type {number || null}
|
|
7020
|
+
*/
|
|
7021
|
+
this.IsStar = null;
|
|
7022
|
+
|
|
7023
|
+
/**
|
|
7024
|
+
* Project status (`1`: Creating; `2`: Running; `3`: Abnormal; `4`: Restarting; `5`: Stopping; `6`: Stopped; `7`: Terminating; `8`: Terminated)
|
|
7025
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
7026
|
+
* @type {number || null}
|
|
7027
|
+
*/
|
|
7028
|
+
this.ProjectStatus = null;
|
|
7029
|
+
|
|
7030
|
+
}
|
|
7031
|
+
|
|
7032
|
+
/**
|
|
7033
|
+
* @private
|
|
7034
|
+
*/
|
|
7035
|
+
deserialize(params) {
|
|
7036
|
+
if (!params) {
|
|
7037
|
+
return;
|
|
7038
|
+
}
|
|
7039
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
7040
|
+
this.Creator = 'Creator' in params ? params.Creator : null;
|
|
7041
|
+
this.InstanceID = 'InstanceID' in params ? params.InstanceID : null;
|
|
7042
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
7043
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
7044
|
+
this.Repo = 'Repo' in params ? params.Repo : null;
|
|
7045
|
+
this.URL = 'URL' in params ? params.URL : null;
|
|
7046
|
+
this.Rate = 'Rate' in params ? params.Rate : null;
|
|
7047
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
7048
|
+
this.EnableURLGroup = 'EnableURLGroup' in params ? params.EnableURLGroup : null;
|
|
7049
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
7050
|
+
this.ID = 'ID' in params ? params.ID : null;
|
|
7051
|
+
this.InstanceKey = 'InstanceKey' in params ? params.InstanceKey : null;
|
|
7052
|
+
this.Desc = 'Desc' in params ? params.Desc : null;
|
|
7053
|
+
this.IsStar = 'IsStar' in params ? params.IsStar : null;
|
|
7054
|
+
this.ProjectStatus = 'ProjectStatus' in params ? params.ProjectStatus : null;
|
|
7055
|
+
|
|
7056
|
+
}
|
|
7057
|
+
}
|
|
7058
|
+
|
|
6537
7059
|
/**
|
|
6538
7060
|
* DescribeDataSetUrlStatistics response structure.
|
|
6539
7061
|
* @class
|
|
@@ -6589,6 +7111,7 @@ module.exports = {
|
|
|
6589
7111
|
DescribePvListResponse: DescribePvListResponse,
|
|
6590
7112
|
RumUvInfo: RumUvInfo,
|
|
6591
7113
|
DescribeOfflineLogsRequest: DescribeOfflineLogsRequest,
|
|
7114
|
+
DescribeScoresRequest: DescribeScoresRequest,
|
|
6592
7115
|
DescribeDataReportCountRequest: DescribeDataReportCountRequest,
|
|
6593
7116
|
DeleteOfflineLogRecordRequest: DeleteOfflineLogRecordRequest,
|
|
6594
7117
|
DescribeReleaseFilesRequest: DescribeReleaseFilesRequest,
|
|
@@ -6644,11 +7167,13 @@ module.exports = {
|
|
|
6644
7167
|
DescribeDataLogUrlInfoResponse: DescribeDataLogUrlInfoResponse,
|
|
6645
7168
|
RumPvInfo: RumPvInfo,
|
|
6646
7169
|
DeleteReleaseFileResponse: DeleteReleaseFileResponse,
|
|
7170
|
+
DescribeScoresResponse: DescribeScoresResponse,
|
|
6647
7171
|
DescribeOfflineLogConfigsResponse: DescribeOfflineLogConfigsResponse,
|
|
6648
7172
|
DeleteLogExportResponse: DeleteLogExportResponse,
|
|
6649
7173
|
DescribeReleaseFileSignResponse: DescribeReleaseFileSignResponse,
|
|
6650
7174
|
DescribeOfflineLogsResponse: DescribeOfflineLogsResponse,
|
|
6651
7175
|
DescribeTawAreasRequest: DescribeTawAreasRequest,
|
|
7176
|
+
Filter: Filter,
|
|
6652
7177
|
DescribeDataLogUrlStatisticsRequest: DescribeDataLogUrlStatisticsRequest,
|
|
6653
7178
|
DeleteStarProjectResponse: DeleteStarProjectResponse,
|
|
6654
7179
|
DescribeDataPerformancePageResponse: DescribeDataPerformancePageResponse,
|
|
@@ -6663,10 +7188,13 @@ module.exports = {
|
|
|
6663
7188
|
CreateOfflineLogConfigRequest: CreateOfflineLogConfigRequest,
|
|
6664
7189
|
DescribeDataStaticUrlResponse: DescribeDataStaticUrlResponse,
|
|
6665
7190
|
CreateWhitelistResponse: CreateWhitelistResponse,
|
|
7191
|
+
ScoreInfo: ScoreInfo,
|
|
6666
7192
|
DescribeDataWebVitalsPageResponse: DescribeDataWebVitalsPageResponse,
|
|
7193
|
+
DescribeProjectsRequest: DescribeProjectsRequest,
|
|
6667
7194
|
DescribeDataEventUrlRequest: DescribeDataEventUrlRequest,
|
|
6668
7195
|
DescribeOfflineLogConfigsRequest: DescribeOfflineLogConfigsRequest,
|
|
6669
7196
|
DeleteOfflineLogConfigRequest: DeleteOfflineLogConfigRequest,
|
|
7197
|
+
DescribeProjectsResponse: DescribeProjectsResponse,
|
|
6670
7198
|
ModifyProjectResponse: ModifyProjectResponse,
|
|
6671
7199
|
DescribeLogExportsRequest: DescribeLogExportsRequest,
|
|
6672
7200
|
DescribeDataReportCountResponse: DescribeDataReportCountResponse,
|
|
@@ -6679,6 +7207,7 @@ module.exports = {
|
|
|
6679
7207
|
CreateLogExportResponse: CreateLogExportResponse,
|
|
6680
7208
|
DescribeDataFetchProjectResponse: DescribeDataFetchProjectResponse,
|
|
6681
7209
|
Whitelist: Whitelist,
|
|
7210
|
+
RumProject: RumProject,
|
|
6682
7211
|
DescribeDataSetUrlStatisticsResponse: DescribeDataSetUrlStatisticsResponse,
|
|
6683
7212
|
|
|
6684
7213
|
}
|
|
@@ -35,6 +35,7 @@ const CreateLogExportRequest = models.CreateLogExportRequest;
|
|
|
35
35
|
const DescribePvListResponse = models.DescribePvListResponse;
|
|
36
36
|
const RumUvInfo = models.RumUvInfo;
|
|
37
37
|
const DescribeOfflineLogsRequest = models.DescribeOfflineLogsRequest;
|
|
38
|
+
const DescribeScoresRequest = models.DescribeScoresRequest;
|
|
38
39
|
const DescribeDataReportCountRequest = models.DescribeDataReportCountRequest;
|
|
39
40
|
const DeleteOfflineLogRecordRequest = models.DeleteOfflineLogRecordRequest;
|
|
40
41
|
const DescribeReleaseFilesRequest = models.DescribeReleaseFilesRequest;
|
|
@@ -90,11 +91,13 @@ const DeleteWhitelistRequest = models.DeleteWhitelistRequest;
|
|
|
90
91
|
const DescribeDataLogUrlInfoResponse = models.DescribeDataLogUrlInfoResponse;
|
|
91
92
|
const RumPvInfo = models.RumPvInfo;
|
|
92
93
|
const DeleteReleaseFileResponse = models.DeleteReleaseFileResponse;
|
|
94
|
+
const DescribeScoresResponse = models.DescribeScoresResponse;
|
|
93
95
|
const DescribeOfflineLogConfigsResponse = models.DescribeOfflineLogConfigsResponse;
|
|
94
96
|
const DeleteLogExportResponse = models.DeleteLogExportResponse;
|
|
95
97
|
const DescribeReleaseFileSignResponse = models.DescribeReleaseFileSignResponse;
|
|
96
98
|
const DescribeOfflineLogsResponse = models.DescribeOfflineLogsResponse;
|
|
97
99
|
const DescribeTawAreasRequest = models.DescribeTawAreasRequest;
|
|
100
|
+
const Filter = models.Filter;
|
|
98
101
|
const DescribeDataLogUrlStatisticsRequest = models.DescribeDataLogUrlStatisticsRequest;
|
|
99
102
|
const DeleteStarProjectResponse = models.DeleteStarProjectResponse;
|
|
100
103
|
const DescribeDataPerformancePageResponse = models.DescribeDataPerformancePageResponse;
|
|
@@ -109,10 +112,13 @@ const DescribeReleaseFilesResponse = models.DescribeReleaseFilesResponse;
|
|
|
109
112
|
const CreateOfflineLogConfigRequest = models.CreateOfflineLogConfigRequest;
|
|
110
113
|
const DescribeDataStaticUrlResponse = models.DescribeDataStaticUrlResponse;
|
|
111
114
|
const CreateWhitelistResponse = models.CreateWhitelistResponse;
|
|
115
|
+
const ScoreInfo = models.ScoreInfo;
|
|
112
116
|
const DescribeDataWebVitalsPageResponse = models.DescribeDataWebVitalsPageResponse;
|
|
117
|
+
const DescribeProjectsRequest = models.DescribeProjectsRequest;
|
|
113
118
|
const DescribeDataEventUrlRequest = models.DescribeDataEventUrlRequest;
|
|
114
119
|
const DescribeOfflineLogConfigsRequest = models.DescribeOfflineLogConfigsRequest;
|
|
115
120
|
const DeleteOfflineLogConfigRequest = models.DeleteOfflineLogConfigRequest;
|
|
121
|
+
const DescribeProjectsResponse = models.DescribeProjectsResponse;
|
|
116
122
|
const ModifyProjectResponse = models.ModifyProjectResponse;
|
|
117
123
|
const DescribeLogExportsRequest = models.DescribeLogExportsRequest;
|
|
118
124
|
const DescribeDataReportCountResponse = models.DescribeDataReportCountResponse;
|
|
@@ -125,6 +131,7 @@ const CreateReleaseFileResponse = models.CreateReleaseFileResponse;
|
|
|
125
131
|
const CreateLogExportResponse = models.CreateLogExportResponse;
|
|
126
132
|
const DescribeDataFetchProjectResponse = models.DescribeDataFetchProjectResponse;
|
|
127
133
|
const Whitelist = models.Whitelist;
|
|
134
|
+
const RumProject = models.RumProject;
|
|
128
135
|
const DescribeDataSetUrlStatisticsResponse = models.DescribeDataSetUrlStatisticsResponse;
|
|
129
136
|
|
|
130
137
|
|
|
@@ -160,6 +167,17 @@ class RumClient extends AbstractClient {
|
|
|
160
167
|
this.request("CreateReleaseFile", req, resp, cb);
|
|
161
168
|
}
|
|
162
169
|
|
|
170
|
+
/**
|
|
171
|
+
* This API is used to get the list of homepage scores.
|
|
172
|
+
* @param {DescribeScoresRequest} req
|
|
173
|
+
* @param {function(string, DescribeScoresResponse):void} cb
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
DescribeScores(req, cb) {
|
|
177
|
+
let resp = new DescribeScoresResponse();
|
|
178
|
+
this.request("DescribeScores", req, resp, cb);
|
|
179
|
+
}
|
|
180
|
+
|
|
163
181
|
/**
|
|
164
182
|
* This API is used to get the PerformancePage information.
|
|
165
183
|
* @param {DescribeDataPerformancePageRequest} req
|
|
@@ -445,14 +463,14 @@ Default API request rate limit: 20 requests/sec.
|
|
|
445
463
|
}
|
|
446
464
|
|
|
447
465
|
/**
|
|
448
|
-
* This API is used to
|
|
449
|
-
* @param {
|
|
450
|
-
* @param {function(string,
|
|
466
|
+
* This API is used to get the list of projects (under teams created by an instance).
|
|
467
|
+
* @param {DescribeProjectsRequest} req
|
|
468
|
+
* @param {function(string, DescribeProjectsResponse):void} cb
|
|
451
469
|
* @public
|
|
452
470
|
*/
|
|
453
|
-
|
|
454
|
-
let resp = new
|
|
455
|
-
this.request("
|
|
471
|
+
DescribeProjects(req, cb) {
|
|
472
|
+
let resp = new DescribeProjectsResponse();
|
|
473
|
+
this.request("DescribeProjects", req, resp, cb);
|
|
456
474
|
}
|
|
457
475
|
|
|
458
476
|
/**
|
|
@@ -499,6 +517,17 @@ Default API request rate limit: 20 requests/sec.
|
|
|
499
517
|
this.request("StopInstance", req, resp, cb);
|
|
500
518
|
}
|
|
501
519
|
|
|
520
|
+
/**
|
|
521
|
+
* This API is used to modify a RUM project.
|
|
522
|
+
* @param {ModifyProjectRequest} req
|
|
523
|
+
* @param {function(string, ModifyProjectResponse):void} cb
|
|
524
|
+
* @public
|
|
525
|
+
*/
|
|
526
|
+
ModifyProject(req, cb) {
|
|
527
|
+
let resp = new ModifyProjectResponse();
|
|
528
|
+
this.request("ModifyProject", req, resp, cb);
|
|
529
|
+
}
|
|
530
|
+
|
|
502
531
|
/**
|
|
503
532
|
* This API is used to get the list of sourcemap files of a project.
|
|
504
533
|
* @param {DescribeReleaseFilesRequest} req
|